:root {
  --rd-green-900: #04342C;
  --rd-green-800: #085041;
  --rd-green-700: #0F6E56;
  --rd-green-500: #1D9E75;
  --rd-green-300: #5DCAA5;
  --rd-green-200: #9FE1CB;
  --rd-green-100: #E1F5EE;
  --rd-white: #FFFFFF;
  --rd-gray-50: #F4F9F4;
  --rd-gray-100: #F0F2F0;
  --rd-gray-200: #E2E5E2;
  --rd-gray-300: #C8CBC8;
  --rd-gray-500: #6B7280;
  --rd-gray-700: #374151;
  --rd-gray-900: #1F2937;
  --rd-red: #E24B4A;
  --rd-red-light: #FEF2F2;
  --rd-blue-fb: #1877F2;
  --rd-radius: 12px;
  --rd-radius-sm: 8px;
  --rd-radius-pill: 20px;
  --rd-shadow: 0 1px 3px rgba(0,0,0,0.08);
  --rd-nav-height: 56px;
  --rd-header-height: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.rd-app {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--rd-gray-900);
  background: var(--rd-gray-50);
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.rd-app a { color: inherit; text-decoration: none; }
.rd-app img { max-width: 100%; height: auto; display: block; }
.rd-app button { font-family: inherit; cursor: pointer; border: none; background: none; }
.rd-app svg { width: 20px; height: 20px; flex-shrink: 0; }

.rd-header {
  background: linear-gradient(135deg, var(--rd-green-800), var(--rd-green-700));
  padding: 12px 16px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.rd-detail-header { padding: 4px 16px; }
.rd-detail-header .rd-header-brand h1 { font-size: 20px; }

.rd-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rd-header-brand h1 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.rd-header-brand p {
  font-size: 12px;
  color: var(--rd-green-200);
  margin-top: 2px;
}

.rd-header-actions { display: flex; gap: 8px; }

.rd-header-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rd-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--rd-radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  position: relative;
}

.rd-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}

.rd-search-bar svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.rd-search-bar input::placeholder { color: rgba(255,255,255,0.6); }
.rd-header-btn svg { width: 20px; height: 20px; color: #fff; }

.rd-search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--rd-white);
  border-radius: 0 0 var(--rd-radius-sm) var(--rd-radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 200;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.rd-search-suggest.open { display: block; }

.rd-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--rd-gray-100);
}

.rd-suggest-item:last-child { border-bottom: none; }
.rd-suggest-item:active { background: var(--rd-gray-50); }

.rd-suggest-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.rd-suggest-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--rd-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rd-suggest-placeholder svg { width: 18px; height: 18px; color: var(--rd-gray-400); }

.rd-suggest-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rd-suggest-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--rd-gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-suggest-type {
  font-size: 12px;
  color: var(--rd-gray-500);
}

