/* ==========================================================================
   OFFICIAL STYLE SYSTEM - MỘC NẾP ÔNG TIỀN 136
   TikTok Shop Light theme (Vibrant Pink/Red & Clean White)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  /* TikTok Shop Color Palette */
  --color-bg-deep: #ffffff;
  /* Pure white page layout */
  --color-bg-card: #ffffff;
  /* Pure white containers */
  --color-bg-body: #f4f5f6;
  /* Soft grey background backdrop */
  --color-primary-gold: #fe2c55;
  /* Signature TikTok Red/Pink */
  --color-primary-gold-rgb: 254, 44, 85;
  --color-secondary-gold: #e11d48;
  /* Darker red/pink for hover states */
  --color-text-primary: #161823;
  /* TikTok dark charcoal black */
  --color-text-secondary: #5f616f;
  /* TikTok medium gray */
  --color-text-muted: #8a8b96;
  /* TikTok light muted gray */
  --color-border-gold: #e3e3e4;
  /* Clean light gray border */
  --color-border-gold-heavy: #fe2c55;
  /* TikTok red/pink active border */
  --color-success: #2ecc71;
  --color-white: #fff;

  /* Typography */
  --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows & Glows */
  --shadow-premium: 0 6px 18px rgba(0, 0, 0, 0.04);
  --shadow-gold-glow: 0 0 12px rgba(254, 44, 85, 0.12);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-body);
  color: var(--color-text-secondary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Mobile Wrapper Centering (max 500px) */
.app-layout {
  width: 100%;
  max-width: 500px;
  background-color: var(--color-bg-deep);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.06);
  overflow-x: hidden;
  border-left: 1px solid var(--color-border-gold);
  border-right: 1px solid var(--color-border-gold);
  padding-bottom: 20px;
}

/* Premium Brand Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border-gold);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-primary-gold);
  object-fit: cover;
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--color-text-primary);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.premium-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-primary-gold);
  border: 1px solid var(--color-primary-gold);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(254, 44, 85, 0.05);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

/* Common Card Containers */
.section-block {
  background-color: var(--color-bg-card);
  border-bottom: 8px solid var(--color-bg-body);
  padding: 16px;
}

/* 1. Gallery Section */
.product-gallery {
  width: 100%;
  position: relative;
  background-color: var(--color-bg-deep);
  padding: 0;
}

.gallery-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  background-color: #000;
}

.gallery-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(22, 24, 35, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.gallery-counter span {
  color: var(--color-white);
}

/* 2. Product Title & Price */
.product-info-block {
  padding-top: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.price-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-current {
  color: var(--color-primary-gold);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.price-old {
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-size: 0.95rem;
  margin-left: 8px;
}

.discount-badge {
  background: rgba(254, 44, 85, 0.08);
  color: var(--color-primary-gold);
  border: 1px solid var(--color-primary-gold);
  font-size: 0.75rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 8px;
}

.action-icons {
  background: #f4f5f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-icons:hover {
  background: rgba(254, 44, 85, 0.05);
}

.action-icons i {
  font-size: 1.1rem;
  color: var(--color-primary-gold);
}

.product-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.mall-badge {
  background: var(--color-primary-gold);
  color: var(--color-white);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

.product-stats {
  border-top: 1px solid var(--color-border-gold);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.rating {
  display: flex;
  align-items: center;
  color: #ffb800;
  gap: 2px;
}

.rating span {
  color: var(--color-text-secondary);
  margin-left: 6px;
  font-weight: 600;
}

.sold-count {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border-gold);
  color: var(--color-text-muted);
  font-weight: 500;
}

/* 3. Promo Row (Voucher, Variant, Shipping) */
.promo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.promo-label {
  color: var(--color-text-muted);
  width: 90px;
  flex-shrink: 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.voucher-tags {
  flex-grow: 1;
  display: flex;
  gap: 8px;
}

.tag-outline {
  border: 1px dashed var(--color-primary-gold);
  color: var(--color-primary-gold);
  background: rgba(254, 44, 85, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  position: relative;
}

.tag-outline::before,
.tag-outline::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--color-bg-card);
  border-radius: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--color-primary-gold);
}

.tag-outline::before {
  left: -4px;
  border-left-color: transparent;
}

.tag-outline::after {
  right: -4px;
  border-right-color: transparent;
}

.arrow-icon {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.variant-block {
  cursor: pointer;
}

.variant-block:hover .arrow-icon {
  color: var(--color-primary-gold);
  transform: translateX(3px);
}

.selected-variant {
  flex-grow: 1;
  color: var(--color-text-primary);
  font-weight: 700;
}

.variant-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-left: 90px;
}

.variant-thumb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--color-border-gold);
  border-radius: 8px;
  padding: 4px;
  background-color: #f8f8f8;
  width: 65px;
  transition: all 0.2s ease;
}

.variant-thumb-item:hover {
  border-color: var(--color-primary-gold);
}

.variant-thumb-item.active {
  border-color: var(--color-primary-gold);
  background-color: rgba(254, 44, 85, 0.05);
}

.variant-thumb-item img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.variant-thumb-item span {
  font-size: 0.65rem;
  color: var(--color-text-primary);
  margin-top: 4px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* 4. Shipping Section */
.shipping-info {
  flex-grow: 1;
}

.shipping-info p {
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shipping-info p i {
  color: var(--color-success);
  font-size: 1rem;
}

.shipping-info .sub-text {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  font-weight: 400;
  padding-left: 24px;
}

/* 5. Shop Info Section */
.shop-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-gold);
  object-fit: cover;
}

.shop-name {
  flex-grow: 1;
}

.shop-name h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.official-badge {
  color: #3b82f6;
  /* Verified blue check badge */
  font-size: 0.95rem;
}

.shop-name p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
  font-weight: 600;
}

