/* ==========================================================================
   DÉP NAM HỒNG HẠNH - LANDING PAGE STYLES (DILY AESTHETIC REPLICA)
   Color Palette: Brand Red (#d32027), Pure White (#ffffff), Warm Gray (#f7f8fa)
   ========================================================================== */

:root {
  --primary-red: #d32027;
  --primary-red-hover: #b81920;
  --primary-red-light: #fff5f5;
  --text-dark: #1f2937;
  --text-medium: #4b5563;
  --text-muted: #8c939f;
  --border-light: #e5e7eb;
  --border-dark: #222222;
  --bg-light: #f8f9fb;
  --bg-card: #ffffff;
  --bg-page: #f1f3f6;
  --gold-star: #f59e0b;
  --messenger-blue: #0084ff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-announcement-bar {
  width: 100%;
  background: #1e242d;
  color: #ffffff;
  font-size: 12px;
  padding: 8px 12px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.announcement-content .dot {
  color: var(--primary-red);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   VIEWPORT SIMULATION CONTAINER (Exact Phone Frame on Desktop)
   -------------------------------------------------------------------------- */
.app-viewport {
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding-bottom: 75px; /* space for sticky bottom bar */
}

/* --------------------------------------------------------------------------
   HEADER (Screenshot 1 Match)
   -------------------------------------------------------------------------- */
.app-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 34px;
  z-index: 90;
}

.header-top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
  color: #111;
}

.header-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: #222;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.icon-btn:hover {
  background-color: #f3f4f6;
}

.header-brand-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  border-top: 1px solid #f6f6f6;
}

.brand-official-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  flex: 1;
}

.logo-crop-box {
  width: 240px;
  height: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-crop-img {
  width: 325px;
  height: 325px;
  object-fit: cover;
  position: absolute;
  top: -23px;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   SECTION 1: PRODUCT HERO GALLERY & SELECTORS (Screenshot 1)
   -------------------------------------------------------------------------- */
.product-hero-section {
  padding: 12px 14px;
  background-color: #ffffff;
}

.gallery-container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.main-image-wrap {
  flex: 1;
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.main-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: #333;
  transition: all 0.2s ease;
  z-index: 5;
}

.gallery-nav-btn:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.prev-btn {
  left: 8px;
}

.next-btn {
  right: 8px;
}

/* Vertical Thumbnails Column */
.thumbnail-column {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.thumbnail-column::-webkit-scrollbar {
  display: none;
}

.thumb-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--border-light);
  cursor: pointer;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item:hover {
  border-color: #999;
}

.thumb-item.active {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 1px var(--primary-red);
}

/* Product Info Box */
.product-info-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.price-rating-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.price-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sale-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: -0.5px;
}

.original-price {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-badge {
  font-size: 12px;
  font-weight: 700;
  background: #fee2e2;
  color: var(--primary-red);
  padding: 2px 6px;
  border-radius: 4px;
}

.rating-group {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.stars, .stars-gold {
  color: var(--gold-star);
  letter-spacing: 1px;
}

.rating-score {
  font-weight: 700;
  color: #333;
}

.sales-count {
  color: var(--text-muted);
  border-left: 1px solid #ddd;
  padding-left: 6px;
}

/* Variants */
.variant-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.variant-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.size-guide-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-red);
  text-decoration: underline;
  cursor: pointer;
}

.variant-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.variant-btn {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  outline: none;
}

.variant-btn:hover {
  border-color: #aaa;
}

/* Active Corner Triangle Style (Exact match to screenshot) */
.variant-btn.active {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 1px var(--primary-red);
}

.variant-btn.active .corner-check {
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 12px 12px;
  border-color: transparent transparent var(--primary-red) transparent;
}

/* Color Card */
.color-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 6px;
  overflow: hidden;
}

.color-card img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
}

.color-card span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Size Buttons */
.size-btn {
  min-width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  padding: 0 10px;
}

.hero-cta-wrap {
  margin-top: 6px;
}

.btn-primary-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(180deg, #e52d27 0%, #b31217 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 13px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(211, 32, 39, 0.35);
  transition: all 0.25s ease;
  text-align: center;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 32, 39, 0.45);
}

.btn-primary-cta span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.btn-primary-cta small {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   ACCORDION SYSTEM (Screenshots 2 & 5 Match)
   -------------------------------------------------------------------------- */
.accordion-section {
  border-top: 8px solid #f4f5f7;
  background-color: #ffffff;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #ececec;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #fbfbfb;
}

.acc-title-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.5px;
}

.tag-icon {
  color: #444;
}

.acc-chevron {
  font-size: 18px;
  color: #666;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.accordion-header.open .acc-chevron {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 16px;
  display: block;
}

.accordion-content.collapsed {
  display: none;
}

/* Collection Banner */
.collection-banner {
  text-align: center;
  padding: 18px 14px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4efe6 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px solid #ebdccb;
}

.banner-sub {
  font-size: 13px;
  font-style: italic;
  color: #9a6839;
  font-weight: 600;
  margin-bottom: 4px;
}