.rd-page-header {
  background: var(--rd-white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rd-gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.rd-page-header h2 {
  font-size: 17px;
  font-weight: 600;
  flex: 1;
}

.rd-back-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.rd-back-btn:active { background: var(--rd-gray-100); }

.rd-content {
  padding-bottom: calc(var(--rd-nav-height) + 16px);
}

.rd-section {
  background: var(--rd-white);
  padding: 16px;
  margin-top: 8px;
}

.rd-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rd-section-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rd-section-title svg { width: 18px; height: 18px; color: var(--rd-green-700); }

.rd-see-all {
  font-size: 13px;
  color: var(--rd-green-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
}

.rd-see-all svg { width: 14px; height: 14px; }

.rd-category-chips {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.rd-category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  cursor: pointer;
}

.rd-category-chip-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--rd-radius-sm);
  background: var(--rd-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.rd-category-chip-icon svg { width: 24px; height: 24px; color: var(--rd-green-700); }

.rd-category-chip:active .rd-category-chip-icon { transform: scale(0.93); }

.rd-category-chip span {
  font-size: 12px;
  color: var(--rd-gray-500);
  font-weight: 500;
}

.rd-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.rd-scroll-row::-webkit-scrollbar { display: none; }

.rd-resort-card {
  min-width: 180px;
  max-width: 200px;
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  border: 1px solid var(--rd-gray-200);
  overflow: hidden;
  scroll-snap-align: start;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s;
}

.rd-resort-card:active { transform: scale(0.97); }

.rd-resort-card-img {
  height: 110px;
  background: var(--rd-green-100);
  position: relative;
  overflow: hidden;
}

.rd-resort-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-resort-card-img .rd-type-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 10px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 2px 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rd-resort-card-img .rd-type-badge svg { width: 11px; height: 11px; }

.rd-wishlist-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rd-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rd-wishlist-btn svg { width: 16px; height: 16px; color: #fff; }
.rd-wishlist-btn.active { background: var(--rd-green-700); }
.rd-wishlist-btn.active svg { color: #fff; }

.rd-resort-card-body { padding: 10px 12px; }

.rd-resort-card-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rd-resort-card-location {
  font-size: 12px;
  color: var(--rd-gray-500);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
}

.rd-resort-card-location svg { width: 12px; height: 12px; }

.rd-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rd-star-wrap {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
.rd-star-wrap > svg { width: 14px; height: 14px; color: var(--rd-gray-200); display: block; }
.rd-star-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
}
.rd-star-fill svg { width: 14px; height: 14px; color: var(--rd-green-700); display: block; }

.rd-rating-num {
  font-size: 12px;
  color: var(--rd-gray-500);
  margin-left: 3px;
}

.rd-resort-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 16px;
}

.rd-resort-grid .rd-resort-card {
  min-width: 0;
  max-width: none;
}

.rd-filter-bar {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: var(--rd-white);
  border-bottom: 1px solid var(--rd-gray-200);
  scrollbar-width: none;
  position: sticky;
  top: 49px;
  z-index: 99;
}

.rd-filter-bar::-webkit-scrollbar { display: none; }

.rd-filter-pill {
  padding: 7px 16px;
  border-radius: var(--rd-radius-pill);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--rd-gray-200);
  background: var(--rd-white);
  color: var(--rd-gray-700);
  transition: all 0.15s;
}

.rd-filter-pill.active {
  background: var(--rd-green-700);
  color: #fff;
  border-color: var(--rd-green-700);
}

.rd-filter-pill:active { transform: scale(0.95); }

.rd-district-select {
  padding: 7px 12px;
  border-radius: var(--rd-radius-pill);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--rd-gray-200);
  background: var(--rd-white);
  color: var(--rd-gray-700);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.rd-district-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 4px;
}

.rd-district-pill {
  padding: 8px 16px;
  border-radius: var(--rd-radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--rd-white);
  border: 1.5px solid var(--rd-green-700);
  color: var(--rd-green-700);
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(15,110,86,0.1);
}

.rd-district-pill:active { transform: scale(0.95); background: var(--rd-green-100); }

.rd-offer-card {
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  border: 1px solid var(--rd-gray-200);
  padding: 14px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.15s;
}

.rd-offer-card:active { transform: scale(0.98); }
.rd-offer-card + .rd-offer-card { margin-top: 10px; }

.rd-offer-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--rd-radius-sm);
  background: var(--rd-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rd-offer-icon svg { width: 24px; height: 24px; color: var(--rd-green-800); }

.rd-offer-body { flex: 1; min-width: 0; }

.rd-offer-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.rd-offer-resort {
  font-size: 12px;
  color: var(--rd-gray-500);
  margin-bottom: 6px;
}

.rd-offer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rd-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.rd-badge-active {
  background: var(--rd-green-100);
  color: var(--rd-green-800);
}

.rd-badge-expired {
  background: var(--rd-gray-100);
  color: var(--rd-gray-500);
}

.rd-offer-date {
  font-size: 11px;
  color: var(--rd-gray-500);
  display: flex;
  align-items: center;
  gap: 3px;
}

.rd-offer-date svg { width: 12px; height: 12px; }

/* Blog cards */
.rd-blog-card {
  min-width: 200px;
  max-width: 220px;
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  border: 1px solid var(--rd-gray-200);
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s;
}
.rd-blog-card:active { transform: scale(0.97); }
.rd-blog-card-img {
  width: 100%;
  height: 120px;
  overflow: hidden;
}
.rd-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rd-blog-card-body {
  padding: 10px 12px;
}
.rd-blog-card-body h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-blog-card-body p {
  font-size: 11px;
  color: var(--rd-gray-500);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Blog list page */
.rd-blog-list { padding: 0 16px; }
.rd-blog-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rd-gray-200);
  cursor: pointer;
}
.rd-blog-list-item:active { opacity: 0.7; }
.rd-blog-list-item-img {
  width: 100px;
  height: 80px;
  border-radius: var(--rd-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.rd-blog-list-item-img img { width: 100%; height: 100%; object-fit: cover; }
.rd-blog-list-item-body { flex: 1; min-width: 0; }
.rd-blog-list-item-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rd-blog-list-item-body p {
  font-size: 12px;
  color: var(--rd-gray-500);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog detail page */
.rd-blog-detail-info {
  padding: 16px;
}
.rd-blog-detail-info h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}
.rd-blog-detail-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--rd-gray-500);
}
.rd-blog-detail-date svg { width: 14px; height: 14px; }
.rd-blog-detail-content {
  padding: 0 16px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rd-gray-700);
}
.rd-blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rd-radius-sm);
  margin: 12px 0;
}
.rd-blog-detail-content p { margin: 0 0 12px; }
.rd-blog-detail-content h2,
.rd-blog-detail-content h3 { margin: 16px 0 8px; }
.rd-blog-detail-actions {
  padding: 8px 16px 20px;
  display: flex;
  gap: 8px;
}

