@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

:root {
  --pink: #b83268;
  --pink-hover: #9c2153;
  --pink-light: #fff0f5;
  --deep: #382331;
  --muted: #756571;
  --soft: #fce7ef;
  --bg: #fff8fb;
  --line: #eedde5;
  --gold: #c7a574;
  --star: #f59e0b;
  --shadow-sm: 0 4px 14px rgba(184, 50, 104, 0.08);
  --shadow-md: 0 10px 28px rgba(184, 50, 104, 0.12);
  --shadow-lg: 0 18px 45px rgba(56, 35, 49, 0.14);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--deep);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--pink); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 20px; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 20px; font-size: 16px; line-height: 1.8; }
em { font-weight: 500; font-style: italic; color: var(--pink); }

small { display: block; color: var(--muted); font-size: 13px; line-height: 1.6; }
.small { font-size: 13px; }
.muted { color: var(--muted); }

.eyebrow {
  display: block;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Announcement Bar */
.announcement {
  background: linear-gradient(90deg, #9b2455, var(--pink), #9b2455);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  letter-spacing: 0.5px;
}
.announcement span { margin-left: 15px; color: #ffd6e6; }

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 251, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  gap: 25px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.brand {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--pink);
  white-space: nowrap;
}
.brand span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-top: 5px;
  color: var(--muted);
}
.desktop-nav, .header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a, .header-actions a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}
.desktop-nav a:hover, .header-actions a:hover {
  color: var(--pink);
}
.header-actions { gap: 20px; }
.header-actions > a:first-child { font-size: 26px; line-height: 1; }
.cart-link b {
  background: var(--pink);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 10px;
  margin-left: 6px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.3);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--deep);
}
.mobile-nav {
  background: white;
  padding: 20px 6%;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  z-index: 49;
  box-shadow: var(--shadow-md);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #f8e8f0;
}
.mobile-nav a:last-child { border-bottom: 0; }

.main { min-height: 60vh; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 640px;
  padding: 60px 6% 50px;
  overflow: hidden;
  background: radial-gradient(ellipse at 88% 50%, #f9d8e6 0%, rgba(255,248,251,0) 65%);
  align-items: center;
  gap: 40px;
}
.hero-copy { padding: 20px 0; z-index: 2; }
.hero h1 {
  font-size: clamp(42px, 4.6vw, 68px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 35px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 45px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero-note span { font-size: 24px; color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--pink);
  background: var(--pink);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.22s, box-shadow 0.22s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(184, 50, 104, 0.2);
}
.btn:hover {
  color: #ffffff;
  background: var(--pink-hover);
  box-shadow: 0 8px 25px rgba(184, 50, 104, 0.36);
  transform: translateY(-2px);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-outline {
  background: transparent;
  color: var(--pink);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--soft);
  color: var(--pink);
  box-shadow: var(--shadow-sm);
}
.btn-full { width: 100%; }
.text-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--pink);
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap;
  cursor: pointer;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.hero-visual > img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 35px rgba(184, 50, 104, 0.15));
}
.orbit {
  position: absolute;
  border: 1px solid rgba(216, 168, 187, 0.6);
  border-radius: 50%;
  width: 95%;
  height: 75%;
  transform: rotate(-22deg);
}
.orbit-two {
  width: 75%;
  height: 98%;
  transform: rotate(35deg);
  border-color: rgba(255, 255, 255, 0.7);
}
.floating-label {
  position: absolute;
  top: 12%;
  right: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 2.2px;
  z-index: 3;
  color: var(--pink);
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}
.hero-sticker {
  position: absolute;
  z-index: 4;
  bottom: 8%;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 22px 32px;
  border-radius: 70% 60% 70% 55%;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 16px 36px rgba(184, 50, 104, 0.15);
  border: 1px solid var(--line);
  line-height: 1.4;
}
.hero-sticker em { font-family: var(--serif); font-size: 24px; color: var(--pink); }

/* Beauty Band */
.beauty-band {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  background: var(--soft);
  padding: 20px 5%;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Sections */
.section { padding: 90px 6%; }
.section.compact { padding-top: 40px; padding-bottom: 60px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 40px;
}
.section-heading h2 { margin: 0; }

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.category-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fce7ef 100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink);
}
.category-card > span {
  font-family: var(--serif);
  font-size: 38px;
  color: #c496aa;
  font-weight: 600;
}
.category-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 18px 0 10px;
}
.category-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.category-card b {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
}

/* Products */
.soft-section { background: #ffffff; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  row-gap: 45px;
}
.product-card {
  min-width: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); }

.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f7eff3;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.product-card:hover .product-image {
  box-shadow: var(--shadow-md);
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image img { transform: scale(1.06); }

.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 50, 104, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.tag.bundle-tag { background: #fff0f5; color: #b83268; border-color: #f1b3cb; }
.tag.sale-tag { background: #b83268; color: white; border-color: transparent; }
.tag.feat-tag { background: #fff8e7; color: #b45309; border-color: #fcd34d; }

.product-info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.product-meta .eyebrow { margin-bottom: 0; font-size: 11px; }
.rating-stars { color: var(--star); font-size: 13px; letter-spacing: 1.5px; }

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--deep);
  transition: color 0.2s;
}
.product-info h3:hover { color: var(--pink); }

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.price-box strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
}
.price-box del {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.circle-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--deep);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
.circle-btn:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 50, 104, 0.3);
}

/* Story section */
.story-section {
  padding: 95px 6%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 75px;
  align-items: center;
  background: var(--soft);
}
.story-art {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 45% 45% 14px 14px;
  background: radial-gradient(ellipse at 45% 60%, #fff8fb, #efc1d5);
  border: 1px solid #e9bcd0;
  box-shadow: var(--shadow-md);
}
.story-art > span {
  font-family: var(--serif);
  font-size: 110px;
  color: var(--pink);
  font-style: italic;
  transform: rotate(-10deg);
}
.story-art small {
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 20px;
  color: var(--muted);
}
.story-section h2 { font-size: 36px; }
.story-section p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 30px; }

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-card:hover { transform: translateY(-6px); }
.article-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.article-card h3, .article-card h2 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.4;
  margin: 0 0 12px;
}
.article-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Service Strip */
.service-strip {
  padding: 40px 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  gap: 30px;
  background: white;
}
.service-item b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 6px;
}
.service-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Footer */
footer:not(.site-footer):not(.post-article-footer) {
  padding: 70px 6% 30px;
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr;
  gap: 40px;
  background: #f9edf3;
  font-size: 14px;
}
footer:not(.site-footer):not(.post-article-footer) .brand { font-size: 26px; }
footer:not(.site-footer):not(.post-article-footer) h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--deep);
}
footer:not(.site-footer):not(.post-article-footer) a:not(.brand) {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--muted);
}
footer:not(.site-footer):not(.post-article-footer) a:not(.brand):hover { color: var(--pink); }
footer:not(.site-footer):not(.post-article-footer) p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0;
  line-height: 1.6;
}
.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* Page Headings & Forms */
.page-heading {
  padding: 65px 6% 40px;
  text-align: center;
  background: linear-gradient(110deg, var(--bg) 0%, var(--soft) 100%);
}
.page-heading h1 { font-size: 44px; margin-bottom: 14px; }
.page-heading p {
  max-width: 680px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 16px;
}
.page-heading .button-row { justify-content: center; }