/* 6. Reviews Section */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border-gold);
  padding-bottom: 10px;
}

.reviews-header h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-text-primary);
  font-weight: 700;
}

.view-all {
  color: var(--color-primary-gold);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-summary {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 16px;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-score .big-score {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-primary);
}

.rating-score .stars {
  color: #ffb800;
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
  margin-left: 8px;
}

.review-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.review-images::-webkit-scrollbar {
  display: none;
}

.review-img-box {
  position: relative;
  width: 75px;
  height: 75px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border-gold);
}

.review-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-user {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(22, 24, 35, 0.6);
  color: var(--color-white);
  font-size: 0.6rem;
  text-align: center;
  padding: 2px 0;
  font-weight: 700;
}

.review-item {
  border-top: 1px dashed var(--color-border-gold);
  padding: 16px 0;
}

.review-item:last-child {
  padding-bottom: 0;
}

.reviewer {
  font-size: 0.85rem;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

.reviewer i {
  font-size: 1.1rem;
  margin-right: 8px;
  color: var(--color-text-muted);
}

.verified-purchase {
  color: var(--color-success);
  font-size: 0.7rem;
  margin-left: 8px;
  font-weight: 600;
  background: rgba(46, 204, 113, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(46, 204, 113, 0.12);
}

.review-item .stars {
  color: #ffb800;
  font-size: 0.75rem;
  margin-bottom: 8px;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.55;
  color: var(--color-text-primary);
}

.review-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* 7. Details Section */
.section-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--color-text-primary);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-gold);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary-gold);
}

.details-content {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.details-content p {
  margin-bottom: 14px;
}

.details-content p strong {
  color: var(--color-text-primary);
  font-family: var(--font-title);
  font-size: 1.05rem;
  display: block;
  margin-top: 8px;
}

.details-content img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border-gold);
  margin-top: 10px;
  margin-bottom: 16px;
}

.details-content ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.details-content li {
  margin-bottom: 0;
  background: #f8f8f8;
  border: 1px solid var(--color-border-gold);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Specifications Table */
.details-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px 0;
  font-size: 0.88rem;
  background: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-gold);
}

.details-table tr {
  border-bottom: 1px solid var(--color-border-gold);
}

.details-table tr:last-child {
  border-bottom: none;
}

.details-table td {
  padding: 10px 14px;
  vertical-align: middle;
}

.details-table td:first-child {
  color: var(--color-text-secondary);
  font-weight: 700;
  width: 120px;
  background: #f1f1f2;
  border-right: 1px solid var(--color-border-gold);
}

.details-table td:last-child {
  color: var(--color-text-primary);
  font-weight: 600;
}

/* Traditional Craft Steps */
.craft-step {
  margin-top: 20px;
  border-left: 2px solid var(--color-primary-gold);
  padding-left: 16px;
  position: relative;
  margin-bottom: 25px;
}

.craft-step::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-gold);
  box-shadow: 0 0 8px rgba(254, 44, 85, 0.2);
}

.craft-step h5 {
  font-family: var(--font-title);
  color: var(--color-primary-gold);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.craft-step p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.craft-step img,
.craft-step video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
  border: 1px solid var(--color-border-gold);
  box-shadow: var(--shadow-premium);
}