.banner-title {
  font-size: 18px;
  font-weight: 800;
  color: #1f3a5a;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.banner-desc {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.45;
}

/* Pain Points Card */
.pain-points-card {
  background-color: #fff9f9;
  border: 1px dashed #f87171;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.card-subtitle-red {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 12px;
  line-height: 1.35;
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pain-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
}

.pain-item strong {
  color: #111;
  display: block;
  margin-bottom: 1px;
}

.pain-icon {
  font-size: 15px;
  line-height: 1.2;
}

/* Specs Module & Image Gallery */
.specs-module {
  margin-top: 18px;
}

.module-title-serif {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  color: #1a202c;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.specs-gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.specs-image-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specs-image-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.specs-feature-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   SECTION 3: PHỐI ĐỒ & DỊP PHÙ HỢP (Screenshot 3 Match)
   -------------------------------------------------------------------------- */
.outfit-match-section {
  border-top: 8px solid #f4f5f7;
  padding: 16px 14px;
  background-color: #ffffff;
}

.outfit-card-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding: 14px;
}

.outfit-header {
  text-align: center;
  margin-bottom: 14px;
}

.outfit-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.outfit-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Occasion Tabs */
.occasion-tabs {
  display: flex;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  background-color: #fafafa;
}

.occ-tab {
  flex: 1;
  min-width: 80px;
  background: none;
  border: none;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  transition: all 0.2s ease;
  border-right: 1px solid var(--border-light);
}

.occ-tab:last-child {
  border-right: none;
}

.occ-tab.active {
  background-color: #ffffff;
  color: var(--primary-red);
  box-shadow: inset 0 -2px 0 var(--primary-red);
}

.occ-tab svg {
  stroke: currentColor;
}

/* Outfit Showcase Box */
.outfit-showcase-box {
  background-color: #fbfbfb;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.outfit-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: #eee;
  overflow: hidden;
}

.outfit-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-watermark {
  position: absolute;
  top: 14px;
  left: 14px;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-red);
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.outfit-details {
  padding: 14px;
}

.outfit-tag-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-red);
  margin-bottom: 4px;
}

.outfit-main-title {
  font-size: 17px;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.outfit-tag-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.badge-tag {
  font-size: 11px;
  font-weight: 600;
  background: #fef2f2;
  color: #b91c1c;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #fee2e2;
}

.outfit-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.outfit-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

.red-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #f87171;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION 4: BRAND CONCEPT & 4 CHÍNH SÁCH MUA HÀNG (Screenshot 4 Match)
   -------------------------------------------------------------------------- */
.brand-concept-section {
  border-top: 8px solid #f4f5f7;
  background-color: #ffffff;
  padding: 16px 14px;
}

.concept-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.concept-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.concept-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.concept-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 12px;
}

.concept-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.concept-motto {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.95;
  margin-top: 4px;
}

.concept-text {
  padding: 14px;
  background-color: #f3f4f6;
  font-size: 13px;
  line-height: 1.55;
  color: #4b5563;
}

/* 4 Policies (Screenshot 4 Match) */
.policies-main-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary-red);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.4px;
}

.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.policy-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.policy-icon-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.policy-bold-val {
  font-size: 17px;
  font-weight: 900;
  color: #111;
  border-bottom: 1.5px solid #222;
  padding-bottom: 2px;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.policy-highlight-red {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 4px;
}

.policy-subtext {
  font-size: 11px;
  color: var(--text-medium);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   SECTION 5: SIZE GUIDE TABLE & REVIEWS (Screenshot 5 Match)
   -------------------------------------------------------------------------- */
.size-and-reviews-section {
  border-top: 8px solid #f4f5f7;
  background-color: #ffffff;
}

.size-table-container {
  padding: 16px 14px 10px;
}

.size-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
  border: 1.5px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.size-spec-table th, 
.size-spec-table td {
  border: 1px solid #333;
  padding: 8px 4px;
}

.size-spec-table th {
  background-color: #ffffff;
  font-weight: 700;
}

.size-spec-table .col-head {
  background-color: #fafafa;
  font-weight: 700;
  width: 70px;
}

.size-note {
  font-size: 12px;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

/* Reviews Score Breakdown */
.review-score-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #eee;
  margin-bottom: 16px;
}

.score-main-box {
  text-align: center;
}

.big-score {
  font-size: 40px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.stars-gold {
  font-size: 16px;
  color: var(--gold-star);
  margin: 4px 0 2px;
}

.total-reviews-count {
  font-size: 12px;
  color: var(--text-muted);
}

.fit-gauge-card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
}

.fit-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 8px;
  text-align: center;
}

.fit-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 4px;
}

.fit-label {
  width: 44px;
  color: #555;
}

.fit-bar-track {
  flex: 1;
  height: 12px;
  background-color: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.fit-bar-fill {
  height: 100%;
}

.red-fill {
  background-color: var(--primary-red);
}

.grey-fill {
  background-color: #9ca3af;
}

.fit-percent {
  width: 32px;
  text-align: right;
  font-weight: 600;
  color: #444;
}

/* Customer Reviews List */
.customer-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
  border-bottom: none;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.reviewer-name {
  font-weight: 700;
  color: #222;
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
}

.review-variant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #777;
  margin: 3px 0 6px;
}