.rd-offer-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--rd-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.rd-offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-offer-detail-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
}
.rd-offer-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-offer-detail-info {
  padding: 16px 16px 12px;
}
.rd-offer-detail-info h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 10px;
  line-height: 1.3;
}
.rd-offer-detail-validity {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--rd-gray-500);
}
.rd-offer-detail-validity svg { width: 14px; height: 14px; }

.rd-offer-detail-resort {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin: 0 16px 16px;
  background: var(--rd-gray-50);
  border-radius: var(--rd-radius);
  cursor: pointer;
}
.rd-offer-detail-resort svg { width: 16px; height: 16px; color: var(--rd-gray-400); margin-left: auto; }
.rd-offer-detail-resort-img {
  width: 44px;
  height: 44px;
  border-radius: var(--rd-radius-sm);
  object-fit: cover;
}
.rd-offer-detail-resort-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.rd-offer-detail-resort-label {
  font-size: 11px;
  color: var(--rd-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rd-offer-detail-resort-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--rd-gray-900);
}

.rd-offer-detail-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rd-gray-700);
  padding: 0 16px;
  margin-bottom: 20px;
}

.rd-offer-detail-actions {
  padding: 8px 16px 20px;
}
.rd-offer-detail-actions .rd-btn,
.rd-offer-detail-actions button.rd-btn-contact {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rd-offer-detail-actions .rd-btn + .rd-btn,
.rd-offer-detail-actions button.rd-btn-contact + .rd-btn {
  margin-top: 10px;
}
.rd-offer-detail-actions .rd-btn svg,
.rd-offer-detail-actions button.rd-btn-contact svg { width: 18px; height: 18px; }

.rd-detail-hero {
  position: relative;
  height: 250px;
  background: var(--rd-green-100);
  overflow: hidden;
}

.rd-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-detail-hero-nav {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  z-index: 5;
}

.rd-detail-hero-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-detail-header .rd-header-top {
  justify-content: flex-start;
  gap: 12px;
}

.rd-header-back {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rd-header-back svg { width: 20px; height: 20px; }

.rd-detail-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.rd-detail-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.rd-detail-hero-dot.active { background: #fff; }

.rd-detail-info {
  background: var(--rd-white);
  padding: 16px;
}

.rd-detail-info h1 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.rd-detail-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--rd-gray-500);
}

.rd-detail-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rd-detail-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.rd-detail-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rd-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-green-700);
}

.rd-detail-action-btn svg { width: 16px; height: 16px; color: var(--rd-green-700); }

.rd-detail-action-btn.rd-wishlist-btn {
  position: static;
  width: 34px;
  height: 34px;
  background: var(--rd-green-100);
}