.filter-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.filter-bar input { flex: 1; min-width: 200px; }
.filter-bar select { width: auto; }

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-family: var(--sans); font-size: 22px; font-weight: 700; }
.panel h3 { font-size: 18px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack > h2, .stack > h3, .stack > p { margin-bottom: 0; }

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  color: var(--deep);
  font-size: 15px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.15);
}
textarea { resize: vertical; min-height: 110px; font-family: inherit; }
input[readonly] { background: #f8f4f6; }
input[type="checkbox"] { width: 18px; min-height: 18px; accent-color: var(--pink); }
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
}
.check-label input { flex-shrink: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.button-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.button-row input, .button-row select { width: auto; flex: 1; min-width: 120px; }

.notice {
  padding: 18px 25px;
  margin: 20px 6%;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  position: relative;
}
.notice button[data-dismiss] {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 22px;
}
.notice.success { background: #f0f8f4; border-color: #c5e4d4; color: #275340; font-weight: 500; }
.notice.error { background: #fff0f0; border-color: #f0c6c6; color: #8c2d2d; font-weight: 500; }
.field-error { color: #b83268; font-size: 13px; font-weight: 500; }

.empty-state {
  padding: 70px 25px;
  text-align: center;
  grid-column: 1 / -1;
  color: var(--muted);
}
.empty-state h2 { color: var(--deep); font-size: 24px; margin-bottom: 12px; }

.table-wrap {
  overflow-x: auto;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
th {
  background: #fcf4f8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--deep);
}
tr:last-child td { border-bottom: 0; }
td > a { color: var(--pink); font-weight: 600; }
td small { margin-top: 4px; }
table .btn { padding: 10px 16px; font-size: 13px; }
.qty { max-width: 90px; }
.cart-summary { max-width: 480px; margin-left: auto; margin-top: 35px; }

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-row b { white-space: nowrap; font-size: 15px; }
.summary-row.total {
  font-size: 18px;
  color: var(--pink);
  margin-bottom: 20px;
  border-top: 2px solid var(--line);
  padding-top: 20px;
}
.summary-row.total b { font-size: 22px; }
.sticky { position: sticky; top: 110px; }

.payment-option {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 20px;
  border-radius: 8px;
  font-size: 14px;
}
.payment-option p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.qr-panel { text-align: center; padding-top: 25px; }
.qr-panel > img {
  margin: 0 auto 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.qr-panel p { font-size: 15px; margin-bottom: 12px; }
.qr-panel button:not(.btn) {
  border: 0;
  background: var(--soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}
.paid-banner {
  padding: 28px;
  background: #eef7f1;
  border-radius: 10px;
  color: #275340;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #c5e4d4;
}

.auth-panel { max-width: 500px; margin: 40px auto 70px; }
.auth-panel .button-row { font-size: 13px; justify-content: space-between; }
.breadcrumb { padding: 25px 6%; color: var(--muted); font-size: 13px; }

/* Product detail */
.product-detail {
  padding: 10px 6% 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.detail-image {
  background: var(--soft);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.detail-image img {
  width: 100%;
  aspect-ratio: 6/7;
  object-fit: contain;
}
.thumbnails { display: flex; gap: 14px; margin-top: 18px; }
.thumbnails button {
  border: 1px solid var(--line);
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  width: 85px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumbnails button:hover { border-color: var(--pink); }

.detail-copy { padding-top: 10px; }
.detail-copy h1 { font-size: 40px; margin-bottom: 12px; }
.detail-copy > p { font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.detail-copy .detail-price {
  font-size: 32px;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 8px;
}
.detail-copy label input[type="number"] { max-width: 120px; }
.detail-benefits {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 24px 0;
}

.narrow { max-width: 980px; margin: 0 auto; }
.prose { font-size: 16px; line-height: 1.9; }
.prose h2 { margin-top: 45px; font-size: 30px; }
.prose h3 { margin-top: 30px; font-size: 22px; }
.preserve { white-space: pre-line; }

.review { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.review span { display: block; color: var(--pink); font-size: 13px; font-weight: 600; margin-top: 4px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 35px 0; font-size: 14px; }
.pagination a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; }

.badge {
  display: inline-block;
  background: var(--soft);
  color: var(--pink);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Order timeline */
.order-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 25px 0 35px;
  gap: 10px;
}
.order-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line);
  z-index: 1;
}
.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}
.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}
.step-item.active .step-circle {
  border-color: var(--pink);
  background: var(--pink);
  color: white;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.35);
}
.step-item.completed .step-circle {
  border-color: var(--pink);
  background: var(--soft);
  color: var(--pink);
}
.step-item.active span { font-weight: 700; color: var(--pink); }

.bundle-box {
  background: var(--soft);
  border: 1px solid #ecd0dc;
  border-radius: 10px;
  padding: 22px 26px;
  margin: 22px 0;
}
.bundle-box .eyebrow { margin-bottom: 12px; }
.bundle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.bundle-list li { display: flex; align-items: center; gap: 8px; }

/* Admin */
.admin-body { background: #f9f5f7; }
.admin-nav {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 250px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 30px 24px;
  overflow-y: auto;
  z-index: 40;
}
.admin-nav .brand { font-size: 26px; }
.admin-nav nav {
  display: flex;
  flex-direction: column;
  margin: 35px 0 20px;
  gap: 6px;
}
.admin-nav nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 8px;
}
.admin-nav nav a.active, .admin-nav nav a:hover {
  background: var(--soft);
  color: var(--pink);
  font-weight: 600;
}
.admin-nav > a:last-child { font-size: 13px; font-weight: 600; }
.admin-main {
  margin-left: 250px;
  padding: 40px;
  min-height: 100vh;
}
.admin-main h1 { font: 700 30px var(--sans); margin: 0 0 25px; }
.admin-main h2 { font: 600 22px var(--sans); }
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.admin-heading h1 { margin: 0; }
.admin-main .notice { margin: 15px 0 25px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-grid .panel { padding: 25px; }
.metric-grid span { font-size: 13px; font-weight: 600; color: var(--muted); }
.metric-grid strong {
  display: block;
  font-size: 26px;
  margin-top: 10px;
  color: var(--pink);
  font-weight: 700;
}

.table-product { display: flex; align-items: center; gap: 14px; min-width: 240px; }
.table-product img { border-radius: 6px; object-fit: cover; }
.editor-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 28px; }
.variant-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.upload-area {
  border: 2px dashed var(--line);
  padding: 30px;
  text-align: center;
  background: var(--bg);
  border-radius: 8px;
}
.image-preview { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.image-item {
  max-width: 110px;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 8px;
  cursor: move;
  background: white;
}
.image-item button { background: none; border: 0; color: var(--pink); font-size: 12px; }
.image-item img { width: 100%; height: 110px; object-fit: contain; }
.media-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 15px;
  margin-top: 20px;
  max-height: 350px;
  overflow: auto;
}
.funnel-row {
  display: grid;
  grid-template-columns: 180px 1fr 70px;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  margin: 18px 0;
}
.funnel-row > div { height: 22px; background: var(--soft); border-radius: 6px; overflow: hidden; }
.funnel-row i { display: block; background: var(--pink); height: 100%; border-radius: 6px; }

/* Dialogs */
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 35px;
  background: white;
  color: var(--deep);
  max-width: 90vw;
  box-shadow: var(--shadow-lg);
}
dialog::backdrop { background: rgba(56, 35, 49, 0.45); backdrop-filter: blur(4px); }
dialog > [data-close-dialog] {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
}
dialog > [data-close-dialog]:hover { color: var(--pink); }
#image-zoom img { max-height: 80vh; object-fit: contain; }
#main-product-image { cursor: zoom-in; }
#cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100vh;
  max-height: 100vh;
  width: 450px;
  max-width: 95vw;
  border-radius: 0;
  padding: 30px;
  padding-top: 65px;
  overflow-y: auto;
}
#cart-drawer[open] { animation: drawer-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* Animations */
.reveal { opacity: 1; }
.js-motion .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-motion .reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }

/* Responsive Media Queries */
@media (min-width: 1600px) {
  .main, .service-strip, footer:not(.site-footer):not(.post-article-footer) { max-width: 1600px; margin: auto; }
  .hero { min-height: 750px; }
}

@media (max-width: 1100px) {
  .header { padding: 18px 4%; gap: 15px; }
  .desktop-nav { gap: 18px; }
  .hero { padding-left: 4%; padding-right: 4%; min-height: 580px; }
  .product-grid { gap: 20px; }
  .category-grid { gap: 18px; }
  .service-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .admin-main { margin-left: 210px; padding: 25px; }
  .admin-nav { width: 210px; }
}

@media (max-width: 850px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header { padding: 16px 5%; }
  .brand { font-size: 25px; }
  .hero { grid-template-columns: 1fr; padding-top: 30px; min-height: auto; }
  .hero-visual { min-height: 380px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .category-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; gap: 35px; padding: 60px 5%; }
  .story-art { min-height: 280px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  .checkout-grid > aside { order: -1; }
  .sticky { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; padding: 15px 5% 35px; }
  .service-strip { grid-template-columns: 1fr 1fr; gap: 20px; padding: 30px 5%; }
  footer:not(.site-footer):not(.post-article-footer) { grid-template-columns: 1fr 1fr; padding: 50px 5% 25px; gap: 30px; }
  footer:not(.site-footer):not(.post-article-footer) > div:first-child { grid-column: 1 / -1; }
  .admin-nav { position: static; width: 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-nav nav { flex-direction: row; flex-wrap: wrap; }
  .admin-main { margin-left: 0; padding: 20px; }
}

@media (max-width: 550px) {
  body { font-size: 15px; }
  .announcement { font-size: 12px; padding: 8px 12px; }
  .brand { font-size: 22px; }
  .brand span { font-size: 9px; letter-spacing: 1.8px; }
  .hero h1 { font-size: 38px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; row-gap: 25px; }
  .product-info h3 { font-size: 14px; min-height: 42px; }
  .price-box strong { font-size: 16px; }
  .article-grid { grid-template-columns: 1fr; }
  .service-strip { grid-template-columns: 1fr; text-align: left; }
  footer:not(.site-footer):not(.post-article-footer) { grid-template-columns: 1fr; gap: 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .order-steps { gap: 4px; }
  .step-circle { width: 30px; height: 30px; font-size: 12px; }
  .step-item { font-size: 11px; }
  .detail-copy h1 { font-size: 30px; }
  .detail-copy .detail-price { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js-motion .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .announcement, .admin-nav, footer:not(.site-footer):not(.post-article-footer), .service-strip, form, button {
    display: none !important;
  }
  .admin-main { margin: 0; padding: 0; }
  body { background: white; }
  .panel { border: 0; padding: 10px; box-shadow: none; }
}

/* Narrow prose & Page styling */
.narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--deep);
  padding: 30px 20px 80px;
}
.prose h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--deep);
  margin: 40px 0 18px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
  line-height: 1.35;
}
.prose h3 {
  font-family: var(--sans);
  font-size: 21px;
  font-weight: 700;
  color: var(--pink);
  margin: 32px 0 14px;
}
.prose p {
  margin-bottom: 20px;
  color: #3b2832;
  font-size: 16px;
  line-height: 1.85;
}
.prose blockquote {
  border-left: 4px solid var(--pink);
  background: linear-gradient(135deg, #fff7fa 0%, #fdf0f5 100%);
  padding: 20px 26px;
  border-radius: 0 14px 14px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--deep);
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.prose blockquote strong {
  color: var(--pink);
}
.prose ul, .prose ol {
  padding-left: 26px;
  margin-bottom: 24px;
}
.prose li {
  margin-bottom: 12px;
  line-height: 1.75;
  color: #3b2832;
}
.prose hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 36px 0;
}
.prose a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.prose a:hover {
  color: #8c1d4a;
}
.prose strong, .prose b {
  color: var(--deep);
  font-weight: 700;
}

/* Founder Profile Card */
.founder-card-wrapper {
  margin-top: -30px;
  margin-bottom: 30px;
  padding: 0 20px;
}
.founder-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdf6f9 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(184, 50, 104, 0.08);
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.founder-avatar {
  flex-shrink: 0;
  text-align: center;
}
.avatar-circle {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b83268 0%, #8c1d4a 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(184, 50, 104, 0.25);
  border: 4px solid white;
}
.founder-badge {
  display: inline-block;
  background: var(--pink);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.founder-info {
  flex: 1;
}
.founder-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.founder-name-row h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0;
  color: var(--deep);
}
.verified-tag {
  background: #eef7f1;
  color: #275340;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #c5e4d4;
}
.founder-role {
  color: var(--pink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.founder-motto {
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: var(--deep);
  background: rgba(184, 50, 104, 0.06);
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 18px;
}
.founder-stats {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.stat-box {
  background: white;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}
.stat-box b {
  font-size: 18px;
  color: var(--pink);
  font-weight: 800;
}
.stat-box span {
  font-size: 12px;
  color: var(--muted);
}
.founder-channels {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.channel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  background: white;
  border: 1px solid var(--line);
  color: var(--deep);
}
.channel-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--pink);
  border-color: var(--pink);
}
.channel-btn svg {
  flex-shrink: 0;
}
.channel-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.channel-btn small {
  color: var(--muted);
  font-size: 11px;
}
.channel-btn.fb-creator svg { color: #1877f2; }
.channel-btn.fb-dealer svg { color: #b83268; }
.channel-btn.zalo-btn span strong { color: #0068ff; }

.social-badges-row {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}
.badge-link:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    padding: 24px;
    align-items: center;
    text-align: center;
  }
  .founder-name-row {
    justify-content: center;
  }
  .founder-stats {
    justify-content: center;
  }
  .founder-channels {
    justify-content: center;
  }
}


/* ==========================================================================
   THẮM NGUYỄN DOVA — LUXURY BEAUTY DESIGN SYSTEM & THEME
   Upgraded UI: Buttons, Form Controls, Select Dropdowns, Loading & Polish
   ========================================================================== */

:root {
  /* Brand Palette: Royal Petal Rose & Warm Plum */
  --pink: #b83268;
  --pink-dark: #8e1a49;
  --pink-hover: #9c2153;
  --pink-light: #fff2f7;
  --pink-soft: #fbe6ef;
  --pink-glow: rgba(184, 50, 104, 0.28);
  --pink-glow-strong: rgba(184, 50, 104, 0.45);
  
  /* Gradients */
  --pink-gradient: linear-gradient(135deg, #cc2d6e 0%, #a11f56 100%);
  --pink-gradient-hover: linear-gradient(135deg, #d83b7c 0%, #aa255d 100%);
  --pink-gradient-soft: linear-gradient(135deg, #fff7fa 0%, #fdeaf2 100%);
  --gold-gradient: linear-gradient(135deg, #f5d488 0%, #c99a4c 100%);
  
  /* Accents & Neutrals */
  --deep: #2c1a26;
  --text-main: #331f2c;
  --muted: #6f5d6a;
  --line: #ebd7e2;
  --line-focus: #dcaec5;
  --bg: #fff9fc;
  --card-bg: #ffffff;
  --gold: #d4af37;
  --star: #f59e0b;
  --success: #15803d;
  --error: #be123c;
  
  /* Elevated Shadows */
  --shadow-xs: 0 1px 3px rgba(56, 35, 49, 0.05);
  --shadow-sm: 0 4px 14px rgba(184, 50, 104, 0.08);
  --shadow-md: 0 10px 28px rgba(184, 50, 104, 0.12), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 45px rgba(56, 35, 49, 0.11), 0 4px 14px rgba(184, 50, 104, 0.08);
  --shadow-card: 0 8px 30px rgba(56, 35, 49, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 18px 42px rgba(184, 50, 104, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-btn: 0 5px 18px rgba(184, 50, 104, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --shadow-btn-hover: 0 10px 28px rgba(184, 50, 104, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  
  /* Fonts */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Smoothing & Global Styles */
body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.75;
}

::selection {
  background: #f6cddd;
  color: #382331;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #fdf5f8;
}
::-webkit-scrollbar-thumb {
  background: #e3bdcf;
  border-radius: 6px;
  border: 2px solid #fdf5f8;
}
::-webkit-scrollbar-thumb:hover {
  background: #cf9db5;
}

/* Accessibility Focus Ring */
a, button, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid rgba(184, 50, 104, 0.45);
  outline-offset: 3px;
}

/* ==========================================================================
   TOP PROGRESS BAR / PAGE LOADER
   ========================================================================== */
.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #b83268 0%, #ff5c98 35%, #f59e0b 70%, #b83268 100%);
  background-size: 200% 100%;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  box-shadow: 0 0 14px rgba(255, 92, 152, 0.85), 0 0 4px rgba(184, 50, 104, 0.95);
}
.top-loader.is-active {
  opacity: 1;
  width: 78%;
  animation: topLoaderMove 1.4s infinite linear;
}
.top-loader.is-done {
  width: 100%;
  opacity: 0;
  transition: width 0.2s ease, opacity 0.3s ease 0.15s;
}
@keyframes topLoaderMove {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ==========================================================================
   LOADING ANIMATIONS & SKELETON SHIMMER
   ========================================================================== */
@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

@keyframes pulseBloom {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes shimmerGleam {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #fbebf2 0%, #ffffff 50%, #fbebf2 100%);
  background-size: 200% 100%;
  animation: shimmerGleam 1.6s infinite linear;
  border-radius: 8px;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(184, 50, 104, 0.2);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spinLoader 0.7s infinite linear;
  vertical-align: middle;
}
.spinner-light {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
}

/* ==========================================================================
   BUTTON SYSTEM (CÁC NÚT NỔI BẬT & SANG TRỌNG)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  background: var(--pink-gradient);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.24s ease,
              filter 0.24s ease;
}

/* Button Shimmer Sweep on Hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::before {
  left: 140%;
}

.btn:hover {
  background: var(--pink-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.03);
  color: #ffffff !important;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 10px rgba(184, 50, 104, 0.25);
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Button Loading State */
.btn[aria-busy="true"],
.btn.is-loading {
  position: relative;
  pointer-events: none !important;
  color: transparent !important;
}
.btn[aria-busy="true"]::before,
.btn.is-loading::before {
  display: none;
}
.btn[aria-busy="true"]::after,
.btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinLoader 0.7s infinite linear;
}

/* Outline Button */
.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--pink) !important;
  border: 1.5px solid #dfb3c7;
  box-shadow: 0 2px 10px rgba(184, 50, 104, 0.05);
}
.btn-outline:hover {
  background: linear-gradient(135deg, #fff2f7 0%, #fdeaf2 100%);
  border-color: var(--pink);
  color: var(--pink-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 50, 104, 0.16);
}
.btn-outline:active {
  transform: translateY(1px) scale(0.98);
}
.btn-outline[aria-busy="true"]::after,
.btn-outline.is-loading::after {
  border-color: rgba(184, 50, 104, 0.2);
  border-top-color: var(--pink);
}

/* Button Full Width */
.btn-full {
  width: 100%;
}

/* Interactive Text Links */
.text-link {
  font-weight: 600;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s, transform 0.2s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.text-link:hover {
  color: var(--pink-dark);
  text-decoration-color: var(--pink-dark);
  transform: translateX(2px);
}

/* Circular & Quick Action Buttons */
.circle-btn,
.tn-card-action {
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.circle-btn {
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--deep);
  box-shadow: var(--shadow-sm);
}
.circle-btn:hover {
  background: var(--pink-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 8px 20px rgba(184, 50, 104, 0.35);
}

.tn-card-action {
  width: 44px;
  height: 44px;
  border: 1.5px solid #e7d1dc;
  background: #ffffff;
  color: var(--deep);
  font-size: 20px;
}
.tn-card-action:hover {
  background: var(--pink-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 22px rgba(184, 50, 104, 0.35);
}

/* ==========================================================================
   FORM CONTROLS: INPUTS, TEXTAREAS, CHECKBOXES, RADIOS ("Ô CHỌN")
   ========================================================================== */
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep);
}
label small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

input,
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--deep);
  border-radius: 12px;
  min-height: 48px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid #e3d4dc;
  box-shadow: 0 1px 3px rgba(56, 35, 49, 0.02);
  transition: border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.22s ease;
}

input:hover,
textarea:hover {
  border-color: #cda2b7;
  background-color: #fffdfc;
}

input:focus,
textarea:focus {
  border-color: var(--pink);
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(184, 50, 104, 0.14), 0 2px 8px rgba(184, 50, 104, 0.05);
}

input::placeholder,
textarea::placeholder {
  color: #a797a2;
  font-weight: 400;
}

input[readonly],
input:disabled,
textarea:disabled {
  background: #fdf5f8;
  border-color: #ecdbe3;
  color: #8c7c86;
  cursor: not-allowed;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 4px rgba(190, 18, 60, 0.12) !important;
}

textarea {
  min-height: 110px;
  line-height: 1.7;
  resize: vertical;
}

/* Custom Styled Checkboxes */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  min-height: 21px;
  border-radius: 6px;
  border: 2px solid #cfb6c4;
  background: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
input[type="checkbox"]:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.12);
}
input[type="checkbox"]:checked {
  background: var(--pink-gradient);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.739a.75.75 0 0 1 1.04-.208Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}

.check-label {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--deep);
  cursor: pointer;
  user-select: none;
}
.check-label a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Custom Styled Radio Buttons */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 21px;
  height: 21px;
  min-height: 21px;
  border-radius: 50%;
  border: 2px solid #cfb6c4;
  background: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
input[type="radio"]:hover {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.12);
}
input[type="radio"]:checked {
  border-color: var(--pink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.5' fill='%23b83268'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Payment Choice Radio Cards */
.payment-methods {
  display: grid;
  gap: 14px;
}
.payment-choice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.22s, background-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.payment-choice:hover {
  border-color: #d8a0b9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184, 50, 104, 0.08);
}
.payment-choice:has(input:checked) {
  border-color: var(--pink);
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(184, 50, 104, 0.14);
}
.payment-choice b {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  color: var(--deep);
}
.payment-choice small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

/* Quantity Control Box */
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e3d4dc;
  border-radius: 10px;
  overflow: hidden;
  height: 40px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(56, 35, 49, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quantity-control:hover,
.quantity-control:focus-within {
  border-color: #d19fb5;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.08);
}
.quantity-control button {
  width: 36px;
  height: 100%;
  border: 0;
  background: #fdf5f8;
  color: var(--deep);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: background-color 0.18s, color 0.18s;
}
.quantity-control button:hover {
  background: var(--pink-soft);
  color: var(--pink);
}
.quantity-control button:active {
  background: #f8d5e3;
}
.quantity-control input {
  width: 44px;
  min-height: 38px;
  height: 38px;
  text-align: center;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  font-weight: 700;
  font-size: 14px;
  border-radius: 0;
  color: var(--deep);
  background: transparent;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ==========================================================================
   DROPDOWNS & LIST SELECTION ("LITS CHỌN")
   ========================================================================== */
select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b83268' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  padding-right: 44px;
  font-weight: 500;
}
select:hover {
  border-color: #cda2b7;
  background-color: #fffbfe;
}
select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(184, 50, 104, 0.14), 0 2px 8px rgba(184, 50, 104, 0.05);
}
select option {
  padding: 10px 14px;
  color: var(--deep);
  background: #ffffff;
}

/* Category Pills & Tabs ("Lits chọn danh mục") */
.collection-categories,
.pd-content-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
  align-items: center;
}
.collection-categories a,
.pd-content-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  color: #5d4655;
  background: #ffffff;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid #ecd9e3;
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.02);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.collection-categories a:hover,
.pd-content-nav a:hover {
  border-color: #cf9db5;
  color: var(--pink);
  background: #fff3f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 50, 104, 0.1);
}
.collection-categories a[aria-current="page"],
.collection-categories a.active,
.pd-content-nav a.active {
  background: var(--pink-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(184, 50, 104, 0.36);
  font-weight: 600;
}
.collection-categories a[aria-current="page"]::after {
  display: none !important;
}

/* Collection Tools Bar */
.collection-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 200px 180px auto;
  gap: 14px;
  align-items: center;
  padding: 24px 0 20px;
}
.collection-tools input,
.collection-tools select {
  font-size: 13.5px;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: #ffffff;
}
.collection-search {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
}
.collection-search > span {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: var(--pink);
  pointer-events: none;
}
.collection-tools .collection-search input {
  padding-left: 46px;
}
.collection-tools .btn {
  height: 48px;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 13.5px;
  border-radius: 12px;
}

/* ==========================================================================
   CARDS, PANELS & SURFACES (TRANG WEB ĐẸP HƠN & NỔI BẬT HƠN)
   ========================================================================== */
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  padding: 30px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

/* Product Cards */
.product-card,
.tn-card {
  border: 1px solid #f2e1ea;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover,
.tn-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #e4b2c9;
}

.product-image,
.tn-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 0%, #f9edf3 100%);
  border-bottom: 1px solid #f5e9f0;
}
.product-image img,
.tn-card-media img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card:hover .product-image img,
.tn-card:hover .tn-card-media img {
  transform: scale(1.045);
}

/* Luxury Tags on Cards */
.tag,
.tn-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--pink-dark);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 12px rgba(184, 50, 104, 0.1);
  line-height: 1.4;
  z-index: 2;
}

.tn-card-preview {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--deep);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(235, 215, 226, 0.8);
  box-shadow: 0 6px 20px rgba(56, 35, 49, 0.08);
  transform: translateY(68px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.tn-card:hover .tn-card-preview,
.tn-card:focus-within .tn-card-preview {
  transform: translateY(0);
}

.tn-card-copy {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tn-card-category {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.tn-card-title h3 {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--deep);
  margin: 0 0 12px;
  transition: color 0.2s;
}
.tn-card-title:hover h3 {
  color: var(--pink);
}
.tn-card-price strong,
.price-box strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
}
.tn-card-price del,
.price-box del {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}

/* Category Grid Cards (Trang chủ) */
.category-card {
  padding: 36px 30px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fdf2f7 100%);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s,
              border-color 0.3s;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: #e5b4cb;
}
.category-card > span {
  font-family: var(--serif);
  font-size: 40px;
  color: #cca3b6;
  font-weight: 700;
  line-height: 1;
}
.category-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 16px 0 10px;
  color: var(--deep);
}
.category-card b {
  color: var(--pink);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}
.category-card:hover b {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER, ANNOUNCEMENT & NAVIGATION BAR
   ========================================================================== */
.announcement {
  font-size: 12.5px;
  line-height: 1.6;
  padding: 10px 24px;
  background: linear-gradient(110deg, #992153 0%, #b83268 45%, #ca3b73 70%, #992153 100%);
  background-size: 200% 100%;
  animation: topLoaderMove 8s infinite linear;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.announcement b {
  color: #ffeef6;
}

.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(235, 215, 226, 0.85);
  box-shadow: 0 4px 25px rgba(56, 35, 49, 0.04);
}

.brand {
  letter-spacing: -0.5px;
  color: var(--pink);
}
.brand span {
  letter-spacing: 1.8px;
  color: var(--muted);
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  font-weight: 500;
  color: var(--deep);
  transition: color 0.2s ease;
}
.desktop-nav a:hover {
  color: var(--pink);
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--pink-gradient);
  transform: scaleX(0);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile Nav & Toggle Button */
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  color: var(--deep);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.menu-toggle:hover {
  background: var(--pink-soft);
  color: var(--pink);
  border-color: #dcaec5;
}
.mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px 24px;
  border-bottom: 1.5px solid var(--line);
  box-shadow: 0 12px 30px rgba(56, 35, 49, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 74px;
  z-index: 49;
  animation: mobileNavDown 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav[hidden] {
  display: none !important;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--deep);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  background: #fff2f8;
  color: var(--pink);
  border-color: #ebd7e2;
  transform: translateX(3px);
}
@keyframes mobileNavDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cart Badge in Header */
[data-cart-badge] {
  display: inline-grid;
  place-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--pink-gradient);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.35);
  vertical-align: middle;
  line-height: 1;
}

/* Page Headings */
.page-heading {
  background: radial-gradient(ellipse at 90% 5%, #fae2ee 0, transparent 60%),
              linear-gradient(135deg, #fff7fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(38px, 6vw, 76px);
}
.page-heading h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--deep);
}
.page-heading p {
  max-width: 680px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   TABLES & DATA DISPLAYS
   ========================================================================== */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th {
  background: #fdf2f7;
  color: var(--deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f6eaf0;
  vertical-align: middle;
  transition: background-color 0.18s;
}
tr:hover td {
  background-color: #fff9fc;
}
tr:last-child td {
  border-bottom: 0;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  background: #fce7ef;
  color: var(--pink);
}

/* ==========================================================================
   NOTICES & ALERTS
   ========================================================================== */
.notice {
  padding: 18px 24px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.notice.success {
  background: #f4faf6;
  border-color: #bbf0d4;
  border-left: 5px solid #16a34a;
  color: #14532d;
}
.notice.error {
  background: #fff5f5;
  border-color: #fecdd3;
  border-left: 5px solid #e11d48;
  color: #881337;
}
.notice button[data-dismiss] {
  margin-left: auto;
  border: 0;
  background: transparent;
  font-size: 22px;
  color: inherit;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.notice button[data-dismiss]:hover {
  opacity: 1;
}

/* ==========================================================================
   CART DRAWER & DIALOGS
   ========================================================================== */
dialog {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
dialog::backdrop {
  background: rgba(44, 26, 38, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
#cart-drawer {
  box-shadow: -8px 0 35px rgba(56, 35, 49, 0.15);
}
.cart-feedback {
  min-height: 22px;
  font-size: 12px;
  font-weight: 500;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-feedback.is-error {
  color: #be123c;
}
.cart-feedback.is-loading::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid rgba(184, 50, 104, 0.2);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spinLoader 0.7s infinite linear;
}

/* ==========================================================================
   POLICY & FOOTER & SERVICE STRIP
   ========================================================================== */
.service-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(135deg, #fff7fa 0%, #fff1f6 100%);
  padding: 36px 6%;
}
.service-item b {
  color: var(--deep);
  font-size: 15px;
}
.service-item span {
  line-height: 1.6;
  color: var(--muted);
  font-size: 13px;
}

footer:not(.site-footer):not(.post-article-footer) {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 60px 6% 36px;
}
footer:not(.site-footer):not(.post-article-footer) a:hover {
  color: var(--pink);
}

/* Admin Styling */
.admin-nav {
  border-right: 1px solid var(--line);
  background: #ffffff;
}
.admin-nav nav a {
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 500;
  color: #5d4655;
  transition: all 0.2s ease;
}
.admin-nav nav a:hover {
  background: #fff2f7;
  color: var(--pink);
}
.admin-nav nav a.active {
  background: var(--pink-gradient);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.3);
}

/* Pagination ("Lits chọn trang") */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 40px 0 20px;
  font-size: 14px;
}
.pagination a,
.pagination > span {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  font-weight: 600;
  color: var(--deep);
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.02);
  transition: all 0.22s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.pagination a:hover {
  border-color: #d19fb5;
  color: var(--pink);
  background: #fff2f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.12);
}
.pagination > span:not([class]) {
  background: #fdf5f8;
  color: var(--muted);
  border-color: #f1dfe8;
}

/* Filter Bar in Admin & Catalog */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-bar input {
  flex: 1;
  min-width: 220px;
}
.filter-bar select {
  width: auto;
  min-width: 160px;
}

/* Dashboard Metric Cards */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.metric-grid .panel {
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7fb 100%);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
  margin-bottom: 0;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s, border-color 0.24s;
}
.metric-grid .panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #e5b3cb;
}
.metric-grid span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  display: block;
}
.metric-grid strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--pink);
  margin-top: 8px;
  line-height: 1.2;
}

/* Beauty Band & Social Badges */
.beauty-band {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff2f7 0%, #fdebf2 50%, #fff2f7 100%);
  padding: 20px 5%;
  color: var(--pink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.social-badges-row {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(56, 35, 49, 0.03);
  transition: all 0.22s ease;
}
.badge-link:hover {
  border-color: #d19fb5;
  color: var(--pink);
  background: #fff2f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 50, 104, 0.14);
}

/* ==========================================================================
   MASTER RESPONSIVE SYSTEM (TOÀN BỘ THIẾT BỊ & TẤT CẢ CÁC TRANG)
   ========================================================================== */

/* Universal Layout & Overflow Prevention */
html, body {
  max-width: 100vw;
  overflow-x: clip;
}
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}
.main, .admin-main, .hero, .panel, .product-card, .tn-card, .cart-panel, .checkout-form {
  min-width: 0;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  min-width: 580px;
}

/* 1. Large Desktops & Wide Screens (>= 1440px) */
@media (min-width: 1440px) {
  .header, .announcement, .service-strip, footer:not(.site-footer):not(.post-article-footer) {
    padding-inline: max(6%, calc((100vw - 1440px) / 2));
  }
}

/* 2. Laptops & Compact Desktops (993px - 1200px) */
@media (max-width: 1200px) {
  .hero { gap: 32px; padding: 50px 5% 40px; }
  .product-grid, .collection-grid { gap: 20px; row-gap: 32px; }
  .pd-layout { gap: 40px; padding: 20px 24px 40px; }
  .pd-information-grid { gap: 40px; }
}

/* 3. Tablets & Landscape Phones (769px - 992px) */
@media (max-width: 992px) {
  /* Navigation switch to hamburger */
  .desktop-nav { display: none !important; }
  .menu-toggle { display: inline-flex !important; }
  .header { padding: 16px 4%; }
  
  /* Hero section stacked */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 4% 30px;
    gap: 32px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .hero-copy h1 { font-size: clamp(34px, 5.5vw, 52px); }
  .hero-copy p { margin-inline: auto; max-width: 580px; }
  .hero-actions { justify-content: center; }
  .hero-note { justify-content: center; text-align: center; }
  .hero-visual {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 360px;
  }
  
  /* Grids */
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  
  /* Product Detail */
  .pd-layout { grid-template-columns: 1fr; gap: 32px; padding: 20px 4% 36px; }
  .pd-gallery { position: static; max-width: 600px; margin: 0 auto; }
  .pd-information-grid { grid-template-columns: 1fr; gap: 32px; }
  
  /* Commerce */
  .cart-page-grid { grid-template-columns: 1fr; gap: 24px; }
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .checkout-grid > aside { order: 0; }
  .sticky { position: static; }
  
  /* Service & Footer */
  .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 32px 4%; }
  footer:not(.site-footer):not(.post-article-footer) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 50px 4% 28px; }
  footer:not(.site-footer):not(.post-article-footer) > div:first-child { grid-column: 1 / -1; }
  
  /* Admin */
  .admin-nav { position: static; width: 100%; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .admin-nav nav { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .admin-main { margin-left: 0; padding: 20px 4%; }
}

/* 4. Large Phones & Small Tablets (577px - 768px) */
@media (max-width: 768px) {
  .section { padding: 50px 4%; }
  .section.compact { padding: 28px 4% 40px; }
  
  /* Announcement */
  .announcement { font-size: 12px; padding: 8px 16px; }
  
  /* Header */
  .header { padding: 14px 4%; }
  .brand { font-size: 24px; }
  
  /* Collection Tools */
  .collection-tools { grid-template-columns: 1fr 1fr; gap: 12px; }
  .collection-search { grid-column: 1 / -1; }
  .collection-tools .btn { grid-column: 1 / -1; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; row-gap: 26px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .category-grid { grid-template-columns: 1fr; }
  
  /* Story */
  .story-section { grid-template-columns: 1fr; gap: 28px; padding: 45px 4%; }
  .story-art { min-height: 220px; }
  
  /* Policy */
  .policy-layout { grid-template-columns: 1fr; gap: 20px; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
  
  /* Form Grids */
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .coupon-form .button-row { flex-wrap: nowrap; }
}

/* 5. Standard Phones (401px - 576px) */
@media (max-width: 576px) {
  body { font-size: 15px; }
  .section { padding: 40px 16px; }
  .section.compact { padding: 20px 16px 36px; }
  .panel { padding: 20px 18px; border-radius: 16px; }
  
  /* Header & Brand */
  .header { padding: 12px 16px; }
  .brand { font-size: 22px; }
  .brand span { font-size: 8.5px; letter-spacing: 1.2px; }
  .header-actions { gap: 10px; }
  
  /* Announcement */
  .announcement { font-size: 11.5px; padding: 7px 12px; line-height: 1.45; word-break: break-word; }
  
  /* Hero */
  .hero { padding: 30px 16px 24px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; margin-bottom: 16px; }
  .hero-copy p { font-size: 14.5px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-note { font-size: 12px; margin-top: 24px; }
  .hero-visual { min-height: 290px; }
  .hero-visual > img { max-height: 300px; }
  .hero-sticker {
    left: 0;
    bottom: 0;
    padding: 10px 16px;
    font-size: 11px;
    transform: rotate(-3deg);
  }
  .floating-label { top: 6px; right: 0; font-size: 9px; padding: 5px 9px; }
  
  /* Cards */
  .product-grid, .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    row-gap: 22px;
  }
  .tn-card .tn-card-copy { padding: 12px 10px 10px; }
  .tn-card-title h3 { font-size: 13.5px; min-height: auto; }
  .tn-card-price strong { font-size: 15px; }
  .tn-card-price del { font-size: 11.5px; }
  .tn-card-action { width: 36px; height: 36px; font-size: 17px; }
  .tn-card-tag { top: 8px; left: 8px; padding: 4px 7px; font-size: 9.5px; }
  
  /* Product detail */
  .pd-layout { padding: 14px 16px 30px; gap: 18px; }
  .pd-copy > h1 { font-size: 26px; }
  .pd-copy .detail-price { font-size: 26px; margin: 16px 0 6px; }
  .pd-copy .pd-purchase { padding: 18px 16px; }
  .pd-purchase .button-row { grid-template-columns: 1fr; }
  
  /* Cart & Checkout */
  .cart-panel { padding: 18px 16px; }
  .cart-item { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .cart-item-total { grid-column: 2; margin-top: -6px; }
  .checkout-form { padding: 18px 16px; }
  .payment-choice { padding: 14px 16px; gap: 12px; }
  
  /* Order Steps */
  .order-steps { gap: 2px; margin: 16px 0 24px; }
  .order-steps::before { top: 14px; left: 16px; right: 16px; }
  .step-circle { width: 28px; height: 28px; font-size: 11px; }
  .step-item { font-size: 10px; }
  
  /* Service strip & Footer */
  .service-strip { grid-template-columns: 1fr; gap: 16px; padding: 24px 16px; }
  footer:not(.site-footer):not(.post-article-footer) { grid-template-columns: 1fr; gap: 24px; padding: 40px 16px 24px; }
  
  /* Buttons & Inputs */
  .btn { min-height: 46px; padding: 11px 18px; font-size: 14px; }
  input, select, textarea { min-height: 46px; padding: 10px 14px; font-size: 14px; }
}

/* 6. Ultra-Compact Phones & Fold Displays (<= 400px) */
@media (max-width: 400px) {
  .header { padding: 10px 12px; }
  .brand { font-size: 20px; }
  .brand span { display: none; }
  .header-actions { gap: 8px; font-size: 13px; }
  
  .collection-tools select {
    font-size: 12px;
    padding-left: 10px;
    padding-right: 30px;
  }
  .collection-categories a, .pd-content-nav a {
    padding: 7px 14px;
    font-size: 12px;
  }
  
  .product-grid, .collection-grid {
    gap: 8px;
    row-gap: 18px;
  }
  .tn-card-title h3 { font-size: 12.5px; }
  .tn-card-price strong { font-size: 14px; }
  .tn-card-action { width: 32px; height: 32px; font-size: 15px; }
  
  .checkout-line {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .checkout-line img { width: 46px; }
  .checkout-line b { font-size: 12px; }
  .summary-row b { font-size: 14px; }
  .summary-row.total b { font-size: 18px; }
}

/* 7. Extra Small Narrow Screens (<= 340px, e.g. Galaxy Fold outer 320px) */
@media (max-width: 340px) {
  .product-grid, .collection-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tn-card .tn-card-media {
    aspect-ratio: 1/1;
  }
  .collection-tools {
    grid-template-columns: 1fr;
  }
  .collection-tools select {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   COMMERCE LAYOUT, CART DRAWER, CHECKOUT & MOTION LAYER
   Upgraded UI: Buttons, Form Controls, Payment Radios, Loading Spinners
   ========================================================================== */

[hidden] { display: none !important; }
body.modal-open { overflow: hidden; }
.main, .admin-main { overflow-wrap: anywhere; }

/* Buttons & State */
.btn.is-disabled { opacity: .45; pointer-events: none; }
.btn[aria-busy="true"] { cursor: wait; }
.btn:disabled { transform: none; box-shadow: none; }

/* Cart Page */
.cart-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cart-section-title h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 26px;
  margin: 0;
  color: var(--deep);
}
.cart-section-title > span,
[data-cart-count] {
  font: 600 12px var(--sans);
  background: var(--pink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--pink);
  box-shadow: 0 2px 6px rgba(184, 50, 104, 0.08);
}

.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}
.cart-panel {
  padding: 30px;
  border-radius: 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1.5px solid #f3e5ee;
  align-items: center;
}
.cart-item:last-child {
  border-bottom: 0;
}
.cart-item-image {
  display: block;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 0%, #faedf3 100%);
  border-radius: 12px;
  border: 1px solid #f2e1ea;
  box-shadow: 0 2px 8px rgba(56, 35, 49, 0.04);
}
.cart-item-image img {
  width: 100%;
  aspect-ratio: 6/7;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.cart-item:hover .cart-item-image img {
  transform: scale(1.05);
}
.cart-item-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--deep);
  display: block;
  transition: color 0.2s;
}
.cart-item-name:hover {
  color: var(--pink);
}
.cart-item-variant,
.cart-item-unit {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

/* Quantity Control */
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e3d4dc;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  height: 38px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(56, 35, 49, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quantity-control:hover,
.quantity-control:focus-within {
  border-color: #d19fb5;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.08);
}
.quantity-control button {
  width: 36px;
  height: 38px;
  border: 0;
  background: #fdf5f8;
  color: var(--deep);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
  transition: background-color 0.18s, color 0.18s;
}
.quantity-control button:hover {
  background: var(--pink-soft);
  color: var(--pink);
}
.quantity-control input {
  width: 44px;
  min-height: 36px;
  height: 36px;
  text-align: center;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 0;
  color: var(--deep);
  background: transparent;
  -moz-appearance: textfield;
}
.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-control button:disabled,
.quantity-control input:disabled {
  opacity: .45;
}

.cart-remove {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 0;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s, background-color 0.18s;
}
.cart-remove:hover {
  color: var(--error);
  background: #fff0f3;
}

.cart-item-total {
  font-size: 15px;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}
.cart-item-error {
  font-size: 12px;
  color: var(--error);
  margin: 8px 0 0;
  font-weight: 500;
}
.cart-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--muted);
}
.cart-empty > span {
  font-size: 48px;
  color: #cca3b6;
  display: block;
  margin-bottom: 8px;
}
.cart-empty h3 {
  margin: 12px 0 6px;
  font-size: 20px;
  color: var(--deep);
}
.cart-empty p {
  font-size: 14px;
  margin-bottom: 20px;
}
.cart-summary-panel {
  padding: 30px;
  border-radius: 20px;
}
.cart-summary-panel h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--deep);
}
.cart-summary-panel .btn {
  margin-top: 16px;
}

/* Cart Drawer */
#cart-drawer {
  padding: 0;
  width: 460px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0;
  inset: 0 0 0 auto;
  margin: 0;
  border: 0;
  box-shadow: -10px 0 40px rgba(56, 35, 49, 0.16);
}
#cart-drawer[open] {
  display: flex;
  flex-direction: column;
  animation: commerce-drawer-in .32s cubic-bezier(.16, 1, .3, 1);
}
#cart-drawer::backdrop {
  background: rgba(44, 26, 38, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: commerce-backdrop-in .22s ease;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 28px;
  border-bottom: 1.5px solid var(--line);
  background: #ffffff;
  flex-shrink: 0;
}
.drawer-header .eyebrow {
  margin: 0 0 6px;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.drawer-header h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 26px;
  margin: 0;
  color: var(--deep);
}
.drawer-header > button {
  background: #fdf5f8;
  border: 1px solid var(--line);
  font-size: 24px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--deep);
  transition: all 0.2s ease;
}
.drawer-header > button:hover {
  background: var(--pink-soft);
  color: var(--pink);
  transform: rotate(90deg);
}
.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 28px;
}
.drawer-footer {
  padding: 16px 28px max(24px, env(safe-area-inset-bottom));
  border-top: 1.5px solid var(--line);
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 -4px 18px rgba(56, 35, 49, 0.04);
}
.drawer-footer .summary-row {
  border: 0;
  padding: 8px 0;
  font-size: 15px;
}
.drawer-footer .summary-row b {
  font-size: 18px;
  color: var(--pink);
}
.drawer-footer .btn {
  min-height: 48px;
  margin-top: 10px;
}
.drawer-full-link {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pink);
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cart-drawer .cart-item {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  position: relative;
  padding: 20px 0;
}
#cart-drawer .cart-item-total {
  grid-column: 2;
  padding-top: 0;
  margin-top: -6px;
  font-size: 14px;
}
#cart-drawer .cart-item-controls {
  gap: 12px;
  margin-top: 10px;
}