/* 8. Bottom Sticky Action Bar */
.bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  border-top: 1px solid var(--color-border-gold);
  z-index: 999;
}

@media (min-width: 501px) {
  .bottom-action-bar {
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
  }
}

.action-btn-small {
  flex: 1;
  height: 52px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--color-border-gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn-small:hover {
  background: #f4f5f6;
}

.action-btn-small i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.action-btn-small:hover i {
  transform: translateY(-2px);
}

.action-btn-small span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn-large {
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  height: 52px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.2);
}

.btn-buy-now {
  background: var(--color-primary-gold);
  color: var(--color-white);
  font-weight: 700;
}

.btn-buy-now:hover {
  box-shadow: 0 6px 16px rgba(254, 44, 85, 0.35);
  filter: brightness(1.05);
}

.btn-buy-now:active {
  transform: translateY(0);
}

/* 9. BOTTOM SHEET & Lead Gen Checkout */
.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-bg-card);
  z-index: 1001;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-top: 1px solid var(--color-border-gold);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}

@media (min-width: 501px) {
  .bottom-sheet {
    left: 50%;
    margin-left: -250px;
    width: 500px;
  }
}

.bottom-sheet.active {
  transform: translateY(0);
}

.sheet-header {
  padding: 20px;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--color-border-gold);
  position: relative;
}

.sheet-img {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--color-border-gold);
  margin-top: -42px;
  background: var(--color-bg-deep);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sheet-info {
  flex-grow: 1;
}

.sheet-price {
  color: var(--color-primary-gold);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.sheet-stock {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.sheet-selected {
  font-size: 0.85rem;
  color: var(--color-text-primary);
  font-weight: 700;
  margin-top: 4px;
}

.btn-close-sheet {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f4f5f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-close-sheet:hover {
  background: #e3e3e4;
  color: var(--color-text-primary);
}

.sheet-body {
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-gold) transparent;
}

.sheet-body::-webkit-scrollbar {
  width: 4px;
}

.sheet-body::-webkit-scrollbar-thumb {
  background: var(--color-border-gold);
  border-radius: 2px;
}

.variant-selector h4,
.quantity-selector h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.variant-btn {
  padding: 8px 16px;
  border: 1px solid var(--color-border-gold);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: #f8f8f8;
  color: var(--color-text-primary);
  transition: all 0.2s ease;
}

.variant-btn:hover {
  border-color: var(--color-primary-gold);
}

.variant-btn.active {
  border-color: var(--color-primary-gold);
  color: var(--color-primary-gold);
  background: rgba(254, 44, 85, 0.05);
}

.quantity-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border-gold);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.qty-controls button {
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-primary);
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.qty-controls button:hover {
  background: #f4f5f6;
}

.qty-controls span {
  width: 44px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  border-left: 1px solid var(--color-border-gold);
  border-right: 1px solid var(--color-border-gold);
  line-height: 36px;
  color: var(--color-text-primary);
}

/* Lead Gen Checkout Form */
.checkout-form {
  border-top: 1px solid var(--color-border-gold);
  padding-top: 20px;
  margin-top: 10px;
}

.checkout-form h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-primary-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-form h4 i {
  font-size: 0.95rem;
}

.checkout-form input {
  padding: 12px 14px;
  background: #f4f5f6;
  border: 1px solid var(--color-border-gold);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.checkout-form input::placeholder {
  color: var(--color-text-muted);
}

.checkout-form input:focus {
  border-color: var(--color-primary-gold);
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(254, 44, 85, 0.15);
}

.input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.input-row input {
  flex: 1;
}

.btn-confirm-order {
  width: 100%;
  padding: 14px;
  background: var(--color-primary-gold);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(254, 44, 85, 0.2);
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn-confirm-order:hover {
  box-shadow: 0 6px 16px rgba(254, 44, 85, 0.3);
  filter: brightness(1.05);
}

.btn-confirm-order:active {
  transform: translateY(0);
}

.btn-confirm-order span {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-block;
  color: var(--color-white);
}

/* 10. Toast Notification */
.toast-msg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(22, 24, 35, 0.95);
  border: 1px solid var(--color-primary-gold);
  color: var(--color-white);
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  z-index: 99999;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  opacity: 1;
  visibility: visible;
}

/* 11. Fullscreen Viewer */
.fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(22, 24, 35, 0.98);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fullscreen-viewer.active {
  opacity: 1;
  visibility: visible;
}

.btn-close-fullscreen {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-close-fullscreen:hover {
  background: rgba(255, 255, 255, 0.25);
}

.viewer-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.viewer-content img,
.viewer-content video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}