.rd-detail-action-btn.rd-wishlist-btn svg { width: 16px; height: 16px; color: var(--rd-green-700); }
.rd-detail-action-btn.rd-wishlist-btn.active { background: var(--rd-green-700); }
.rd-detail-action-btn.rd-wishlist-btn.active svg { color: #fff; }

.rd-detail-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rd-detail-meta-item svg { width: 14px; height: 14px; color: var(--rd-green-700); }

.rd-detail-meta-item + .rd-detail-meta-item::before {
  content: '·';
  margin-right: 2px;
  color: var(--rd-gray-300);
  font-weight: 700;
}

.rd-detail-meta-item .rd-rating { margin: 0; }

.rd-detail-contact {
  margin-top: 16px;
}

button.rd-btn-contact {
  width: 100%;
  padding: 12px;
  border-radius: var(--rd-radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--rd-green-700);
  color: #fff;
  transition: transform 0.15s;
}

button.rd-btn-contact:active { transform: scale(0.97); }
button.rd-btn-contact svg { width: 18px; height: 18px; color: #fff; }

.rd-contact-phone { background: var(--rd-green-700); color: #fff; }
.rd-contact-email { background: var(--rd-green-700); color: #fff; }
.rd-contact-fb { background: #0084FF; color: #fff; }

.rd-detail-content {
  background: var(--rd-white);
  padding: 16px;
  margin-top: 8px;
}

.rd-detail-content h2,
.rd-detail-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.rd-detail-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rd-gray-700);
  margin-bottom: 12px;
}

.rd-detail-content img {
  border-radius: var(--rd-radius-sm);
  margin: 8px 0;
}

.rd-detail-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 12px 0;
}

.rd-detail-content table td,
.rd-detail-content table th {
  padding: 8px 12px;
  border: 1px solid var(--rd-gray-200);
  text-align: left;
}

.rd-detail-content table tr:first-child td { font-weight: 600; background: var(--rd-green-100); }

.rd-detail-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 16px 0 8px;
}

.rd-detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 12px 0;
}

.rd-detail-gallery img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.rd-wishlist-list { padding: 16px; }

.rd-wishlist-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--rd-white);
  border-radius: var(--rd-radius);
  border: 1px solid var(--rd-gray-200);
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.15s;
}

.rd-wishlist-item:active { transform: scale(0.98); }

.rd-wishlist-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--rd-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rd-green-100);
}

.rd-wishlist-item-img img { width: 100%; height: 100%; object-fit: cover; }

.rd-wishlist-item-body { flex: 1; min-width: 0; }

.rd-wishlist-item-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
}

.rd-wishlist-item-remove {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  align-self: center;
  color: var(--rd-gray-500);
}

.rd-wishlist-item-remove:active { background: var(--rd-red-light); color: var(--rd-red); }
.rd-wishlist-item-remove svg { width: 16px; height: 16px; }

.rd-empty-state {
  text-align: center;
  padding: 48px 32px;
}

.rd-empty-state svg { width: 64px; height: 64px; color: var(--rd-gray-300); margin-bottom: 16px; }

.rd-empty-state h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.rd-empty-state p {
  font-size: 14px;
  color: var(--rd-gray-500);
  margin-bottom: 20px;
}

.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--rd-radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s;
}

.rd-btn:active { transform: scale(0.97); }

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

.rd-load-more {
  display: block;
  width: calc(100% - 32px);
  margin: 16px auto;
  padding: 12px;
  border-radius: var(--rd-radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: var(--rd-white);
  border: 1px solid var(--rd-gray-200);
  color: var(--rd-green-700);
  text-align: center;
}

.rd-load-more:active { background: var(--rd-green-100); }

.rd-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--rd-nav-height);
  background: var(--rd-white);
  border-top: 1px solid var(--rd-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.rd-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rd-nav-item svg { width: 22px; height: 22px; color: var(--rd-gray-500); }
.rd-nav-item span { font-size: 10px; color: var(--rd-gray-500); font-weight: 500; }

.rd-nav-item.active svg { color: var(--rd-green-700); }
.rd-nav-item.active span { color: var(--rd-green-700); }

.rd-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
}

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