/* Checkout Page */
.checkout-form {
  border-radius: 20px;
  padding: 34px;
}
.checkout-form h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  margin-top: 8px;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.checkout-summary {
  padding: 30px;
  border-radius: 20px;
}
.checkout-summary h2 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--deep);
}
.checkout-line {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f3e5ee;
}
.checkout-line img {
  border-radius: 10px;
  aspect-ratio: 6/7;
  object-fit: cover;
  width: 56px;
  border: 1px solid var(--line);
}
.checkout-line b {
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 1.5;
  color: var(--deep);
}
.checkout-line small {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
  display: block;
}
.checkout-line > strong {
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--pink);
  font-weight: 700;
}

/* Payment Choices ("Ô chọn phương thức thanh toán") */
.payment-methods {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.payment-choice {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.payment-choice:hover {
  border-color: #d8a0b9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 50, 104, 0.1);
}
.payment-choice:has(input:checked) {
  border-color: var(--pink);
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 100%);
  box-shadow: 0 6px 22px rgba(184, 50, 104, 0.14);
}
.payment-choice b {
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
}
.payment-choice small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.invoice-details {
  border: 1.5px solid var(--line);
  padding: 14px 18px;
  border-radius: 12px;
  background: #fffbfe;
}
.invoice-details summary {
  font-weight: 600;
  color: var(--deep);
  cursor: pointer;
}
.invoice-details .stack {
  margin-top: 16px;
}

.checkout-feedback {
  font-size: 13.5px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff8fb;
  line-height: 1.7;
  color: var(--deep);
}
.checkout-feedback.is-error {
  border-color: #fecdd3;
  background: #fff5f5;
  color: #9f1239;
}

#place-order {
  min-height: 52px;
  position: relative;
  font-size: 15.5px;
  font-weight: 700;
}
#place-order[aria-busy="true"]::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: commerce-spin .7s linear infinite;
  margin-right: 8px;
}

.coupon-form {
  margin-top: 24px;
}
.coupon-form .button-row {
  flex-wrap: nowrap;
  gap: 10px;
}
.coupon-form .button-row input {
  min-width: 0;
  width: 100%;
}
.coupon-form .btn {
  padding: 12px 20px;
  flex-shrink: 0;
}

/* Animations */
@keyframes commerce-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes commerce-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes commerce-spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1000px) {
  .cart-page-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .cart-item { grid-template-columns: 74px minmax(0, 1fr); gap: 16px; }
  .cart-item-total { grid-column: 2; margin-top: -8px; }
  .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cart-page-grid { grid-template-columns: 1fr; }
  .cart-summary-panel { position: static; }
  .checkout-grid { grid-template-columns: 1fr; gap: 24px; }
  .checkout-grid > aside { order: 0; }
  .checkout-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-panel { padding: 18px 14px; }
  .cart-item { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .cart-item-name { font-size: 13.5px; }
  .cart-item-controls { gap: 10px; }
  .checkout-form { padding: 20px 16px; }
  .checkout-form .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .drawer-header { padding: 18px 20px; }
  .drawer-scroll { padding: 0 20px; }
  .drawer-footer { padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
  .checkout-line { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
  .checkout-line > strong { grid-column: 2; margin-top: -6px; }
  #place-order { min-height: 48px; font-size: 14.5px; }
}
@media (max-width: 360px) {
  .cart-panel, .checkout-form, .checkout-summary { padding: 16px 12px; }
  .payment-choice { padding: 12px; }
  .drawer-header h2 { font-size: 22px; }
}

/* Side Cart Drawer (Slide-in from right edge - Compact & Slim) */
#cart-drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  margin: 0 !important;
  width: 310px !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  height: 100vh !important;
  max-height: 100dvh !important;
  background: #ffffff !important;
  border: none !important;
  border-left: 1.5px solid #ebd4e1 !important;
  border-radius: 0 !important;
  box-shadow: -8px 0 32px rgba(56, 35, 49, 0.16) !important;
  overflow: hidden !important;
  padding: 0 !important;
  z-index: 9999 !important;
}

#cart-drawer[open] {
  display: flex !important;
  flex-direction: column !important;
  animation: commerce-drawer-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#cart-drawer::backdrop {
  background: rgba(35, 20, 30, 0.42) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  animation: commerce-backdrop-in 0.2s ease !important;
}

#cart-drawer .drawer-header {
  padding: 10px 14px !important;
  border-bottom: 1px solid #f2e1ea !important;
}

#cart-drawer .drawer-header h2 {
  font-size: 16px !important;
  margin: 0 !important;
}

#cart-drawer .drawer-header .eyebrow {
  font-size: 7.5px !important;
  letter-spacing: 1px !important;
  margin: 0 0 1px !important;
}

#cart-drawer .drawer-header > button {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  font-size: 16px !important;
  border-radius: 50% !important;
}

#cart-drawer .drawer-scroll {
  flex: 1 !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

#cart-drawer .cart-item {
  grid-template-columns: 46px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #f9edf3 !important;
}

#cart-drawer .cart-item-image {
  width: 46px !important;
  height: 52px !important;
  border-radius: 6px !important;
}

#cart-drawer .cart-item-name {
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
}

#cart-drawer .cart-item-variant {
  font-size: 10.5px !important;
}

#cart-drawer .cart-item-total {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #b83268 !important;
}

#cart-drawer .quantity-control {
  height: 28px !important;
}

#cart-drawer .quantity-control button {
  width: 24px !important;
  height: 26px !important;
  min-height: 26px !important;
  font-size: 13px !important;
}

#cart-drawer .quantity-control input {
  width: 28px !important;
  height: 26px !important;
  min-height: 26px !important;
  font-size: 12px !important;
}

#cart-drawer .cart-remove {
  font-size: 10.5px !important;
  min-height: unset !important;
  padding: 2px 5px !important;
}

#cart-drawer .drawer-footer {
  flex-shrink: 0 !important;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid #f2e1ea !important;
  background: #ffffff !important;
  gap: 6px !important;
}

#cart-drawer .summary-row {
  font-size: 12.5px !important;
  margin-bottom: 2px !important;
}

#cart-drawer .summary-row b {
  font-size: 15px !important;
  color: #b83268 !important;
}

#cart-drawer .drawer-footer .btn {
  min-height: 38px !important;
  font-size: 13px !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
}

#cart-drawer .drawer-full-link {
  font-size: 11px !important;
  padding: 2px 0 !important;
}

@media (max-width: 600px) {
  #cart-drawer {
    width: min(280px, 80vw) !important;
    max-width: 80vw !important;
    border-radius: 14px 0 0 14px !important;
  }
}

@media (max-width: 340px) {
  #cart-drawer {
    width: 100vw !important;
    max-width: 100vw !important;
    border-radius: 0 !important;
  }
}

/* ==========================================================================
   COLLECTION & PRODUCT CATALOG STYLES
   Refined luxury layout, pill tabs, custom tools, and elevated cards
   ========================================================================== */

.collection-heading {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 80px;
  padding: 55px 32px 46px;
  align-items: end;
}
.collection-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.collection-breadcrumb a:hover {
  color: var(--pink);
}
.collection-heading .eyebrow {
  margin: 24px 0 14px;
  font-size: 11px;
  letter-spacing: 2.2px;
}
.collection-heading h1 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 720px;
  margin: 0;
  color: var(--deep);
}
.collection-description {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 560px;
  margin: 20px 0 0;
}

.collection-note {
  border-left: 2px solid #ecd3df;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  line-height: 1.8;
  background: linear-gradient(135deg, #fff7fa 0%, #ffffff 100%);
  padding: 24px 28px;
  border-radius: 0 16px 16px 0;
  box-shadow: var(--shadow-xs);
}
.collection-note-mark {
  font-size: 36px;
  line-height: 1;
  color: var(--pink);
}
.collection-note b {
  font-weight: 600;
  color: var(--deep);
}
.collection-note a {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.collection-note a:hover {
  color: var(--pink-dark);
}

.collection-section {
  max-width: 1320px;
  margin: auto;
  padding-top: 10px;
  padding-bottom: 70px;
}

/* Category Selection Pills ("Lits chọn danh mục") */
.collection-categories {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 4px 22px;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
}
.collection-categories a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  color: #5d4655;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid #ecd9e3;
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.02);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.collection-categories a:hover {
  border-color: #cf9db5;
  color: var(--pink);
  background: #fff3f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.12);
}
.collection-categories a[aria-current="page"] {
  background: var(--pink-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(184, 50, 104, 0.36);
  font-weight: 600;
  transform: translateY(-1px);
}
.collection-categories a[aria-current="page"]::after {
  display: none !important;
}

/* Collection Tools: Search, Select Filters, Button ("Ô chọn & Lits chọn") */
.collection-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) 210px 180px auto;
  gap: 14px;
  align-items: center;
  padding: 26px 0 20px;
}
.collection-tools input,
.collection-tools select {
  font-size: 14px;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e3d4dc;
  box-shadow: 0 1px 4px rgba(56, 35, 49, 0.02);
  transition: all 0.22s ease;
}
.collection-tools input:focus,
.collection-tools select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(184, 50, 104, 0.14);
}
.collection-search {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
}
.collection-search > span {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: var(--pink);
  pointer-events: none;
}
.collection-tools .collection-search input {
  width: 100%;
  padding-left: 48px;
}
.collection-tools .btn {
  height: 48px;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 14px;
  border-radius: 12px;
}