.review-comment {
  font-size: 13px;
  color: #333;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   SECTION 6: THÔNG TIN GIAO HÀNG & CHỐT ĐƠN (Screenshot 1 "Thông Tin Giao Hàng")
   -------------------------------------------------------------------------- */
.checkout-section {
  border-top: 8px solid #f4f5f7;
  background-color: #ffffff;
  padding: 16px 14px;
}

.checkout-card {
  background-color: #ffffff;
  border: 1.5px solid #d32027;
  border-radius: var(--radius-md);
  padding: 16px 12px;
  position: relative;
  box-shadow: 0 4px 16px rgba(211, 32, 39, 0.08);
}

.checkout-badge-title {
  position: absolute;
  top: -12px;
  left: 14px;
}

.card-tag-badge {
  background-color: #ffffff;
  border: 1.5px solid var(--primary-red);
  color: var(--primary-red);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.cart-summary-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #fdfaf7;
  border: 1px solid #f3ebe0;
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.cart-thumb-img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0d5c4;
}

.cart-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.cart-selected-specs {
  font-size: 12px;
  color: #555;
  margin: 2px 0;
}

.cart-unit-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-red);
}

.cart-unit-price del {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-left: 4px;
}

/* Deal Selector */
.deal-selector-box {
  margin-bottom: 14px;
}

.deal-title {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.deal-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  background-color: #fff;
}

.deal-radio-label input {
  margin-top: 3px;
  accent-color: var(--primary-red);
}

.deal-radio-label.active {
  border-color: var(--primary-red);
  background-color: #fffaf9;
}

.deal-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.deal-save-tag {
  background: #ecfdf5;
  color: #059669;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.deal-save-tag.hot-tag {
  background: #fee2e2;
  color: var(--primary-red);
}

.deal-desc {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* Form Styles */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.form-group .req {
  color: var(--primary-red);
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
  border-color: var(--primary-red);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px dashed #ddd;
  margin-top: 4px;
}

.total-label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.total-amount {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary-red);
}

.submit-order-btn {
  background: linear-gradient(180deg, #e52d27 0%, #b31217 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(211, 32, 39, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(211, 32, 39, 0.45);
}

.btn-main-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.btn-sub-text {
  font-size: 11px;
  opacity: 0.95;
  margin-top: 2px;
}

.hotline-box {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: #555;
  background-color: #fbfbfb;
  padding: 8px;
  border-radius: 6px;
}

.hotline-number {
  color: var(--primary-red);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.hotline-box small {
  display: block;
  color: #888;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.app-footer {
  background-color: #1a1f28;
  color: #d1d5db;
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.footer-official-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.footer-logo-crop-box {
  width: 220px;
  height: 28px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-crop-box img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
  pointer-events: none;
}

.footer-motto {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 12px;
}

.footer-info p {
  margin-bottom: 4px;
}

.footer-copyright {
  border-top: 1px solid #2d3748;
  margin-top: 14px;
  padding-top: 12px;
  font-size: 11px;
  color: #6b7280;
}

/* --------------------------------------------------------------------------
   FLOATING ELEMENTS (Screenshots Exact Match)
   -------------------------------------------------------------------------- */

/* Messenger Floating Button */
.floating-messenger-btn {
  position: fixed;
  bottom: 80px;
  right: 18px;
  z-index: 95;
  background-color: var(--messenger-blue);
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 132, 255, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-messenger-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.5);
}

/* Back to top button */
.floating-backtotop-btn {
  position: fixed;
  bottom: 136px;
  right: 18px;
  z-index: 94;
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.2s;
  opacity: 0;
  visibility: hidden;
}

.floating-backtotop-btn.show {
  opacity: 1;
  visibility: visible;
}

.floating-backtotop-btn:hover {
  background-color: #f3f4f6;
  color: #111;
}

/* Mobile Sticky Bottom Bar */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 92;
}

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

.sticky-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-red);
}

.sticky-sub {
  font-size: 11px;
  color: #666;
}

.sticky-buy-btn {
  background: linear-gradient(180deg, #e52d27 0%, #b31217 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 8px rgba(211, 32, 39, 0.3);
  transition: opacity 0.2s;
}

.sticky-buy-btn:hover {
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   ORDER SUCCESS MODAL
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 380px;
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-backdrop.show .modal-card {
  transform: translateY(0);
}

.modal-success-icon {
  width: 58px;
  height: 58px;
  background-color: #10b981;
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.modal-order-summary {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  text-align: left;
  line-height: 1.6;
  margin-bottom: 12px;
}

.red-text {
  color: var(--primary-red);
}

.modal-note {
  font-size: 11px;
  color: #777;
  font-style: italic;
  margin-bottom: 16px;
}

.modal-close-btn {
  width: 100%;
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