.rd-drawer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: var(--rd-white);
  border-radius: var(--rd-radius) var(--rd-radius) 0 0;
  z-index: 301;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.rd-drawer.open { transform: translateX(-50%) translateY(0); }

.rd-drawer-handle {
  width: 36px;
  height: 4px;
  background: var(--rd-gray-300);
  border-radius: 2px;
  margin: 10px auto;
}

.rd-drawer-menu { padding: 8px 0 16px; }

.rd-drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.rd-drawer-item:active { background: var(--rd-gray-100); }

.rd-drawer-item svg { width: 20px; height: 20px; color: var(--rd-green-700); }

.rd-drawer-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--rd-gray-200);
  text-align: center;
  font-size: 12px;
  color: var(--rd-gray-500);
}

.rd-skeleton {
  background: linear-gradient(90deg, var(--rd-gray-100) 25%, var(--rd-gray-200) 50%, var(--rd-gray-100) 75%);
  background-size: 200% 100%;
  animation: rd-shimmer 1.5s infinite;
  border-radius: var(--rd-radius-sm);
}

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

.rd-skeleton-card { height: 170px; min-width: 180px; border-radius: var(--rd-radius); }
.rd-skeleton-text { height: 14px; margin-bottom: 8px; }
.rd-skeleton-text.short { width: 60%; }

.rd-install-banner {
  background: var(--rd-green-100);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--rd-green-200);
}

.rd-install-banner-text { flex: 1; }

.rd-install-banner-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--rd-green-800);
}

.rd-install-banner-text p {
  font-size: 11px;
  color: var(--rd-green-700);
}

.rd-install-btn {
  padding: 7px 14px;
  background: var(--rd-green-700);
  color: #fff;
  border-radius: var(--rd-radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.rd-install-close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-install-close svg { width: 14px; height: 14px; color: var(--rd-gray-500); }

.rd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-lightbox img { max-width: 95%; max-height: 85vh; object-fit: contain; }

.rd-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rd-lightbox-close svg { width: 20px; height: 20px; }

.rd-share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rd-share-sheet {
  background: var(--rd-white);
  border-radius: 16px 16px 0 0;
  padding: 12px 20px 24px;
  width: 100%;
  max-width: 480px;
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
}

.rd-share-sheet.open { transform: translateY(0); }

.rd-share-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--rd-gray-300);
  margin: 0 auto 12px;
}

.rd-share-sheet h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.rd-share-options {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.rd-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  font-size: 12px;
  color: var(--rd-gray-600);
}

.rd-share-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-share-option-icon svg { width: 24px; height: 24px; }

.rd-share-whatsapp { background: #25D366; color: #fff; }
.rd-share-messenger { background: #0084FF; color: #fff; }
.rd-share-copy { background: var(--rd-gray-200); color: var(--rd-gray-700); }
.rd-share-more { background: var(--rd-green-100); color: var(--rd-green-700); }

/* Install banner */
.rd-install-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 16px;
  padding: 12px 14px;
  background: var(--rd-green-100);
  border: 1px solid var(--rd-green-200);
  border-radius: var(--rd-radius-md);
}
.rd-install-banner-icon {
  width: 36px;
  height: 36px;
  background: var(--rd-green-700);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rd-install-banner-icon svg { width: 20px; height: 20px; color: #fff; }
.rd-install-banner-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rd-install-banner-text strong { font-size: 13px; color: var(--rd-green-900); }
.rd-install-banner-text span { font-size: 11px; color: var(--rd-gray-500); }
.rd-install-btn {
  background: var(--rd-green-700);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--rd-radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.rd-install-close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--rd-gray-400);
  flex-shrink: 0;
}
.rd-install-close svg { width: 16px; height: 16px; }

.rd-toast {
  position: fixed;
  bottom: calc(var(--rd-nav-height) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--rd-gray-900);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--rd-radius-sm);
  font-size: 13px;
  font-weight: 500;
  z-index: 400;
  transition: transform 0.3s;
  max-width: 320px;
  text-align: center;
}

.rd-toast.show { transform: translateX(-50%) translateY(0); }

@media (min-width: 480px) {
  .rd-app {
    border-left: 1px solid var(--rd-gray-200);
    border-right: 1px solid var(--rd-gray-200);
  }
}