.collection-results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 26px;
  font-size: 13px;
  color: var(--muted);
}
.collection-results p {
  margin: 0;
}
.collection-results b {
  color: var(--deep);
  font-weight: 700;
}

/* Grid & Product Card Elevation */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  row-gap: 40px;
}

.product-grid .tn-card {
  border: 1px solid #f2e3ed;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
}
.product-grid .tn-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #e4b2c9;
}

.tn-card .tn-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1/1.12;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 0%, #f9eef3 100%);
  border-bottom: 1px solid #f5eaf0;
  isolation: isolate;
}
.tn-card .tn-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.tn-card:hover .tn-card-media img {
  transform: scale(1.05);
}

.tn-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--pink-dark);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(184, 50, 104, 0.1);
  line-height: 1.4;
  letter-spacing: 0.2px;
  z-index: 2;
}

.tn-card-preview {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--deep);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(235, 215, 226, 0.8);
  box-shadow: 0 6px 20px rgba(56, 35, 49, 0.08);
  transform: translateY(68px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.tn-card:hover .tn-card-preview,
.tn-card:focus-within .tn-card-preview {
  transform: translateY(0);
}

.tn-card .tn-card-copy {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.tn-card-category {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.tn-card-title h3 {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
  color: var(--deep);
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.tn-card-title:hover h3 {
  color: var(--pink);
}

.tn-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.tn-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}
.tn-card-price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}
.tn-card-price del {
  font-size: 12.5px;
  color: var(--muted);
}

.tn-card-action {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e7d1dc;
  background: #ffffff;
  color: var(--deep);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.tn-card-action:hover {
  background: var(--pink-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 22px rgba(184, 50, 104, 0.35);
}

/* Responsive */
@media (max-width: 1050px) {
  .collection-heading { gap: 35px; grid-template-columns: minmax(0, 1fr) 250px; }
  .collection-tools { grid-template-columns: minmax(180px, 1fr) 180px 160px auto; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .collection-heading { grid-template-columns: 1fr; padding: 36px 22px 26px; gap: 25px; }
  .collection-note { border-radius: 14px; border-left: 3px solid var(--pink); }
  .collection-heading h1 { font-size: 40px; }
  .collection-tools { grid-template-columns: 1fr 1fr; }
  .collection-search { grid-column: 1 / -1; }
  .collection-tools .btn { grid-column: 1 / -1; }
  .collection-results > span { display: none; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; row-gap: 26px; }
  .collection-section { padding-inline: 20px; }
}
@media (max-width: 420px) {
  .collection-heading h1 { font-size: 34px; letter-spacing: -1px; }
  .collection-grid { gap: 12px; }
  .tn-card .tn-card-copy { padding: 14px 12px 12px; }
  .tn-card-title h3 { font-size: 13.5px; }
  .tn-card-price strong { font-size: 15px; }
  .tn-card-action { width: 38px; height: 38px; font-size: 17px; }
  .tn-card-tag { top: 10px; left: 10px; font-size: 10px; padding: 4px 8px; }
}
@media (max-width: 350px) {
  .collection-grid { grid-template-columns: 1fr; gap: 16px; }
  .collection-tools { grid-template-columns: 1fr; }
  .collection-categories { gap: 6px; }
  .collection-categories a { padding: 6px 12px; font-size: 11.5px; }
}
@media (hover: none) {
  .tn-card-preview { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-card .tn-card-media img,
  .tn-card-preview,
  .tn-card-action { transition: none; }
  .tn-card:hover .tn-card-media img { transform: none; }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   High-end luxury beauty product layout, refined options, and smooth tabs
   ========================================================================== */

.pd-layout {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  padding: 24px 32px 52px;
}

.pd-gallery {
  min-width: 0;
  position: sticky;
  top: 100px;
}
.pd-gallery .detail-image {
  border-radius: 22px;
  background: radial-gradient(circle at center, #ffffff 0%, #faedf3 100%);
  overflow: hidden;
  aspect-ratio: 1/1.08;
  border: 1.5px solid #f2e1eb;
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  transition: box-shadow 0.3s;
}
.pd-gallery .detail-image:hover {
  box-shadow: var(--shadow-card-hover);
}
.pd-gallery .detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.pd-gallery .detail-image:hover img {
  transform: scale(1.02);
}

.pd-gallery .thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 2px;
  scrollbar-width: thin;
}
.pd-gallery .thumbnails button {
  border: 2px solid #ecd5e1;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  padding: 3px;
  flex: 0 0 74px;
  min-height: 82px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.03);
}
.pd-gallery .thumbnails button:hover,
.pd-gallery .thumbnails button:focus {
  border-color: var(--pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(184, 50, 104, 0.18);
}
.pd-gallery .thumbnails img {
  width: 66px;
  height: 74px;
  object-fit: contain;
  border-radius: 10px;
}

.pd-copy {
  padding: 10px 0;
  min-width: 0;
}
.pd-copy > h1 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.25;
  margin: 14px 0 18px;
  letter-spacing: -0.7px;
  color: var(--deep);
}
.pd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.pd-facts a {
  color: var(--pink);
  font-weight: 600;
}
.pd-copy .detail-price {
  font-size: 32px;
  line-height: 1.3;
  margin: 24px 0 8px;
  font-weight: 700;
  color: var(--pink);
}
.pd-copy > p {
  font-size: 15px;
  line-height: 1.85;
  color: #553e4f;
}

/* Purchase Box ("Ô chọn & Nút mua") */
.pd-copy .pd-purchase {
  margin: 28px 0 0;
  padding: 28px;
  background: #ffffff;
  border: 1.5px solid #ebd7e3;
  border-radius: 20px;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.pd-purchase-title {
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--deep);
}
.pd-purchase label {
  font-size: 13.5px;
  gap: 8px;
  font-weight: 600;
}
.pd-purchase select {
  width: 100%;
  font-size: 14px;
  height: 48px;
  min-height: 48px;
  border-radius: 12px;
  background-color: #ffffff;
}
.pd-purchase input[name="quantity"] {
  width: 120px;
  height: 48px;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
}
.pd-purchase .button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.pd-purchase .btn {
  min-height: 50px;
  margin: 0;
  font-size: 14.5px;
  padding: 13px 20px;
  border-radius: 14px;
}
.pd-copy .pd-payment-note {
  font-size: 12.5px;
  margin: 18px 0 14px;
  color: var(--muted);
  line-height: 1.6;
}
.pd-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
}
.pd-copy .detail-benefits {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  gap: 24px;
  color: var(--muted);
}

/* Tabs & Content Navigation ("Lits chọn nội dung") */
.pd-information {
  max-width: 1320px;
  margin: auto;
  padding-top: 10px;
}
.pd-content-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 12px 4px 22px;
  margin-bottom: 40px;
  scrollbar-width: thin;
}
.pd-content-nav a {
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  color: #5d4655;
  background: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid #ecd9e3;
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.02);
  transition: all 0.22s ease;
  text-decoration: none;
}
.pd-content-nav a:hover {
  border-color: #cf9db5;
  color: var(--pink);
  background: #fff3f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(184, 50, 104, 0.1);
}

.pd-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: start;
}
.pd-article {
  min-width: 0;
}
.pd-article h2,
.pd-article h3,
.pd-reviews h2 {
  scroll-margin-top: 120px;
  font-family: inherit;
  font-size: 24px;
  margin: 32px 0 16px;
  line-height: 1.4;
  color: var(--deep);
  font-weight: 600;
}
.pd-article h2:first-child {
  margin-top: 0;
}
.pd-article p {
  font-size: 15px;
  line-height: 1.95;
  color: #5d4857;
}

.pd-help {
  background: linear-gradient(135deg, #fff2f8 0%, #fdecf4 100%);
  border: 1.5px solid #f1d5e3;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.pd-help h2 {
  font-size: 22px;
  line-height: 1.35;
  margin: 14px 0;
  color: var(--deep);
}
.pd-help p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}
.pd-help .btn {
  font-size: 13.5px;
  margin: 12px 0;
  width: 100%;
}

.pd-reviews {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
}
.pd-reviews .review {
  background: #ffffff;
  padding: 22px 26px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  margin: 18px 0;
  box-shadow: var(--shadow-xs);
}

/* Responsive */
@media (max-width: 1000px) {
  .pd-layout { gap: 36px; }
  .pd-gallery { position: static; }
  .pd-information-grid { gap: 35px; grid-template-columns: minmax(0, 1fr) 260px; }
  .pd-purchase .button-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pd-layout { grid-template-columns: 1fr; padding: 14px 20px 36px; gap: 20px; }
  .pd-copy > h1 { font-size: 30px; }
  .pd-copy .pd-purchase { padding: 22px; }
  .pd-purchase .button-row { grid-template-columns: 1fr 1fr; }
  .pd-information { padding-inline: 20px; }
  .pd-information-grid { grid-template-columns: 1fr; gap: 28px; }
  .pd-content-nav { gap: 10px; padding: 10px 0 18px; margin-bottom: 26px; }
  .pd-content-nav a { font-size: 12.5px; padding: 8px 16px; }
  .pd-copy .detail-price { font-size: 28px; }
  .pd-help { padding: 24px; }
}
@media (max-width: 480px) {
  .pd-layout { padding: 12px 14px 28px; }
  .pd-copy > h1 { font-size: 24px; }
  .pd-copy .pd-purchase { padding: 18px 14px; }
  .pd-purchase .button-row { grid-template-columns: 1fr; }
  .pd-gallery .thumbnails button { flex: 0 0 60px; min-height: 68px; }
  .pd-gallery .thumbnails img { width: 54px; height: 60px; }
  .pd-facts { gap: 8px 14px; font-size: 12px; }
  .pd-policy-links { gap: 10px 16px; font-size: 12px; }
}
@media (max-width: 350px) {
  .pd-copy > h1 { font-size: 22px; }
  .pd-copy .detail-price { font-size: 24px; }
}

.global-notices{max-width:1200px;margin:0 auto;padding:0 24px}.global-notices:empty{display:none}.global-notices .notice{margin:20px 0;padding:18px 48px 18px 20px;position:relative;font-size:14px;line-height:1.8}.global-notices .notice ul{padding-left:20px;margin:8px 0 0}.global-notices .notice button[data-dismiss]{position:absolute;right:8px;top:8px;width:36px;height:36px;font-size:22px}
.auth-shell{padding:32px 20px 64px}.auth-shell .auth-panel{width:100%;max-width:480px;margin:0 auto;padding:30px;gap:20px}.auth-panel label{font-size:14px;gap:8px}.auth-panel input{width:100%;font-size:15px;min-height:48px}.auth-panel .check-label input{width:18px;min-height:18px;height:18px;flex-shrink:0}.auth-panel .btn{min-height:48px}.auth-panel small{font-size:12px;color:var(--muted)}.auth-message{border:1px solid;border-radius:12px;padding:16px 18px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.auth-message strong{display:block;font-weight:650}.auth-message p{margin:6px 0 0;font-size:13px}.auth-message-error{background:#fff1f2;border-color:#efb5bd;color:#8c2335}.auth-message-success{background:#eff9f3;border-color:#b6ddc5;color:#20533a}.auth-field-error{display:block;color:#9a263b;font-size:12px;line-height:1.6}.auth-panel input[aria-invalid=true]{border-color:#bf3851;background:#fffafb}.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 22px;padding-top:18px;border-top:1px solid var(--line);font-size:13px}.auth-links a{color:var(--pink);text-decoration:underline;text-underline-offset:4px}
@media(max-width:600px){.global-notices{padding:0 16px}.auth-shell{padding:24px 16px 45px}.auth-shell .auth-panel{padding:22px;gap:18px}.auth-message{padding:14px}.auth-links{gap:12px 18px}}

.tn-select{display:block;position:relative;min-width:0;width:100%}.tn-select select.tn-native-select{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}.tn-select .tn-select-trigger{display:block;position:relative;width:100%;min-height:46px;border:1px solid #e5ccd8;border-radius:10px;background:#fff;color:#382331;padding:11px 40px 11px 15px;font:inherit;font-size:14px;font-weight:400;text-align:left;line-height:1.6;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-shadow:none;cursor:pointer;transition:border-color .18s,box-shadow .18s}.tn-select-trigger:after{content:'';position:absolute;right:17px;top:calc(50% - 5px);width:7px;height:7px;border-right:1.5px solid #b83268;border-bottom:1.5px solid #b83268;transform:rotate(45deg);transition:transform .18s}.tn-select-trigger[aria-expanded=true]{border-color:#b83268;box-shadow:0 0 0 3px #b8326810}.tn-select-trigger[aria-expanded=true]:after{transform:rotate(225deg);top:calc(50% - 2px)}.tn-select-trigger:focus-visible{outline:2px solid #b83268;outline-offset:3px}.tn-select-trigger:disabled{opacity:.55;cursor:not-allowed;background:#f8f4f6}.tn-select-trigger[aria-invalid=true]{border-color:#bf3851}.tn-select-error{display:block;font-size:12px;color:#9a263b;line-height:1.6;margin-top:6px}.tn-select-error[hidden]{display:none}.tn-select-menu{position:fixed;z-index:10000;padding:6px;background:#fff;border:1px solid #ead1dd;border-radius:12px;box-shadow:0 14px 40px #64263f22;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ddacc2 transparent}.tn-select-menu[hidden]{display:none}.tn-select-option{position:relative;padding:10px 34px 10px 12px;font-size:13px;line-height:1.6;border-radius:7px;color:#382331;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.tn-select-option:hover,.tn-select-option.is-focused{background:#fff0f6;color:#a3295a}.tn-select-option[aria-selected=true]{color:#a3295a;background:#fce7f0;font-weight:600}.tn-select-option[aria-selected=true]:after{content:'✓';position:absolute;right:12px;color:#b83268}.tn-select-option[aria-disabled=true]{color:#a69aa1;cursor:not-allowed;background:#f8f6f7}.collection-tools>.tn-select{min-width:0}.auth-panel .tn-select-trigger,.admin-main .tn-select-trigger{font-size:14px}.button-row>.tn-select{flex:1;min-width:140px}
@media(max-width:600px){.tn-select-option{padding-block:12px;min-height:44px}.tn-select .tn-select-trigger{font-size:14px;min-height:46px}}
.filter-bar>.tn-select{width:auto;flex:0 1 190px}.tn-select-menu{max-width:calc(100vw - 16px)}
@media(prefers-reduced-motion:reduce){.tn-select-trigger,.tn-select-trigger:after{transition:none}}

.blog-heading{max-width:1320px;margin:auto;padding:48px 28px 36px;border-bottom:1px solid var(--line)}.blog-heading .eyebrow{font-size:10px;letter-spacing:2px}.blog-heading h1{font-size:clamp(34px,4vw,54px);font-weight:500;line-height:1.2;margin:15px 0;letter-spacing:-1px}.blog-heading p{color:var(--muted);max-width:630px;font-size:14px;line-height:1.9}.blog-layout{max-width:1320px;margin:auto;padding:36px 28px 70px;display:grid;grid-template-columns:180px minmax(0,1fr) 260px;gap:32px;align-items:start}.blog-left,.blog-right{min-width:0}.blog-left{position:sticky;top:110px}.blog-side-title{font-family:inherit;font-size:14px;font-weight:650;margin:0 0 16px}.blog-topics{display:flex;flex-direction:column;gap:5px}.blog-topics a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:12px;line-height:1.65;border-radius:8px;color:var(--muted)}.blog-topics a span{font-size:10px;flex-shrink:0}.blog-topics a:hover,.blog-topics a[aria-current=page]{background:#fce7f0;color:var(--pink)}.blog-left-section{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.blog-left-section p{font-size:12px;line-height:1.9;color:var(--muted)}.blog-left-section>a{display:block;font-size:12px;margin:10px 0;color:var(--pink)}.blog-search{display:flex;gap:8px;margin-bottom:22px}.blog-search input{min-width:0;flex:1;font-size:13px;min-height:44px}.blog-search button{flex-shrink:0;font-size:12px;padding:10px 15px;min-height:44px}.blog-results{font-size:12px;color:var(--muted);margin:0 0 24px}.blog-post{padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start}.blog-post-image{display:block;border-radius:12px;overflow:hidden;background:#f8edf2;aspect-ratio:4/3}.blog-post-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.blog-post-image:hover img{transform:scale(1.025)}.blog-post-meta{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:10px;color:var(--muted);line-height:1.7}.blog-post-meta span{color:var(--pink);font-weight:600}.blog-post h2{font-family:inherit;font-size:19px;font-weight:600;line-height:1.5;margin:10px 0;color:var(--deep)}.blog-post h2 a:hover{color:var(--pink)}.blog-post p{font-size:13px;color:var(--muted);line-height:1.8;margin:0 0 12px}.blog-read-link{font-size:12px;color:var(--pink);font-weight:600}.blog-featured{grid-template-columns:1fr;gap:20px}.blog-featured .blog-post-image{aspect-ratio:16/9}.blog-featured h2{font-size:26px;line-height:1.45}.blog-right-section{padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid var(--line)}.blog-recent{display:flex;gap:12px;margin:18px 0;align-items:start}.blog-recent img{width:64px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0}.blog-recent b{display:block;font-size:12px;font-weight:500;line-height:1.7}.blog-recent small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.blog-help{padding:22px;background:#fff0f6;border-radius:14px}.blog-help h2{font-size:24px;line-height:1.35;margin:12px 0}.blog-help p{font-size:12px;line-height:1.8;color:var(--muted)}.blog-help .btn{width:100%;font-size:12px;min-height:44px}.blog-social a{display:block;font-size:12px;color:var(--pink);margin:12px 0}.blog-empty{padding:36px 20px;border:1px dashed var(--line);border-radius:12px;text-align:center}.blog-empty h2{font-size:22px}.blog-empty p{font-size:13px;color:var(--muted)}
@media(max-width:1150px){.blog-layout{grid-template-columns:150px minmax(0,1fr) 220px;gap:24px}.blog-post{grid-template-columns:140px minmax(0,1fr);gap:18px}.blog-featured{grid-template-columns:1fr}.blog-post h2{font-size:17px}.blog-featured h2{font-size:23px}}
@media(max-width:900px){.blog-layout{grid-template-columns:minmax(0,1fr) 240px}.blog-left{grid-column:1/-1;position:static}.blog-topics{flex-direction:row;overflow:auto;padding-bottom:8px;gap:8px}.blog-topics a{white-space:nowrap;border:1px solid var(--line)}.blog-left-section{display:none}.blog-left .blog-side-title{margin-bottom:10px}}
@media(max-width:650px){.blog-heading{padding:32px 20px 24px}.blog-layout{grid-template-columns:1fr;padding:24px 20px 48px;gap:24px}.blog-right{display:grid;grid-template-columns:1fr;gap:22px}.blog-post{grid-template-columns:100px minmax(0,1fr);gap:15px}.blog-featured{grid-template-columns:1fr}.blog-featured h2{font-size:23px}.blog-post h2{font-size:16px;margin-top:7px}.blog-post:not(.blog-featured) p{display:none}.blog-search button{padding:10px 12px}.blog-right-section{margin:0;padding-bottom:22px}.blog-recent img{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.blog-post-image img{transition:none}.blog-post-image:hover img{transform:none}}
.post-breadcrumb{max-width:1360px;margin:0 auto;padding:28px 28px 0;display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted)}.post-layout{max-width:1360px;margin:auto;display:grid;grid-template-columns:180px minmax(0,1fr) 250px;gap:38px;padding:32px 28px 70px;align-items:start}.post-left{position:sticky;top:110px;min-width:0}.post-back{display:block;font-size:12px;color:var(--pink);margin-bottom:26px}.post-toc h2{font-family:inherit;font-size:13px;font-weight:650;margin:0 0 16px}.post-toc>div{display:flex;flex-direction:column;gap:12px;max-height:50vh;overflow:auto;padding-right:8px}.post-toc a{font-size:12px;line-height:1.7;color:var(--muted);padding-left:12px;border-left:2px solid var(--line);overflow-wrap:anywhere}.post-toc a:hover,.post-toc a:focus{color:var(--pink);border-color:var(--pink)}.post-left-note{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.post-left-note .eyebrow{font-size:9px}.post-left-note p{font-size:12px;line-height:1.9;color:var(--muted)}.post-left-note>a{color:var(--pink);font-size:12px}.post-main{min-width:0}.post-heading h1{font-size:clamp(28px,3.2vw,43px);line-height:1.25;letter-spacing:-.6px;margin:15px 0 22px;font-weight:500;overflow-wrap:anywhere}.post-heading>.eyebrow{font-size:10px}.post-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:var(--muted)}.post-lead{font-size:16px;line-height:1.9;color:#64515e;margin:25px 0}.post-cover{margin:24px 0 32px}.post-cover img{width:100%;height:auto;border-radius:14px;display:block}.post-body{font-size:15px;line-height:1.95;color:#4f3e49;overflow-wrap:anywhere}.post-body h2,.post-body h3{font-family:inherit;scroll-margin-top:115px;line-height:1.45}.post-body h2{font-size:24px;margin:36px 0 16px}.post-body h3{font-size:19px;margin:28px 0 14px}.post-body p{margin:16px 0}.post-body ul,.post-body ol{padding-left:25px}.post-body li{padding:4px 0}.post-body blockquote{margin:26px 0;padding:18px 22px;border-left:3px solid var(--pink);background:#fff0f6;border-radius:0 12px 12px 0}.post-body img{max-width:100%;height:auto;border-radius:10px}.post-body table{display:block;max-width:100%;overflow:auto;font-size:13px}.post-article-footer{display:block;background:transparent;border:0;border-top:1px solid var(--line);padding:24px 0 0;margin-top:35px}.post-article-footer p{font-size:11px;color:var(--muted);line-height:1.8}.post-article-footer .button-row{margin-top:20px}.post-article-footer .btn{font-size:12px;min-height:44px}.post-shop-link{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.post-shop-link p{font-size:12px;line-height:1.8;color:var(--muted)}.post-shop-link a{display:block;font-size:12px;color:var(--pink);margin-top:12px}
@media(max-width:1100px){.post-layout{grid-template-columns:150px minmax(0,1fr) 210px;gap:24px}.post-heading h1{font-size:32px}}
@media(max-width:900px){.post-layout{grid-template-columns:minmax(0,1fr) 230px}.post-left{grid-column:1/-1;position:static;display:flex;flex-direction:column}.post-toc>div{flex-direction:row;max-height:none;overflow:auto;padding-bottom:8px}.post-toc a{min-width:160px;max-width:230px;flex-shrink:0}.post-left-note{display:none}.post-back{margin-bottom:16px}.post-toc h2{margin-bottom:12px}}
@media(max-width:650px){.post-layout{grid-template-columns:1fr;padding:24px 20px 48px;gap:25px}.post-breadcrumb{padding:24px 20px 0}.post-heading h1{font-size:30px}.post-lead{font-size:15px}.post-body{font-size:15px;line-height:1.9}.post-body h2{font-size:22px}.post-body h3{font-size:18px}.post-right{border-top:1px solid var(--line);padding-top:28px}.post-article-footer .button-row{flex-wrap:wrap;gap:10px}}

.site-footer{display:block;max-width:none;margin:0;padding:0;border-top:1px solid #ead6e0;background:linear-gradient(180deg,#fff3f8,#fffafc);color:#382331}.site-footer-intro{max-width:1320px;margin:auto;padding:38px 28px;display:flex;justify-content:space-between;align-items:center;gap:30px;border-bottom:1px solid #ead6e0}.site-footer-intro .eyebrow{font-size:9px;letter-spacing:1.8px}.site-footer-intro h2{font-size:30px;font-weight:500;line-height:1.3;margin:12px 0}.site-footer-intro p{font-size:13px;line-height:1.8;color:#766570;margin:0}.site-footer-intro>.btn{display:inline-flex;flex-shrink:0;font-size:13px;min-height:46px}.site-footer-main{max-width:1320px;margin:auto;padding:44px 28px;display:grid;grid-template-columns:minmax(0,1.35fr) 1fr 1fr 1.15fr;gap:45px}.site-footer .brand{font-size:29px}.site-footer .brand span{font-size:8px}.site-footer-main h3{font-family:inherit;font-size:13px;font-weight:650;margin:0 0 20px}.site-footer-main nav>a,.site-footer-connect>a{display:block;padding:7px 0;font-size:12px;color:#66535f;line-height:1.6;text-decoration:none}.site-footer-main a:hover{color:#b83268}.site-footer-brand>p{font-size:12px;line-height:1.9;color:#766570;max-width:300px;margin:17px 0}.site-footer-brand address{font-style:normal;font-size:12px;line-height:1.8;margin-top:16px;color:#66535f}.footer-contact-label{display:block;font-size:10px;color:#8b7481;letter-spacing:.4px;margin-bottom:4px}.site-footer .footer-phone{display:block;font-size:14px;font-weight:600;margin-top:16px;color:#b83268}.footer-shopping-note{border:1px solid #ebd6e0;border-radius:10px;padding:14px;margin-top:16px;background:#ffffff80}.footer-shopping-note b{font-size:11px;font-weight:600}.footer-shopping-note p{font-size:11px;line-height:1.8;color:#766570;margin:6px 0 0}.site-footer-bottom{max-width:1320px;margin:auto;padding:22px 28px;border-top:1px solid #ead6e0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;color:#766570;font-size:11px}.site-footer-bottom p{margin:0;font-size:11px}.site-footer-bottom nav{display:flex;flex-wrap:wrap;gap:20px}.site-footer-bottom a{font-size:11px;color:#766570}
@media(max-width:1000px){.site-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.site-footer-intro h2{font-size:27px}}
@media(max-width:600px){.site-footer-intro{padding:30px 20px;flex-direction:column;align-items:start;gap:20px}.site-footer-intro h2{font-size:26px}.site-footer-main{padding:32px 20px;gap:28px 20px}.site-footer-brand,.site-footer-connect{grid-column:1/-1}.site-footer-main h3{margin-bottom:12px}.site-footer-main nav>a,.site-footer-connect>a{font-size:13px;padding:9px 0}.site-footer-bottom{padding:22px 20px;flex-direction:column;align-items:start;gap:16px}.site-footer-bottom nav{gap:16px}}

/* ==========================================================================
   THẮM NGUYỄN × DOVA – LUXURY STOREFRONT & RESPONSIVE DESIGN SYSTEM
   Modern UI, Mobile-First Hierarchy, VIP Customer Portal, & High-Converting UX
   ========================================================================== */

:root {
  --pink-primary: #b83268;
  --pink-deep: #901b4c;
  --pink-hover: #9c2153;
  --pink-soft: #fff2f7;
  --pink-bg: #fff8fb;
  --pink-gradient: linear-gradient(135deg, #d33c77 0%, #b83268 50%, #9c2153 100%);
  --gold-primary: #c7a574;
  --gold-soft: #fcf6eb;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  --emerald: #10b981;
  --emerald-soft: #ecfdf5;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --shadow-float: 0 12px 36px rgba(184, 50, 104, 0.15);
  --shadow-card: 0 4px 20px rgba(56, 35, 49, 0.06);
  --shadow-hover: 0 10px 28px rgba(184, 50, 104, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

/* ==========================================================================
   GLOBAL UTILITIES & RESETS
   ========================================================================== */
.desktop-only { display: block !important; }
.mobile-only { display: none !important; }

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

/* ==========================================================================
   HEADER & ANNOUNCEMENT BAR (RESPONSIVE & LUXURY)
   ========================================================================== */
.announcement {
  background: linear-gradient(110deg, #8a1745 0%, #b83268 45%, #ca3b73 75%, #8a1745 100%);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  position: relative;
  z-index: 51;
}

.announcement-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.announcement-content::-webkit-scrollbar { display: none; }

.announcement a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.announcement a:hover { opacity: 0.85; }

.announcement-sparkle { color: #ffd3e4; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(238, 221, 229, 0.8);
  box-shadow: 0 4px 24px rgba(56, 35, 49, 0.04);
}

.brand {
  display: flex;
  flex-direction: column;
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--pink-primary);
  line-height: 1.1;
  text-decoration: none;
}

.brand span {
  font-family: var(--sans, 'Be Vietnam Pro', sans-serif);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 2px;
}

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

.header-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fdf5f8;
  color: var(--deep);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-icon-link:hover {
  background: var(--pink-soft);
  color: var(--pink-primary);
  transform: scale(1.05);
}

.header-account-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: #fdf5f8;
  color: var(--deep);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-account-link:hover {
  background: var(--pink-soft);
  color: var(--pink-primary);
}

.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink-primary);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cart-link:hover {
  background: var(--pink-primary);
  color: #ffffff;
}

.cart-link:hover .cart-badge-num {
  background: #ffffff;
  color: var(--pink-primary);
}

.cart-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--pink-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fdf5f8;
  border: 1px solid var(--line);
  font-size: 20px;
  color: var(--deep);
}

/* Mobile Nav Menu (Compact floating card modal - NOT full screen) */
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(35, 20, 30, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 998;
  pointer-events: auto;
  animation: navBackdropIn 0.2s ease;
}

@keyframes navBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-nav {
  position: fixed !important;
  top: calc(var(--mobile-nav-top, 64px) + 6px) !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: min(260px, calc(100vw - 24px)) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(390px, calc(var(--mobile-viewport-height, 100dvh) - var(--mobile-nav-top, 64px) - 20px)) !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid #ebd4e1 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 36px rgba(56, 35, 49, 0.2), 0 3px 12px rgba(184, 50, 104, 0.08) !important;
  z-index: 999 !important;
  padding: 10px 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  animation: navModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes navModalIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-nav-header {
  border-bottom: 1px solid #f2e1ea !important;
  padding-bottom: 6px !important;
  margin-bottom: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.mobile-nav-header b {
  display: block !important;
  font-size: 13.5px !important;
  color: #2b1824 !important;
  font-weight: 700 !important;
}

.mobile-nav-subtitle {
  font-size: 10.5px !important;
  color: #8b7481 !important;
}

.mobile-nav-close {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  border-radius: 50% !important;
  border: 1px solid #ebd4e1 !important;
  background: #fff5f9 !important;
  color: #b83268 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}

.mobile-nav-close:hover {
  background: #b83268 !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

.mobile-nav a {
  display: flex !important;
  align-items: center !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: #fffafd !important;
  border: 1px solid #f6e6ef !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #382331 !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(56, 35, 49, 0.02) !important;
  transition: all 0.16s ease !important;
  min-height: 33px !important;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  background: #fdf0f6 !important;
  color: #b83268 !important;
  border-color: #f1b3cb !important;
  transform: translateX(2px) !important;
}

.mobile-nav-footer {
  margin-top: 4px !important;
  padding-top: 6px !important;
  border-top: 1px solid #f2e1ea !important;
  text-align: center !important;
}

.mobile-nav-footer p {
  margin: 0 0 5px !important;
  font-size: 11px !important;
  color: #44303c !important;
}

.mobile-nav-footer p b {
  color: #b83268 !important;
}

.mobile-nav-socials {
  display: flex !important;
  gap: 6px !important;
  justify-content: center !important;
}

.mobile-nav-socials a {
  padding: 4px 7px !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  background: #fcf4f8 !important;
  border: 1px solid #ebd6e2 !important;
  border-radius: 6px !important;
  min-height: unset !important;
  color: #6d5462 !important;
}

.mobile-nav-socials a:hover {
  color: #b83268 !important;
  background: #ffffff !important;
  border-color: #b83268 !important;
}

@media (max-width: 768px) {
  .header { padding: 10px 16px; }
  .brand { font-size: 21px; }
  .brand span { font-size: 7.5px; letter-spacing: 1px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-account-link .acc-text { display: none; }
  .header-account-link { padding: 8px; width: 38px; height: 38px; justify-content: center; }
  .cart-link .cart-lbl { display: none; }
  .cart-link { padding: 6px 10px; }
  .announcement-desktop-links { display: none; }
  .announcement { font-size: 11.5px; padding: 6px 12px; }
}

/* ==========================================================================
   PRODUCT CARD COMPONENT (2-COLUMN LUXURY MOBILE GRID)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    row-gap: 20px !important;
  }
}

.tn-card {
  background: #ffffff;
  border: 1.5px solid #f2e3eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
}

.tn-card:hover {
  transform: translateY(-5px);
  border-color: #e5b9cf;
  box-shadow: var(--shadow-hover);
}

.tn-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: radial-gradient(circle at center, #ffffff 0%, #fff7fa 100%);
  overflow: hidden;
  display: block;
}

.tn-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tn-card:hover .tn-card-media img {
  transform: scale(1.06);
}

.tn-card-badges {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 5 !important;
  width: auto !important;
  max-width: 90% !important;
  pointer-events: none !important;
}

.tn-card-tag {
  position: static !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  width: auto !important;
  min-width: max-content !important;
  height: 25px !important;
  line-height: 25px !important;
  padding: 0 10px !important;
  border-radius: 9999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16) !important;
  user-select: none !important;
}

.tag-sale {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.tag-genuine {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--pink-primary) !important;
  border: 1px solid #f1c7d8 !important;
  backdrop-filter: blur(8px) !important;
}

.tag-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #ffffff !important;
}

.tag-bundle {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
}

.tag-demo {
  background: #64748b !important;
  color: #ffffff !important;
}

.tn-card-preview {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--pink-primary);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.24s ease;
  pointer-events: none;
}

.tn-card:hover .tn-card-preview {
  opacity: 1;
  transform: translateY(0);
}

.tn-card-copy {
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tn-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tn-card-category {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tn-card-stars {
  color: #f59e0b;
  font-size: 11px;
}

.tn-card-title {
  text-decoration: none;
  margin-bottom: 12px;
  display: block;
}

.tn-card-title h3 {
  font-family: var(--sans, 'Be Vietnam Pro', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--deep);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.tn-card-title:hover h3 {
  color: var(--pink-primary);
}

.tn-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid #f9eff4;
}

.tn-card-price {
  display: flex;
  flex-direction: column;
}

.tn-card-price strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--pink-primary);
  line-height: 1.2;
}

.tn-card-price del {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.tn-card-action {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.tn-card-action:hover {
  background: var(--pink-gradient);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.35);
}

@media (max-width: 480px) {
  .tn-card-copy { padding: 12px 10px 10px; }
  .tn-card-title h3 { font-size: 13px; line-height: 1.4; }
  .tn-card-price strong { font-size: 15px; }
  .tn-card-price del { font-size: 11px; }
  .tn-card-action { width: 32px; height: 32px; font-size: 16px; }
  .tn-card-tag { font-size: 10px; padding: 3px 8px; }
}

/* ==========================================================================
   COLLECTION / SHOP PAGE UPGRADES
   ========================================================================== */
.collection-heading {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
}

.collection-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.collection-breadcrumb a { color: var(--muted); text-decoration: none; }
.collection-breadcrumb a:hover { color: var(--pink-primary); }

.collection-heading .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pink-primary);
  margin-bottom: 8px;
  display: block;
}

.collection-heading h1 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--deep);
  margin: 0 0 12px;
}

.collection-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 650px;
}

.collection-note {
  background: linear-gradient(135deg, #fff7fb 0%, #fff0f6 100%);
  border: 1.5px solid #f3d4e3;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
}

.collection-note-mark { font-size: 24px; }
.collection-note-body b { display: block; font-size: 15px; color: var(--deep); }
.collection-note-body span { font-size: 13px; color: var(--muted); }
.collection-note-link { font-size: 13px; font-weight: 600; color: var(--pink-primary); text-decoration: underline; }

/* Category Scrolling Ribbon */
.collection-categories-scroll {
  width: 100%;
  margin-bottom: 20px;
}

.collection-categories-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
}

.collection-categories-inner::-webkit-scrollbar { display: none; }

.cat-pill {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  background: #ffffff;
  color: var(--deep);
  border: 1.5px solid #eedde5;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(56, 35, 49, 0.04);
}

.cat-pill:hover {
  border-color: #dcaec5;
  background: var(--pink-soft);
  color: var(--pink-primary);
}

.cat-pill.active {
  background: var(--pink-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.35);
}

/* Compact Toolbar */
.collection-toolbar {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.toolbar-search-wrap {
  position: relative;
  flex: 1;
}

.toolbar-search-wrap input {
  width: 100%;
  height: 42px;
  padding: 8px 44px 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #eedde5;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.toolbar-search-wrap input:focus {
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.12);
}

.toolbar-search-btn {
  position: absolute;
  right: 6px;
  top: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: none;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toolbar-filters-row {
  display: flex;
  gap: 10px;
}

.toolbar-filters-row select {
  height: 42px;
  padding: 0 32px 0 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #eedde5;
  font-size: 13.5px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b83268' d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.toolbar-filters-row select:focus {
  border-color: var(--pink-primary);
  outline: none;
}

.collection-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.collection-results-bar b { color: var(--deep); }
.collection-clear-filters { color: var(--pink-primary); font-weight: 600; text-decoration: none; }

@media (max-width: 768px) {
  .collection-heading {
    grid-template-columns: 1fr;
    padding: 16px 16px 10px;
    gap: 12px;
  }
  .collection-heading h1 { font-size: 24px; margin-bottom: 4px; }
  .collection-description {
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .collection-note { display: none; } /* Hide huge quote on mobile to reveal products immediately! */
  
  .collection-toolbar {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }
  .toolbar-filters-row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .toolbar-filters-row select { width: 100%; font-size: 12.5px; height: 38px; }
  .toolbar-search-wrap input { height: 38px; font-size: 13px; }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE UPGRADES & STICKY MOBILE CONVERSION BAR
   ========================================================================== */
.pd-breadcrumb {
  max-width: 1320px;
  margin: 16px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.pd-breadcrumb a { color: var(--muted); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--pink-primary); }

.pd-layout {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pd-main-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 0%, #fff7fa 100%);
  border: 1.5px solid #f2e3eb;
  aspect-ratio: 1 / 1.1;
}

.pd-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.pd-zoom-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}

.pd-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-thumbnails::-webkit-scrollbar { display: none; }

.pd-thumbnails button {
  width: 72px;
  height: 78px;
  border-radius: 12px;
  border: 1.5px solid #f2e3eb;
  background: #ffffff;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pd-thumbnails button.active, .pd-thumbnails button:hover {
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 2px rgba(184, 50, 104, 0.2);
}

.pd-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pd-badge-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--pink-primary);
  background: var(--pink-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pd-rating-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.pd-rating-stars .stars { color: #f59e0b; }
.pd-rating-stars .score { font-weight: 700; }
.pd-rating-stars .sold { color: var(--muted); font-size: 12.5px; }

.pd-title {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--deep);
  margin: 0 0 14px;
}

.pd-facts {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pd-category-link {
  color: var(--pink-primary);
  font-weight: 600;
  text-decoration: none;
}

.pd-price-box {
  background: linear-gradient(135deg, #fff7fb 0%, #fff1f6 100%);
  border: 1.5px solid #f3d4e3;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
}

.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.pd-main-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--pink-primary);
  line-height: 1;
}

.pd-compare-price {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}

.pd-save-badge {
  background: #ef4444;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.pd-shipping-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: #047857;
}

.pd-short-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a3845;
  margin-bottom: 22px;
}

.pd-short-desc p { margin: 0 0 8px; }

/* Quick Highlights list */
.pd-highlights-list {
  background: #fdf8fb;
  border: 1.5px solid #f6e4ef;
  border-radius: var(--radius-md, 14px);
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-hl-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #42303c;
}

.pd-hl-row b {
  color: #2b1824;
}

.pd-hl-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.pd-purchase {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.pd-purchase-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--deep);
}

.pd-field-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--deep);
}

.pd-variant-label select {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #eedde5;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
}

.pd-variant-label select:focus {
  border-color: var(--pink-primary);
  outline: none;
}

.pd-qty-row {
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pd-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #ffffff;
}

.pd-qty-stepper button {
  width: 40px;
  height: 40px;
  background: #fdf5f8;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.pd-qty-stepper button:hover {
  background: var(--pink-soft);
  color: var(--pink-primary);
}

.pd-qty-stepper input {
  width: 50px;
  height: 40px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  -moz-appearance: textfield;
}

.pd-qty-stepper input::-webkit-outer-spin-button,
.pd-qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-buttons-row {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr !important;
  gap: 14px !important;
  margin-top: 22px !important;
}

.pd-buy-now-btn {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 14px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 22px rgba(173, 20, 87, 0.4) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  min-height: 64px !important;
}

.pd-buy-now-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(173, 20, 87, 0.55) !important;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
}

.pd-buy-now-btn *,
.pd-buy-now-btn span,
.pd-buy-now-btn small,
.pd-buy-now-btn b {
  color: #ffffff !important;
  text-align: center !important;
}

.pd-buy-now-btn .pd-btn-main-text {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.pd-buy-now-btn .pd-btn-sub-text,
.pd-buy-now-btn small {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #fff0f5 !important;
  opacity: 0.95 !important;
  line-height: 1.2 !important;
}

.pd-add-cart-btn {
  border: 2px solid var(--pink-primary) !important;
  color: var(--pink-primary) !important;
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  min-height: 64px !important;
}

.pd-add-cart-btn:hover {
  background: #fdf2f7 !important;
  border-color: var(--pink-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(184, 50, 104, 0.15) !important;
}

.pd-add-cart-btn .pd-btn-main-text {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--pink-primary) !important;
  line-height: 1.2 !important;
}

.pd-add-cart-btn .pd-btn-sub-text {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #83274c !important;
  line-height: 1.2 !important;
}

/* Trust Badges Strip */
.pd-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #faf4f7;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-trust-icon { font-size: 22px; flex-shrink: 0; }
.pd-trust-text b { display: block; font-size: 13px; color: var(--deep); line-height: 1.2; }
.pd-trust-text small { font-size: 11px; color: var(--muted); }

.pd-extra-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

.pd-policy-links {
  display: flex;
  gap: 12px;
}

.pd-policy-links a { color: var(--muted); text-decoration: underline; }
.pd-fav-btn { color: var(--pink-primary); font-weight: 600; }

/* Sticky Mobile Purchase Bar */
.pd-mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid #f2e3eb;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 99;
  box-shadow: 0 -4px 20px rgba(56, 35, 49, 0.1);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pd-sticky-price-col {
  display: flex;
  flex-direction: column;
}

.pd-sticky-lbl { font-size: 10.5px; color: var(--muted); }
.pd-sticky-price { font-size: 19px; font-weight: 800; color: var(--pink-primary); }

.pd-sticky-buttons {
  display: flex;
  gap: 8px;
  flex: 1;
  max-width: 260px;
}

.pd-btn-sticky-cart {
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

.pd-btn-sticky-buy {
  background: var(--pink-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  flex: 1 !important;
  white-space: nowrap !important;
}

/* ==========================================================================
   PRODUCT DETAILED INFORMATION (TABS SYSTEM & LUXURY TYPOGRAPHY)
   ========================================================================== */
.pd-information {
  max-width: 1320px;
  margin: 40px auto 0;
  padding: 0 24px;
}

/* Tab Navigation Strip - Pill Bar with Smooth Horizontal Scrolling */
.pd-tabs-nav,
.pd-content-nav {
  display: flex !important;
  gap: 10px !important;
  border-bottom: 2px solid #eedde5 !important;
  padding: 4px 2px 14px !important;
  margin-bottom: 28px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}

.pd-tabs-nav::-webkit-scrollbar,
.pd-content-nav::-webkit-scrollbar {
  display: none !important;
}

/* Tab Buttons - Pill Rounded Buttons (Dova Rose Theme) */
.pd-tab-btn,
.pd-content-nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #5c4251 !important;
  background: #ffffff !important;
  border: 1.5px solid #ebd6e2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
  outline: none !important;
  font-family: inherit !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.pd-tab-btn:hover,
.pd-content-nav a:hover {
  background: var(--pink-soft, #fff2f7) !important;
  color: var(--pink-primary, #b83268) !important;
  border-color: #f1b3cb !important;
  transform: translateY(-1px) !important;
}

.pd-tab-btn.active,
.pd-content-nav a.active {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.35) !important;
  font-weight: 700 !important;
}

/* Tab Panels & Animation */
.pd-tab-panel {
  animation: pdTabFadeIn 0.25s ease;
}

@keyframes pdTabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pd-information-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
}

/* First heading in tab panels (clean line instead of harsh divider) */
.pd-tab-panel > h2:first-child {
  font-size: 22px;
  font-weight: 700;
  color: #2b1824;
  margin: 0 0 16px;
  border-bottom: 2px solid #f6e6ef;
  padding-bottom: 10px;
  line-height: 1.35;
}

/* Prose override inside product tabs to fix oversized 30px headings and dividers */
.pd-article.prose h2,
.pd-tab-panel h2 {
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: #2b1824;
  margin: 26px 0 12px;
  border-bottom: 1.5px solid #f4e3ed;
  padding-bottom: 8px;
  line-height: 1.35;
}

.pd-article.prose h3,
.pd-tab-panel h3 {
  font-size: 17px;
  font-weight: 700;
  color: #b83268;
  margin: 20px 0 10px;
}

.pd-article.prose p,
.pd-tab-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: #3f2d39;
  margin-bottom: 16px;
}

/* Markdown Description Body with Elegant Ruby Accents */
.pd-markdown-body {
  font-size: 15px;
  line-height: 1.85;
  color: #4a3845;
  margin-bottom: 28px;
}

.pd-markdown-body h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #381f2d !important;
  margin: 26px 0 12px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.pd-markdown-body h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #d81b60, #ad1457);
}

.pd-markdown-body strong { color: var(--deep); font-weight: 700; }
.pd-markdown-body ul { padding-left: 20px; margin: 12px 0; }
.pd-markdown-body li { margin-bottom: 8px; line-height: 1.75; }
.pd-markdown-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  margin: 16px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Sidebar Help Box (Thắm Nguyễn 1-1 Consultation) */
.pd-help {
  background: linear-gradient(135deg, #fff7fb 0%, #fdecf4 100%);
  border: 1.5px solid #f1d5e3;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  align-self: start;
}

.pd-help .eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--pink-primary);
  display: block;
  margin-bottom: 8px;
}

.pd-help h2 { font-size: 20px; margin: 0 0 12px; color: var(--deep); line-height: 1.35; }
.pd-help p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.pd-help-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.pd-help-contacts .btn { width: 100%; font-size: 13.5px; padding: 12px; }

@media (max-width: 900px) {
  .pd-information-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   VIP ACCOUNT DASHBOARD (LUXURY CLIENT PORTAL)
   ========================================================================== */
.acc-hero {
  background: radial-gradient(ellipse at 90% 10%, #fadfe9 0%, transparent 60%),
              linear-gradient(135deg, #fff8fb 0%, #fff1f6 100%);
  border-bottom: 1.5px solid #eedde5;
  padding: 44px 24px;
}

.acc-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.acc-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.acc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pink-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(184, 50, 104, 0.3);
  flex-shrink: 0;
}

.acc-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--pink-primary);
  display: block;
  margin-bottom: 4px;
}

.acc-profile-info h1 {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--deep);
  margin: 0 0 8px;
}

.acc-meta-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.acc-pill-email {
  font-size: 13px;
  color: var(--muted);
}

.acc-status-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.tag-verified { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.tag-unverified { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.tag-admin { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }

.acc-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.acc-btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

.acc-logout-form { margin: 0; }
.acc-logout-btn { color: #dc2626 !important; border-color: #fca5a5 !important; }
.acc-logout-btn:hover { background: #fef2f2 !important; }

/* Notice box */
.acc-notice-box {
  background: #fffbeb;
  border: 1.5px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.acc-notice-text b { display: block; font-size: 14.5px; color: #92400e; margin-bottom: 2px; }
.acc-notice-text p { font-size: 13px; color: #b45309; margin: 0; }

/* Stats Grid */
.acc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.acc-stat-card {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.acc-stat-card:hover { transform: translateY(-3px); }

.acc-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--pink-soft);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.acc-stat-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.2;
}

.acc-stat-lbl {
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .acc-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .acc-stats-grid { grid-template-columns: 1fr; }
}

/* Tabs Navigation */
.acc-nav-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #eedde5;
  padding-bottom: 12px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.acc-nav-tabs::-webkit-scrollbar { display: none; }

.acc-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
  background: #ffffff;
  border: 1.5px solid #eedde5;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.acc-tab-btn:hover {
  background: var(--pink-soft);
  color: var(--pink-primary);
  border-color: #dcaec5;
}

.acc-tab-btn.active {
  background: var(--pink-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.3);
}

.acc-stat-card {
  cursor: pointer;
  user-select: none;
  transition: all 0.22s ease;
}

.acc-stat-card:hover {
  transform: translateY(-4px);
  border-color: #dcaec5;
  box-shadow: 0 8px 24px rgba(184, 50, 104, 0.15);
}

.acc-stat-card.active-stat {
  border-color: var(--pink-primary);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f9 100%);
  box-shadow: 0 6px 20px rgba(184, 50, 104, 0.12);
}

.acc-stat-card.active-stat .acc-stat-lbl {
  color: var(--pink-primary);
  font-weight: 700;
}

.acc-tab-pane { display: none; }
.acc-tab-pane.active { display: block !important; animation: tabFade 0.25s ease-out; }

@keyframes tabFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.acc-pane-header {
  margin-bottom: 20px;
}

.acc-pane-header h2 { font-size: 22px; margin: 0 0 6px; color: var(--deep); }
.acc-pane-header p { font-size: 14px; color: var(--muted); margin: 0; }

/* Orders Table & Cards */
.acc-table-card {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

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

.acc-table-card th {
  background: #fdf5f8;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  border-bottom: 1.5px solid #eedde5;
}

.acc-table-card td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid #f6ecf0;
  vertical-align: middle;
}

.acc-order-code {
  font-weight: 700;
  color: var(--pink-primary);
  text-decoration: none;
}

.acc-type-pill {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #fdf5f8;
  color: var(--muted);
}

.acc-order-price {
  color: var(--deep);
  font-weight: 700;
}

.acc-status-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
}

.status-paid, .status-completed { background: #ecfdf5; color: #047857; }
.status-unpaid, .status-pending { background: #fffbeb; color: #b45309; }
.status-confirmed, .status-shipping { background: #eff6ff; color: #1d4ed8; }
.status-cancelled { background: #fef2f2; color: #b91c1c; }

.acc-action-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* Mobile Order Cards */
.acc-order-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.acc-order-card {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.acc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f6ecf0;
}

.acc-card-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  margin-bottom: 14px;
}

.acc-detail-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.acc-total-row {
  padding-top: 6px;
  border-top: 1px dashed #eedde5;
  color: var(--deep);
  font-size: 15px;
}

.acc-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Empty Box */
.acc-empty-box {
  text-align: center;
  background: #ffffff;
  border: 1.5px dashed #e2ccd7;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  margin-bottom: 24px;
}

.acc-empty-icon { font-size: 42px; margin-bottom: 12px; }
.acc-empty-box h3 { font-size: 20px; color: var(--deep); margin: 0 0 8px; }
.acc-empty-box p { font-size: 14.5px; color: var(--muted); max-width: 460px; margin: 0 auto 20px; }

/* Guest Order Sync */
.acc-sync-box {
  background: linear-gradient(135deg, #fff7fb 0%, #ffffff 100%);
  border: 1.5px solid #f1d5e3;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}

.acc-sync-content {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.acc-sync-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.acc-sync-content h3 { font-size: 16.5px; margin: 0 0 6px; color: var(--deep); }
.acc-sync-content p { font-size: 13.5px; color: var(--muted); margin: 0; }

.acc-sync-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.acc-sync-form input {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #eedde5;
  padding: 0 16px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .acc-sync-form { flex-direction: column; }
  .acc-sync-form button { width: 100%; }
}

/* Two Column Form Grid */
.acc-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 900px) {
  .acc-two-col-grid { grid-template-columns: 1fr; }
}

.acc-form-panel {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.acc-form-header {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f6ecf0;
}

.acc-form-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.acc-form-header h3 { font-size: 18px; margin: 0 0 4px; color: var(--deep); }
.acc-form-header p { font-size: 13px; color: var(--muted); margin: 0; }

.acc-form-panel label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--deep);
}

.acc-form-panel input, .acc-form-panel textarea, .acc-form-panel select {
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid #eedde5;
  padding: 0 16px;
  font-size: 14.5px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.acc-form-panel textarea {
  height: auto;
  padding: 12px 16px;
}

.acc-form-panel input:focus, .acc-form-panel textarea:focus, .acc-form-panel select:focus {
  border-color: var(--pink-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.12);
}

.input-disabled {
  background: #faf4f7 !important;
  color: var(--muted) !important;
  cursor: not-allowed;
}

.acc-google-link { margin-top: 14px; }
.acc-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

/* Address Cards */
.acc-saved-addresses-list h3 { font-size: 18px; margin: 0 0 16px; color: var(--deep); }

.acc-address-item-card {
  background: #ffffff;
  border: 1.5px solid #eedde5;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.acc-addr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.acc-addr-top b { font-size: 15px; color: var(--deep); }
.acc-addr-phone { font-size: 13px; color: var(--muted); }
.acc-addr-street { font-size: 14px; color: #4a3845; margin: 0 0 12px; line-height: 1.5; }

.acc-addr-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #f6ecf0;
}

.acc-addr-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink-primary);
  font-weight: 600;
}

.acc-addr-delete-btn {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.acc-addr-delete-btn:hover { text-decoration: underline; }

/* Service Strip & Footer Mobile Refinements */
@media (max-width: 680px) {
  .service-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 24px 16px !important;
  }
  .service-item {
    background: #ffffff;
    border: 1px solid #f2e3eb;
    border-radius: 14px;
    padding: 14px 12px;
    font-size: 11.5px;
  }
  .service-item b {
    display: block;
    font-size: 12.5px;
    margin-bottom: 4px;
    color: var(--deep);
  }
  footer:not(.site-footer):not(.post-article-footer) {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 36px 18px 80px !important;
    text-align: left !important;
  }
  footer:not(.site-footer):not(.post-article-footer) > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  footer:not(.site-footer):not(.post-article-footer) h3 {
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--deep);
    border-bottom: 1px solid #eedde5;
    padding-bottom: 6px;
  }
  footer:not(.site-footer):not(.post-article-footer) a {
    font-size: 13px;
    color: var(--muted);
  }
  .copyright {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #eedde5;
    font-size: 11.5px;
    color: var(--muted);
    text-align: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   FLASH SALE & SPECIAL PROMOTION MODAL POPUP (HOME PAGE)
   ───────────────────────────────────────────────────────────── */
.tn-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.tn-promo-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.tn-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 15, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.tn-promo-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(184, 50, 104, 0.35), 0 0 0 1px rgba(241, 199, 216, 0.6);
  z-index: 1;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tn-promo-modal.is-open .tn-promo-card {
  transform: scale(1) translateY(0);
}

.tn-promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #334155;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.tn-promo-close:hover {
  background: #ffffff;
  color: #e11d48;
  transform: rotate(90deg);
}

.tn-promo-media {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #fdf2f7;
}

.tn-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tn-promo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  text-transform: uppercase;
}

.tn-promo-content {
  padding: 24px;
  text-align: center;
}

.tn-promo-title {
  font-family: var(--font-display, serif);
  font-size: 20px;
  font-weight: 800;
  color: #1e1b1d;
  line-height: 1.35;
  margin: 0 0 10px;
}

.tn-promo-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Countdown */
.tn-promo-timer {
  background: #fdf2f7;
  border: 1px solid #fbcfe8;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.timer-lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #9d174d;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer-boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.timer-box {
  background: #ffffff;
  border: 1px solid #f472b6;
  border-radius: 8px;
  padding: 4px 8px;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(184, 50, 104, 0.08);
}

.timer-box b {
  font-size: 16px;
  font-weight: 800;
  color: #be123c;
  line-height: 1.1;
}

.timer-box small {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 600;
}

.timer-sep {
  font-size: 16px;
  font-weight: 800;
  color: #be123c;
}

.tn-promo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tn-promo-cta-btn {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  padding: 14px 24px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 20px rgba(173, 20, 87, 0.4) !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.tn-promo-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(173, 20, 87, 0.55) !important;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
}

.tn-promo-dismiss {
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 6px;
  text-decoration: underline;
  transition: color 0.2s;
}

.tn-promo-dismiss:hover {
  color: #1e293b;
}

@media (max-width: 520px) {
  .tn-promo-card {
    max-width: 100%;
    border-radius: 20px;
  }
  .tn-promo-media {
    height: 180px;
  }
  .tn-promo-title {
    font-size: 18px;
  }
  .tn-promo-content {
    padding: 18px 16px;
  }
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL DROPDOWN SELECTS ("DANH SÁCH TRỎ XUỐNG")
   ───────────────────────────────────────────────────────────── */
select,
.select,
.form-grid select,
.button-row select,
.collection-toolbar select,
.toolbar-filters-row select,
.pd-variant-label select,
.acc-form-panel select,
.filter-bar select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  line-height: 48px !important;
  padding: 0 42px 0 16px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1e1b1d !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b83268' stroke-width='2.4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  border: 1.5px solid #e7ced9 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

select:hover,
.toolbar-filters-row select:hover,
.pd-variant-label select:hover {
  border-color: #b83268 !important;
  background-color: #fffbfe !important;
  box-shadow: 0 3px 10px rgba(184, 50, 104, 0.08) !important;
}

select:focus,
.toolbar-filters-row select:focus,
.pd-variant-label select:focus {
  border-color: #b83268 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(184, 50, 104, 0.16), 0 2px 8px rgba(184, 50, 104, 0.06) !important;
}

select option {
  padding: 12px 16px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1e1b1d !important;
  background: #ffffff !important;
}

/* ─────────────────────────────────────────────────────────────
   CHECKBOXES & RADIOS & CHECK-LABEL ("LƯU MẬT KHẨU / ĐIỀU KHOẢN")
   ───────────────────────────────────────────────────────────── */
.check-label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1e1b1d !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 6px 0 !important;
}

.check-label span {
  color: #2b252a !important;
}

.check-label input[type="checkbox"],
input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  accent-color: #b83268 !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Radio buttons */
input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  accent-color: #b83268 !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* ─────────────────────────────────────────────────────────────
   AUTHENTICATION FORM ("ĐĂNG NHẬP / GHI NHỚ MẬT KHẨU")
   ───────────────────────────────────────────────────────────── */
.auth-shell {
  padding: 40px 20px 80px !important;
}

.auth-panel {
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 36px 32px !important;
  background: #ffffff !important;
  border: 1.5px solid #f1d5e2 !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 40px rgba(184, 50, 104, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  gap: 18px !important;
}

.auth-panel label {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e1b1d !important;
}

.auth-field-label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #372931 !important;
}

.auth-panel input[type="text"],
.auth-panel input[type="email"],
.auth-panel input[type="password"] {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1e1b1d !important;
  background: #ffffff !important;
  border: 1.5px solid #eedde5 !important;
  border-radius: 12px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.auth-panel input[type="text"]:focus,
.auth-panel input[type="email"]:focus,
.auth-panel input[type="password"]:focus {
  border-color: #b83268 !important;
  box-shadow: 0 0 0 4px rgba(184, 50, 104, 0.14) !important;
  background: #ffffff !important;
}

/* Hàng Ghi nhớ đăng nhập + Quên mật khẩu */
.auth-remember-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: #fff8fb !important;
  border: 1px solid #f6dbe6 !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  margin: 6px 0 !important;
}

.auth-remember-row .check-label,
.auth-panel .check-label {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #3f2a36 !important;
  cursor: pointer !important;
  user-select: none !important;
}

.auth-remember-row .check-label input[type="checkbox"],
.auth-panel .check-label input[type="checkbox"] {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.auth-forgot-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #b83268 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s !important;
}

.auth-forgot-link:hover {
  color: #880e4f !important;
}

/* Nút Submit Đăng nhập / Đăng ký */
.auth-submit-btn {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  min-height: 52px !important;
  width: 100% !important;
  border: none !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(173, 20, 87, 0.38) !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.auth-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(173, 20, 87, 0.5) !important;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
}

/* Nút Tiếp tục với Google */
.auth-google-btn {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  min-height: 50px !important;
  width: 100% !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.auth-google-btn:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}

.auth-links {
  display: flex !important;
  justify-content: center !important;
  gap: 18px !important;
  padding-top: 18px !important;
  border-top: 1px solid #f4e1eb !important;
  margin-top: 8px !important;
}

.auth-links a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-decoration: none !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

.auth-links a:hover,
.auth-links a.active {
  color: #b83268 !important;
  background: #fdf2f7 !important;
}

/* ─────────────────────────────────────────────────────────────
   CHECKOUT TERMS & SUBMIT BUTTON ("CHẤP NHẬN ĐIỀU KHOẢN")
   ───────────────────────────────────────────────────────────── */
.checkout-terms-box {
  background: #fff8fa !important;
  border: 1.5px solid #f9a8d4 !important;
  border-radius: 14px !important;
  padding: 14px 18px !important;
  margin: 18px 0 !important;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.04) !important;
}

.checkout-terms-box .check-label {
  margin: 0 !important;
  align-items: flex-start !important;
}

.checkout-terms-box .check-label input {
  margin-top: 2px !important;
}

.checkout-terms-box span {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #3b2533 !important;
}

.checkout-terms-box a {
  color: #b83268 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.checkout-terms-box a:hover {
  color: #880e4f !important;
}

.checkout-submit-btn {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  min-height: 56px !important;
  width: 100% !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(173, 20, 87, 0.42) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.checkout-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 36px rgba(173, 20, 87, 0.55) !important;
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
}

.checkout-submit-btn span {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Payment choices */
.payment-choice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  border: 1.5px solid #eedde5 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  margin-bottom: 12px !important;
  transition: all 0.2s ease !important;
}

.payment-choice:hover {
  border-color: #f472b6 !important;
  background: #fffbfe !important;
}

.payment-choice:has(input:checked) {
  border-color: #b83268 !important;
  background: #fff8fb !important;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.1) !important;
}

.payment-choice input {
  margin-top: 2px !important;
}

.payment-choice b {
  display: block !important;
  font-size: 15px !important;
  color: #1e1b1d !important;
  margin-bottom: 4px !important;
}

.payment-choice small {
  display: block !important;
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

/* ==========================================================================
   HEADER ACTIONS (SEARCH, ACCOUNT, CART) - PREMIUM, HARMONIOUS & ALIGNED
   ========================================================================== */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.header-actions > a:first-child {
  font-size: 13.5px !important;
  line-height: normal !important;
}

.header-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  min-height: 40px !important;
  width: auto !important;
  min-width: auto !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1.5px solid #f0d5e2 !important;
  background: #ffffff !important;
  color: #382331 !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 2px 6px rgba(184, 50, 104, 0.04) !important;
  line-height: 1 !important;
  position: relative !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.header-action-btn.search-btn {
  width: auto !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
}

.header-action-btn .header-action-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  display: block !important;
  color: inherit !important;
}

.header-action-btn .btn-text {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: inherit !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* Hover style for search & account */
.header-action-btn.search-btn:hover,
.header-action-btn.account-btn:hover {
  background: #fdf2f7 !important;
  border-color: #b83268 !important;
  color: #b83268 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(184, 50, 104, 0.12) !important;
}

/* Nút Giỏ hàng nổi bật tone Berry Dova */
.header-action-btn.cart-btn {
  background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  padding: 0 14px 0 16px !important;
  box-shadow: 0 4px 14px rgba(173, 20, 87, 0.3) !important;
}

.header-action-btn.cart-btn .btn-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.header-action-btn.cart-btn .header-action-icon {
  color: #ffffff !important;
}

.header-action-btn.cart-btn:hover {
  background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(173, 20, 87, 0.42) !important;
}

/* Badge số lượng trong giỏ */
.header-action-btn .cart-badge-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #ad1457 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  margin-left: 4px !important;
  border: none !important;
  line-height: 1 !important;
}

/* Menu mobile toggle button */
.header-actions .menu-toggle {
  display: none;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1.5px solid #f0d5e2 !important;
  color: #382331 !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.2s ease !important;
}

.header-actions .menu-toggle:hover {
  background: #fdf2f7 !important;
  border-color: #b83268 !important;
  color: #b83268 !important;
}

/* Responsive Mobile Navigation */
@media (max-width: 768px) {
  .header-actions {
    gap: 8px !important;
  }
  .header-action-btn {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
  .header-action-btn .btn-text {
    display: none !important;
  }
  .header-action-btn.cart-btn {
    border-radius: 50% !important;
    position: relative !important;
  }
  .header-action-btn.cart-btn .cart-badge-num {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    padding: 0 4px !important;
    background: #ff1744 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    margin: 0 !important;
  }
  .header-actions .menu-toggle {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   PRODUCT VARIANT PICKER (CHIPS / PILLS CARDS - SHOPEE/DOVA STYLE)
   ========================================================================== */
.pd-variant-picker-section {
  margin: 16px 0 20px !important;
}

.pd-variant-picker-section .pd-field-title {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #2b1824 !important;
  margin-bottom: 10px !important;
}

.pd-variant-pills-wrap {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

.pd-variant-chip {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 16px 20px !important;
  background: #ffffff !important;
  border: 2px solid #ecd5e1 !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-align: left !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(184, 50, 104, 0.04) !important;
  font-family: inherit !important;
  width: 100% !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.pd-variant-chip * {
  pointer-events: none !important;
}

.pd-variant-chip:hover {
  border-color: #f472b6 !important;
  background: #fff8fb !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(184, 50, 104, 0.12) !important;
}

.pd-variant-chip.is-active {
  border-color: #b83268 !important;
  background: linear-gradient(135deg, #fff7fb 0%, #fff0f6 100%) !important;
  box-shadow: 0 4px 18px rgba(184, 50, 104, 0.18) !important;
}

.pd-variant-chip.is-active::after {
  content: "✓" !important;
  position: absolute !important;
  top: -8px !important;
  right: -8px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #b83268 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(184, 50, 104, 0.4) !important;
  line-height: 1 !important;
}

.pd-variant-chip .chip-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
}

.pd-variant-chip .chip-name {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1e1b1d !important;
  line-height: 1.3 !important;
}

.pd-variant-chip.is-active .chip-name {
  color: #b83268 !important;
}

.pd-variant-chip .chip-price {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #b83268 !important;
  line-height: 1.2 !important;
}

.pd-variant-chip .chip-badge-deal {
  margin-top: 6px !important;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #b45309 !important;
  background: #fef3c7 !important;
  border: 1px solid #fde68a !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  line-height: 1.3 !important;
}

.pd-variant-chip.is-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  border-color: #e2e8f0 !important;
  background: #f8fafc !important;
}

.pd-variant-chip.is-disabled .chip-badge-soldout {
  margin-top: 6px !important;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ef4444 !important;
  background: #fee2e2 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
}

/* Single variant badge (for simple products with only 1 spec) */
.pd-single-variant-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  background: #fdf5f8 !important;
  border: 1.5px solid #f2e1ea !important;
  font-size: 14px !important;
  color: #382331 !important;
}

.pd-single-variant-badge b {
  color: #b83268 !important;
  font-weight: 700 !important;
}

/* Visually hide select element when chips are active to prevent clumsy dropdown overlapping */
.pd-select-wrap.is-hidden-select {
  display: none !important;
}

/* If select IS visible (fallback), style it beautifully */
.pd-custom-select {
  width: 100% !important;
  height: 48px !important;
  border-radius: 12px !important;
  border: 1.5px solid #eedde5 !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1e1b1d !important;
  background: #ffffff !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}

.pd-custom-select:focus {
  border-color: #b83268 !important;
  box-shadow: 0 0 0 3px rgba(184, 50, 104, 0.12) !important;
}

/* ==========================================================================
   QUANTITY STEPPER ("2. SỐ LƯỢNG") - COMPACT, CRISP, AND FULLY FUNCTIONAL
   ========================================================================== */
.pd-qty-row {
  margin: 18px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.pd-qty-stepper {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #e3d4dc !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  height: 44px !important;
  min-height: 44px !important;
  box-shadow: 0 1px 4px rgba(56, 35, 49, 0.04) !important;
  overflow: hidden !important;
  padding: 2px !important;
  box-sizing: border-box !important;
}

.pd-qty-stepper button {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  background: #fdf5f8 !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #382331 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  line-height: 1 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.pd-qty-stepper button:hover {
  background: #fce7f0 !important;
  color: #b83268 !important;
  transform: scale(1.06) !important;
}

.pd-qty-stepper button:active {
  background: #f8d0e1 !important;
  transform: scale(0.95) !important;
}

/* Complete override of storefront.css line 4326 */
.pd-purchase .pd-qty-stepper input,
.pd-qty-stepper input,
.pd-qty-stepper input[name="quantity"],
#pd-qty-input {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e1b1d !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -moz-appearance: textfield !important;
  cursor: text !important;
  pointer-events: auto !important;
  line-height: 38px !important;
}

.pd-qty-stepper input::-webkit-outer-spin-button,
.pd-qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM - ULTRA COMPACT & CORE FOCUS (< 768px & < 480px)
   Thu gọn, loại bỏ các chi tiết thừa, tập trung tối đa vào mục chính đặt hàng & xem nội dung
   ========================================================================== */
@media (max-width: 768px) {
  /* Safe spacing for mobile sticky bar */
  body {
    /* padding-bottom: 74px !important; */
  }

  /* Breadcrumb thu gọn 1 hàng mượt mà */
  .pd-breadcrumb {
    font-size: 12px !important;
    padding: 6px 14px !important;
    margin: 4px 0 8px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  /* Layout container thu bé khoảng cách */
  .pd-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 10px 14px 24px !important;
  }

  /* ẨN HOÀN TOÀN zoom hint trên mobile vì người dùng thao tác chạm/vuốt */
  .pd-zoom-hint {
    display: none !important;
  }

  /* Ảnh chính tỷ lệ 1:1 vuông vức, bo tròn vừa vặn, không chiếm hết màn hình */
  .pd-main-media {
    border-radius: 14px !important;
    aspect-ratio: 1 / 1 !important;
    max-height: 380px !important;
  }

  /* Thumbnails nhỏ xinh xếp ngang */
  .pd-thumbnails {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .pd-thumbnails button {
    width: 52px !important;
    height: 56px !important;
    border-radius: 10px !important;
  }

  /* Header meta & Tiêu đề thu bé kích thước */
  .pd-header-meta {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .pd-badge-brand {
    font-size: 10.5px !important;
    padding: 3px 8px !important;
  }

  .pd-rating-stars {
    font-size: 12px !important;
  }

  /* Tiêu đề sản phẩm thu gọn từ 32px xuống 20px - vừa vặn 2 dòng */
  .pd-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
  }

  .pd-facts {
    font-size: 12px !important;
    margin-bottom: 12px !important;
    gap: 12px !important;
  }

  /* Hộp giá thu nhỏ padding, giá nổi bật vừa mắt */
  .pd-price-box {
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
    border-radius: 14px !important;
  }

  .pd-price-row {
    gap: 10px !important;
  }

  .pd-main-price {
    font-size: 24px !important;
  }

  .pd-compare-price {
    font-size: 14px !important;
  }

  .pd-save-badge {
    font-size: 11px !important;
    padding: 2px 7px !important;
  }

  .pd-shipping-badge {
    font-size: 12px !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
  }

  /* Danh sách điểm nổi bật thu nhỏ tinh tế */
  .pd-highlights-list {
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
    gap: 6px !important;
    border-radius: 12px !important;
  }

  .pd-hl-row {
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    gap: 8px !important;
  }

  .pd-hl-check {
    width: 17px !important;
    height: 17px !important;
    font-size: 10px !important;
  }

  /* KHỐI ĐẶT HÀNG CHÍNH: Thu bé padding, cực kỳ gọn gàng */
  .pd-purchase {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
  }

  .pd-purchase-title {
    font-size: 14.5px !important;
    margin: 0 0 10px !important;
  }

  .pd-variant-picker-section {
    margin: 8px 0 12px !important;
  }

  .pd-variant-picker-section .pd-field-title {
    font-size: 12.5px !important;
    margin-bottom: 8px !important;
  }

  /* Variant chips xếp 1 cột nhỏ gọn, dễ bấm ngón tay */
  .pd-variant-pills-wrap {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .pd-variant-chip {
    padding: 10px 14px !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
  }

  .pd-variant-chip .chip-name {
    font-size: 13.5px !important;
  }

  .pd-variant-chip .chip-price {
    font-size: 15px !important;
  }

  .pd-variant-chip .chip-badge-deal {
    font-size: 10px !important;
    padding: 2px 7px !important;
    margin-top: 4px !important;
  }

  .pd-variant-chip.is-active::after {
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    top: -6px !important;
    right: -6px !important;
  }

  .pd-single-variant-badge {
    padding: 8px 12px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
  }

  /* Hàng số lượng thu gọn */
  .pd-qty-row {
    margin: 10px 0 12px !important;
  }

  .pd-qty-stepper {
    height: 38px !important;
    min-height: 38px !important;
  }

  .pd-qty-stepper button {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 18px !important;
  }

  .pd-purchase .pd-qty-stepper input,
  .pd-qty-stepper input,
  #pd-qty-input {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 15px !important;
    line-height: 34px !important;
  }

  /* 2 NÚT HÀNH ĐỘNG MUA HÀNG: Tập trung cao độ, loại bỏ chữ phụ rườm rà */
  .pd-buttons-row {
    grid-template-columns: 1.3fr 1fr !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .pd-buy-now-btn,
  .pd-add-cart-btn {
    min-height: 48px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    gap: 0 !important;
  }

  .pd-buy-now-btn .pd-btn-main-text {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
  }

  .pd-add-cart-btn .pd-btn-main-text {
    font-size: 13.5px !important;
    font-weight: 800 !important;
  }

  /* LOẠI BỎ SUB-TEXT DÀI DÒNG TRÊN MOBILE ĐỂ NÚT GỌN ĐẸP */
  .pd-buy-now-btn .pd-btn-sub-text,
  .pd-add-cart-btn .pd-btn-sub-text {
    display: none !important;
  }

  /* Khối uy tín cam kết: Thu bé thành 2 cột mini */
  .pd-trust-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
  }

  .pd-trust-item {
    gap: 6px !important;
  }

  .pd-trust-icon {
    font-size: 18px !important;
  }

  .pd-trust-text b {
    font-size: 11px !important;
  }

  .pd-trust-text small {
    font-size: 9.5px !important;
  }

  /* Khối link phụ thu nhỏ */
  .pd-extra-actions {
    font-size: 11px !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .pd-policy-links {
    gap: 8px !important;
  }

  /* PHẦN TAB CHI TIẾT SẢN PHẨM TRÊN MOBILE */
  .pd-information {
    padding: 0 14px !important;
    margin-top: 18px !important;
  }

  .pd-tabs-nav {
    gap: 6px !important;
    padding: 2px 2px 10px !important;
    margin-bottom: 16px !important;
    border-bottom: 1.5px solid #ebd6e2 !important;
  }

  .pd-tab-btn {
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    border-radius: 999px !important;
  }

  .pd-tab-btn.active {
    box-shadow: 0 3px 10px rgba(184, 50, 104, 0.3) !important;
  }

  .pd-information-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ẨN TIÊU ĐỀ TRÙNG LẶP & GẠCH NGANG THÔ CỦA TAB ĐẦU TIÊN TRÊN MOBILE */
  .pd-tab-panel > h2:first-child {
    display: none !important;
  }

  /* Typography bài viết Markdown trên mobile */
  .pd-markdown-body {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
  }

  .pd-markdown-body h2 {
    font-size: 15.5px !important;
    margin: 18px 0 8px !important;
    gap: 6px !important;
  }

  .pd-markdown-body h2::before {
    height: 15px !important;
    width: 3.5px !important;
  }

  .pd-markdown-body h3 {
    font-size: 14.5px !important;
    margin: 14px 0 6px !important;
  }

  .pd-markdown-body p {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
    margin-bottom: 10px !important;
  }

  .pd-markdown-body ul {
    padding-left: 16px !important;
    margin: 6px 0 12px !important;
  }

  .pd-markdown-body li {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 5px !important;
  }

  .pd-markdown-body img {
    border-radius: 10px !important;
    margin: 10px 0 !important;
  }

  /* Khối tư vấn Thắm Nguyễn thu nhỏ dưới chân trang */
  .pd-help {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-top: 10px !important;
  }

  .pd-help .eyebrow {
    font-size: 9.5px !important;
    margin-bottom: 4px !important;
  }

  .pd-help h2 {
    font-size: 16px !important;
    margin: 0 0 6px !important;
  }

  .pd-help p {
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
  }

  .pd-help-contacts {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .pd-help-contacts .btn {
    padding: 10px 6px !important;
    font-size: 11.5px !important;
    text-align: center !important;
    border-radius: 10px !important;
  }

  .pd-help .small.muted {
    display: none !important;
  }

  /* Sticky Mobile Bar hiển thị chuẩn và đẹp */
  .pd-mobile-sticky-bar {
    display: flex !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) !important;
  }

  .pd-sticky-price {
    font-size: 17px !important;
  }

  .pd-btn-sticky-cart {
    padding: 8px 10px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .pd-btn-sticky-buy {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
  }
}

/* Tối ưu thêm cho màn hình siêu nhỏ (< 380px) */
@media (max-width: 380px) {
  .pd-title {
    font-size: 18px !important;
  }

  .pd-main-price {
    font-size: 22px !important;
  }

  .pd-buttons-row {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .pd-buy-now-btn,
  .pd-add-cart-btn {
    min-height: 44px !important;
  }

  .pd-help-contacts {
    grid-template-columns: 1fr !important;
  }
}




.site-footer,.site-footer *{box-sizing:border-box}.site-footer{width:100%;min-width:0}.site-footer-main>*{min-width:0}.site-footer p,.site-footer address,.site-footer a{overflow-wrap:anywhere}.site-footer .site-footer-main{display:grid}.site-footer-bottom nav{min-width:0;max-width:100%}.mobile-nav[hidden]{display:none!important}.mobile-nav-close{min-width:26px;min-height:26px;width:26px;height:26px;border:1px solid #ebd4e1;border-radius:50%;background:#fff5f9;color:#b83268;font-size:16px;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center}.mobile-nav-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-nav-header>div{min-width:0}.mobile-nav-subtitle{display:block;font-size:10.5px}body.menu-open{overflow:hidden}body.menu-open .pd-mobile-sticky-bar{display:none!important}
@media(max-width:760px){.site-footer{display:block;padding:0;margin:0}.site-footer .site-footer-intro{padding:28px 20px;display:flex;align-items:start;flex-direction:column;gap:18px}.site-footer .site-footer-intro>div{min-width:0;width:100%}.site-footer-intro h2{font-size:26px;line-height:1.35}.site-footer-intro>.btn{width:100%;justify-content:center;min-height:48px}.site-footer .site-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));padding:28px 20px;gap:28px 20px}.site-footer-brand,.site-footer-connect{grid-column:1/-1}.site-footer-brand>p{max-width:none;font-size:14px}.site-footer-brand address{font-size:13px}.site-footer-main h3{font-size:14px;margin-bottom:12px;border:0;padding:0}.site-footer-main nav>a,.site-footer-connect>a{font-size:14px;min-height:44px;padding:11px 0;line-height:1.6}.site-footer .site-footer-bottom{display:flex;flex-direction:column;align-items:start;padding:22px 20px calc(24px + env(safe-area-inset-bottom));gap:14px}.site-footer-bottom nav{display:flex;flex-wrap:wrap;gap:5px 20px}.site-footer-bottom a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}.site-footer .footer-phone{min-height:44px}.footer-shopping-note p{font-size:12px}.has-purchase-bar .site-footer-bottom{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.header{max-width:100%;gap:8px;padding-inline:14px}.header .brand{min-width:0;font-size:22px}.header .brand span{font-size:7px;letter-spacing:.5px}.header-actions{flex-shrink:0;gap:4px}.header-actions .btn-text{display:none}.header-actions .header-action-btn,.header-actions .menu-toggle{width:44px;min-width:44px;height:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center}.mobile-nav{top:calc(var(--mobile-nav-top,64px) + 6px)!important;right:12px!important;left:auto!important;bottom:auto!important;width:min(260px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(390px,calc(var(--mobile-viewport-height,100dvh) - var(--mobile-nav-top,64px) - 20px))!important;padding:10px 10px 12px!important;border-radius:16px!important;border:1.5px solid #ebd4e1!important;box-shadow:0 12px 36px #38233130!important;gap:4px!important;overscroll-behavior:contain!important}.mobile-nav a{min-height:33px!important;padding:6px 10px!important;font-size:12.5px!important;border-radius:8px!important}.mobile-nav-footer{margin-top:4px!important;padding-top:6px!important}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,.tn-select .tn-select-trigger{font-size:16px}.btn{min-height:44px}.quantity-control button{width:36px;min-height:44px}.quantity-control{height:44px}.quantity-control input{height:42px;min-height:42px}.cart-remove{min-height:44px}.cart-item,.checkout-line{min-width:0}.cart-item-content,.checkout-line>div{min-width:0}.drawer-scroll{overscroll-behavior:contain}.pd-mobile-sticky-bar{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.keyboard-open .pd-mobile-sticky-bar{display:none!important}.checkout-form .check-label{line-height:1.7;align-items:flex-start}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.filter-bar input{min-width:0}.post-body,.prose{overflow-wrap:anywhere}.notice{overflow-wrap:anywhere}}
@media(max-width:380px){.site-footer .site-footer-main{grid-template-columns:1fr;gap:24px}.site-footer-main nav{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px}.header-actions .search-btn{display:none}.header .brand{font-size:21px}.site-footer .brand{font-size:27px}.site-footer-intro h2{font-size:24px}}
@media print{.site-footer,.mobile-nav{display:none!important}}
.header .header-actions .cart-btn{position:relative!important;overflow:visible!important}
.header .header-actions .cart-btn .header-action-icon{width:20px!important;height:20px!important;stroke:#fff!important;fill:none!important;opacity:1!important;visibility:visible!important;flex:0 0 20px!important}
@media(max-width:900px){
 .header .header-actions .cart-btn{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important}
 .header .header-actions .cart-btn .cart-badge-num{position:absolute!important;top:-3px!important;right:-4px!important;min-width:19px!important;height:19px!important;padding:0 4px!important;margin:0!important;line-height:1!important;font-size:10px!important;box-sizing:border-box!important;border:2px solid #fff!important;background:#fff!important;color:#ad1457!important;box-shadow:0 1px 4px #38233120!important}
}
@media(max-width:760px){
 .home-categories .section-heading{display:block;margin-bottom:22px}
 .home-categories .section-heading h2{font-size:26px;line-height:1.3;max-width:320px;margin:10px 0 12px}
 .home-categories .section-heading .eyebrow{font-size:10px;letter-spacing:1.4px}
 .home-categories .section-heading .text-link{display:inline-flex;font-size:12px;min-height:40px;align-items:center}
 .home-categories .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .home-categories .category-card{min-width:0;display:flex;flex-direction:column;padding:16px 14px;border-radius:13px;box-shadow:none;gap:9px}
 .home-categories .category-card>span{font-size:23px;line-height:1}
 .home-categories .category-card h3{font-size:17px;line-height:1.35;margin:0;min-height:46px;overflow-wrap:anywhere}
 .home-categories .category-card p{display:none}
 .home-categories .category-card b{font-size:11px;line-height:1.5;margin-top:auto;padding-top:5px}
}
@media(max-width:340px){.home-categories .category-card{padding:14px 11px}.home-categories .category-card h3{font-size:15px}.home-categories .category-grid{gap:10px}}
@media(max-width:760px){
 .site-footer .site-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;padding:14px 20px calc(14px + env(safe-area-inset-bottom));gap:5px 10px}
 .site-footer-bottom>p{grid-column:1/-1;font-size:10px;line-height:1.6;margin-bottom:2px}
 .site-footer-bottom nav{gap:0 12px}
 .site-footer-bottom nav a{font-size:11px;min-height:40px;padding:4px 0}
 .site-footer-bottom>.footer-top-link{width:40px;height:40px;min-height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:18px;color:var(--pink);text-decoration:none}
 .site-footer-main{row-gap:22px}.site-footer .site-footer-main{padding-bottom:22px}
 .footer-shopping-note{padding:11px 13px;margin-top:10px}.footer-shopping-note p{margin-top:4px;line-height:1.65}
 .has-purchase-bar .site-footer-bottom{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
}

/* ==========================================================================
   SMOOTH SLIDE & INTERACTIVE ANIMATION ENHANCEMENTS (2026 LUXURY MOTION)
   ========================================================================== */

/* 1. Global Smooth Scroll & Hardware Acceleration */
html {
  scroll-behavior: smooth;
}

/* 2. Side Cart Drawer - Ultra-Smooth Slide-In & Out */
@keyframes commerce-drawer-in {
  from {
    transform: translateX(100%);
    opacity: 0.92;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes commerce-drawer-out {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0.85;
  }
}

@keyframes commerce-backdrop-in {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}

@keyframes commerce-backdrop-out {
  from {
    opacity: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

#cart-drawer {
  will-change: transform;
}

#cart-drawer[open] {
  animation: commerce-drawer-in 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

#cart-drawer[data-closing="true"] {
  animation: commerce-drawer-out 0.22s cubic-bezier(0.32, 0, 0.67, 0) forwards !important;
}

#cart-drawer[open]::backdrop {
  animation: commerce-backdrop-in 0.25s ease forwards !important;
}

#cart-drawer[data-closing="true"]::backdrop {
  animation: commerce-backdrop-out 0.2s ease forwards !important;
}

/* Staggered slide-in for items inside cart drawer */
#cart-drawer[open] .cart-item {
  animation: drawer-item-slide 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
#cart-drawer[open] .cart-item:nth-child(1) { animation-delay: 0.04s; }
#cart-drawer[open] .cart-item:nth-child(2) { animation-delay: 0.08s; }
#cart-drawer[open] .cart-item:nth-child(3) { animation-delay: 0.12s; }
#cart-drawer[open] .cart-item:nth-child(4) { animation-delay: 0.16s; }
#cart-drawer[open] .cart-item:nth-child(n+5) { animation-delay: 0.20s; }

@keyframes drawer-item-slide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#cart-drawer[open] .drawer-footer {
  animation: drawer-footer-slide 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes drawer-footer-slide {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Header Cart Badge Playful Pop/Bounce */
@keyframes cart-badge-pop {
  0% { transform: scale(0.6); }
  45% { transform: scale(1.35); }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

.cart-badge-bounce {
  animation: cart-badge-pop 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 4. Mobile Menu - Smooth Slide-Down & Staggered Items */
.mobile-nav:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  animation: mobile-nav-slide-down 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  transform-origin: top right !important;
  will-change: transform, opacity !important;
}

@keyframes mobile-nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-nav a {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease, padding-left 0.22s ease !important;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  transform: translateX(5px) !important;
  background: #fff0f6 !important;
  color: #b83268 !important;
  padding-left: 14px !important;
}

.mobile-nav-close {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease !important;
}

.mobile-nav-close:hover {
  transform: rotate(90deg) scale(1.1) !important;
  background: #ffe4f0 !important;
}

/* 5. Product Cards - Luxury Hover Lift, Zoom & Light Reflection Sweep */
.product-card,
.tn-card {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease !important;
  will-change: transform, box-shadow;
}

.product-card:hover,
.tn-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px -8px rgba(184, 50, 104, 0.16), 0 6px 16px -4px rgba(56, 35, 49, 0.06) !important;
  border-color: #e4aec6 !important;
}

.product-image img,
.tn-card-media img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.product-card:hover .product-image img,
.tn-card:hover .tn-card-media img {
  transform: scale(1.06) !important;
}

/* Luxury shine sweep across product image on hover */
.tn-card-media::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.75s ease;
  z-index: 2;
}

.tn-card:hover .tn-card-media::after {
  left: 180%;
}

/* Smooth slide-up preview button */
.tn-card-preview {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
  box-shadow: 0 8px 24px rgba(184, 50, 104, 0.12) !important;
}

.tn-card-preview:hover {
  background: #ffffff !important;
  color: #b83268 !important;
  box-shadow: 0 10px 28px rgba(184, 50, 104, 0.2) !important;
}

/* Quick Add/View button spin & scale */
.tn-card-action {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
}

.tn-card-action:hover {
  transform: rotate(90deg) scale(1.14) !important;
  box-shadow: 0 6px 16px rgba(184, 50, 104, 0.35) !important;
  background: linear-gradient(135deg, #b83268, #d44d7d) !important;
  color: #ffffff !important;
}

/* 6. Desktop Navigation - Sliding Underline Indicator */
.desktop-nav a {
  position: relative;
  transition: color 0.24s ease !important;
  padding: 6px 4px !important;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b83268, #e879a6);
  border-radius: 2px;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
  left: 0;
}

.header-action-btn {
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.header-action-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.15) !important;
}

.header-action-btn:active {
  transform: scale(0.95) !important;
}

/* 7. Home Categories & Article Cards */
.home-categories .category-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
  will-change: transform;
}

.home-categories .category-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px -8px rgba(184, 50, 104, 0.14) !important;
  border-color: #e4aec6 !important;
}

.home-categories .category-card:hover > span {
  transform: scale(1.15) rotate(-4deg);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.article-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
  will-change: transform;
}

.article-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px -8px rgba(56, 35, 49, 0.1) !important;
  border-color: #ebd4e1 !important;
}

.article-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.article-card:hover img {
  transform: scale(1.05) !important;
}

.article-card:hover .text-link {
  transform: translateX(5px);
  color: var(--pink-dark, #b83268);
}

.article-card .text-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, color 0.2s ease;
}

/* 8. Interactive Buttons, Tabs & Quantity */
.btn {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 50, 104, 0.2);
}

.btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

.quantity-control button {
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease !important;
}

.quantity-control button:hover {
  background: #fdf0f5 !important;
  color: #b83268 !important;
}

.quantity-control button:active {
  transform: scale(0.88) !important;
}

.footer-top-link {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease !important;
}

.footer-top-link:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 6px 18px rgba(184, 50, 104, 0.25) !important;
  background: #fff5f9 !important;
}

/* Subtle pulse for sale badge */
@keyframes sale-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.tag-sale, .tag-bundle {
  animation: sale-badge-pulse 3s ease-in-out infinite;
}

/* 9. Sticky Mobile Buy Bar */
.pd-mobile-sticky-bar {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
}

@keyframes sticky-bar-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.has-purchase-bar .pd-mobile-sticky-bar {
  animation: sticky-bar-slide-up 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 10. Notifications Slide Down */
.notice {
  animation: notice-slide-down 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes notice-slide-down {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 11. Sticky Blog / Post Right Sidebar (Cột bên phải giữ cố định khi cuộn trang) */
.post-right,
.blog-right {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 96px !important;
  min-width: 0 !important;
  align-self: start !important;
  max-height: calc(100vh - 110px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(184, 50, 104, 0.22) transparent !important;
}

.post-right::-webkit-scrollbar,
.blog-right::-webkit-scrollbar {
  width: 4px !important;
}

.post-right::-webkit-scrollbar-track,
.blog-right::-webkit-scrollbar-track {
  background: transparent !important;
}

.post-right::-webkit-scrollbar-thumb,
.blog-right::-webkit-scrollbar-thumb {
  background: rgba(184, 50, 104, 0.22) !important;
  border-radius: 4px !important;
}

.post-right::-webkit-scrollbar-thumb:hover,
.blog-right::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 50, 104, 0.5) !important;
}

@media (max-width: 650px) {
  .post-right,
  .blog-right {
    position: static !important;
    max-height: none !important;
    overflow-y: visible !important;
  }
}

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

/* ==========================================================================
   2026 MOBILE UX & RESPONSIVE PERFECTION
   ========================================================================== */
@media (max-width: 640px) {
  /* 1. Header & Actions */
  .header {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .header .brand {
    font-size: 20px !important;
  }
  .header .brand span {
    font-size: 8px !important;
    letter-spacing: 1px !important;
    margin-top: 2px !important;
  }
  .header-actions {
    gap: 6px !important;
  }

  /* 2. Compact Announcement Bar */
  .announcement {
    padding: 8px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  /* 3. Product Catalog & Grid: 2 equal-height columns */
  .product-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
  }
  .product-card {
    border-radius: 12px !important;
    padding: 8px !important;
  }
  .product-card-media {
    border-radius: 8px !important;
  }
  .product-card h3 {
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    margin: 8px 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 36px !important;
  }
  .product-card .price {
    font-size: 14.5px !important;
  }
  .product-card .price del {
    font-size: 11.5px !important;
  }

  /* 4. Product Detail Mobile Polish */
  .product-detail {
    padding: 12px 14px 40px !important;
    gap: 20px !important;
    grid-template-columns: 1fr !important;
  }
  .pd-gallery {
    margin-bottom: 8px !important;
  }
  .pd-main-img-wrap {
    border-radius: 14px !important;
  }
  .pd-info h1 {
    font-size: 22px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }
  .pd-price-row {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  .pd-current-price {
    font-size: 24px !important;
  }
  .pd-variant-chip {
    padding: 8px 12px !important;
    min-height: 44px !important;
  }
  .pd-trust-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 12px !important;
  }
  .pd-trust-item {
    gap: 6px !important;
  }
  .pd-trust-text b {
    font-size: 12px !important;
  }
  .pd-trust-text small {
    font-size: 10.5px !important;
  }
  .pd-tabs-nav {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
  }
  .pd-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }
  .pd-tab-btn {
    white-space: nowrap !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
  }

  /* 5. Policy & About Page Mobile */
  .policy-heading {
    padding: 30px 16px 20px !important;
  }
  .policy-heading h1 {
    font-size: 24px !important;
  }
  .policy-layout {
    grid-template-columns: 1fr !important;
    padding: 16px 14px 40px !important;
    gap: 20px !important;
  }
  .policy-content {
    padding: 18px 16px !important;
    font-size: 14.5px !important;
    line-height: 1.8 !important;
  }
  .policy-content h2 {
    font-size: 20px !important;
    margin-top: 24px !important;
  }
  .policy-content h3 {
    font-size: 17px !important;
  }
  .policy-content h4 {
    font-size: 15px !important;
  }

  /* 6. Checkout & Cart Mobile */
  .checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ==========================================================================
   INTERACTIVE BUTTONS, SELECTION CONTROLS & RESPONSIVE POLISH (2026 DOVA)
   Khắc phục triệt để lỗi nút bấm chọn không hiển thị & tối ưu giao diện Responsive
   ========================================================================== */

/* 1. HỆ THỐNG MENU DROPDOWN & NÚT CHỌN (SELECT TRIGGER & FLOATING MENU) */
.tn-select {
  display: block !important;
  position: relative !important;
  min-width: 0 !important;
  width: 100% !important;
}

.tn-select select.tn-native-select {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.tn-select .tn-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1.5px solid #e5ccd8 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #382331 !important;
  padding: 0 40px 0 16px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  text-align: left !important;
  line-height: normal !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(184, 50, 104, 0.04) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.tn-select-trigger::after {
  content: '' !important;
  position: absolute !important;
  right: 16px !important;
  top: calc(50% - 4px) !important;
  width: 8px !important;
  height: 8px !important;
  border-right: 2px solid #b83268 !important;
  border-bottom: 2px solid #b83268 !important;
  transform: rotate(45deg) !important;
  transition: transform 0.2s ease !important;
  pointer-events: none !important;
}

.tn-select-trigger:hover {
  border-color: #f472b6 !important;
  background: #fffbfe !important;
}

.tn-select-trigger[aria-expanded="true"] {
  border-color: #b83268 !important;
  box-shadow: 0 0 0 3.5px rgba(184, 50, 104, 0.15) !important;
}

.tn-select-trigger[aria-expanded="true"]::after {
  transform: rotate(225deg) !important;
  top: calc(50% - 1px) !important;
}

.tn-select-trigger:focus-visible {
  outline: 2.5px solid #b83268 !important;
  outline-offset: 2px !important;
}

.tn-select-trigger:disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  background: #fdf5f8 !important;
}

.tn-select-menu {
  position: fixed !important;
  z-index: 100000 !important;
  padding: 8px !important;
  background: #ffffff !important;
  border: 1.5px solid #ebd4e1 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 45px rgba(56, 35, 49, 0.16) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-width: thin !important;
  scrollbar-color: #f472b6 transparent !important;
  box-sizing: border-box !important;
  max-width: calc(100vw - 20px) !important;
}

.tn-select-menu[hidden] {
  display: none !important;
}

.tn-select-option {
  position: relative !important;
  padding: 10px 36px 10px 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border-radius: 9px !important;
  color: #382331 !important;
  cursor: pointer !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}

.tn-select-option:hover,
.tn-select-option.is-focused {
  background: #fff0f6 !important;
  color: #b83268 !important;
}

.tn-select-option[aria-selected="true"] {
  color: #b83268 !important;
  background: #fce7f0 !important;
  font-weight: 700 !important;
}

.tn-select-option[aria-selected="true"]::after {
  content: '✓' !important;
  position: absolute !important;
  right: 14px !important;
  font-weight: 800 !important;
  color: #b83268 !important;
  font-size: 14px !important;
}

.tn-select-option[aria-disabled="true"] {
  color: #a69aa1 !important;
  cursor: not-allowed !important;
  background: #fcf9fa !important;
}

/* 2. NATIVE SELECT DÀNH CHO CẢ DESKTOP LẪN MOBILE TOUCH */
select,
.form-grid select,
.toolbar-filters-row select,
.collection-toolbar select {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  min-height: 46px !important;
  border: 1.5px solid #e5ccd8 !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23b83268' stroke-width='2.4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px 16px !important;
  padding: 0 40px 0 14px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  color: #1e1b1d !important;
  cursor: pointer !important;
  outline: none !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  transition: all 0.2s ease !important;
}

select:focus,
.form-grid select:focus,
.toolbar-filters-row select:focus {
  border-color: #b83268 !important;
  box-shadow: 0 0 0 3.5px rgba(184, 50, 104, 0.15) !important;
}

/* 3. NÚT CHỌN PHÂN LOẠI SẢN PHẨM (VARIANT CHIPS) */
.pd-variant-chip {
  min-height: 48px !important;
  cursor: pointer !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.pd-variant-chip:active {
  transform: scale(0.98) !important;
}

.pd-variant-chip.is-active {
  border-color: #b83268 !important;
  background: linear-gradient(135deg, #fff7fb 0%, #fff0f6 100%) !important;
  box-shadow: 0 4px 18px rgba(184, 50, 104, 0.18) !important;
}

/* 4. NÚT TĂNG GIẢM SỐ LƯỢNG (STEPPER BUTTONS) */
.pd-qty-stepper button,
.quantity-control button {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* 5. CHECKBOXES VÀ RADIO BUTTONS (THANH TOÁN & ĐIỀU KHOẢN) */
input[type="checkbox"],
input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  accent-color: #b83268 !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.payment-choice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 16px 18px !important;
  border: 1.5px solid #eedde5 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.payment-choice:hover {
  border-color: #f472b6 !important;
  background: #fffbfe !important;
}

.payment-choice:has(input:checked) {
  border-color: #b83268 !important;
  background: #fff8fb !important;
  box-shadow: 0 4px 14px rgba(184, 50, 104, 0.12) !important;
}

/* 6. THANH MUA HÀNG DI ĐỘNG CỐ ĐỊNH (STICKY PURCHASE BAR) */
@media (max-width: 768px) {
  .pd-mobile-sticky-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1.5px solid #f2e3eb !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 20px rgba(56, 35, 49, 0.12) !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  body.menu-open .pd-mobile-sticky-bar {
    display: none !important;
  }

  body.keyboard-open .pd-mobile-sticky-bar {
    display: none !important;
  }

  .pd-sticky-buttons {
    display: flex !important;
    gap: 8px !important;
    flex: 1 !important;
    justify-content: flex-end !important;
  }

  .pd-btn-sticky-cart {
    min-height: 44px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    border: 1.5px solid #b83268 !important;
    color: #b83268 !important;
    background: #ffffff !important;
  }

  .pd-btn-sticky-buy {
    min-height: 44px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #d81b60 0%, #ad1457 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(184, 50, 104, 0.35) !important;
  }

  /* Nút hỗ trợ Zalo/Facebook nổi không che thanh mua hàng */
  .has-purchase-bar #dova-support-widget {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Khoảng đệm chân trang để thanh cố định không đè chữ */
  .has-purchase-bar .site-footer-bottom {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* 7. NÚT HÀNH ĐỘNG THẺ SẢN PHẨM & LƯỚI 2 CỘT MOBILE */
@media (max-width: 640px) {
  .tn-card-action {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    font-size: 18px !important;
  }

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

  .cat-pill {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .pd-tab-btn {
    min-height: 42px !important;
    padding: 9px 16px !important;
    font-size: 13px !important;
  }
}
