/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ============================================================
   RETURNS & EXCHANGES PAGE — CSS
   Add to: child-theme/style.css  OR  Appearance > Customize > Additional CSS
   ============================================================ */

/* ── Google Font ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=DM+Serif+Display&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --rp-font-body:    'DM Sans', sans-serif;
  --rp-font-display:'DM Serif Display', serif;

  --rp-ink:          #1a1a1a;
  --rp-ink-muted:    #6b7280;
  --rp-ink-faint:    #9ca3af;
  --rp-surface:      #ffffff;
  --rp-surface-alt:  #f8f7f4;
  --rp-surface-hero: #f3f1ec;
  --rp-border:       #e5e2da;

  --rp-accent:       #2d5a3d;
  --rp-accent-light: #edf4ef;
  --rp-accent-text:  #1a3d28;

  --rp-danger:       #b91c1c;
  --rp-danger-light: #fef2f2;
  --rp-danger-text:  #7f1d1d;

  --rp-step-bg:      #1a1a1a;
  --rp-step-text:    #ffffff;

  --rp-radius-sm:    6px;
  --rp-radius-md:    12px;
  --rp-radius-lg:    20px;

  --rp-shadow-card:  0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --rp-shadow-hover: 0 4px 20px rgba(0,0,0,0.10);
}

/* ── Page Wrapper ────────────────────────────────────────── */
.rp-page {
  font-family: var(--rp-font-body);
  color: var(--rp-ink);
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 64px;
}

/* ── Hero ────────────────────────────────────────────────── */
.rp-hero {
  background: var(--rp-surface-hero);
  border-radius: var(--rp-radius-lg);
  padding: 56px 48px 52px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--rp-border);
}

.rp-hero__inner {
  max-width: 600px;
}

.rp-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rp-accent);
  background: var(--rp-accent-light);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.rp-hero__title {
  font-family: var(--rp-font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--rp-ink);
}

.rp-hero__sub {
  font-size: 15px;
  color: var(--rp-ink-muted);
  margin: 0;
  font-weight: 300;
}

/* ── GMC Summary Bar ─────────────────────────────────────── */
.rp-summary {
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-top: none;
  border-radius: 0 0 var(--rp-radius-lg) var(--rp-radius-lg);
  padding: 28px 40px;
  margin-bottom: 40px;
  box-shadow: var(--rp-shadow-card);
}

.rp-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.rp-summary__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid var(--rp-border);
}

.rp-summary__item:first-child {
  padding-left: 0;
}

.rp-summary__item:last-child {
  border-right: none;
}

.rp-summary__icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.rp-summary__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rp-ink-faint);
  margin: 0 0 3px;
}

.rp-summary__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--rp-ink);
  margin: 0;
}

/* ── Body Wrapper ────────────────────────────────────────── */
.rp-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Section Card ────────────────────────────────────────── */
.rp-section {
  background: var(--rp-surface);
  border: 1px solid var(--rp-border);
  border-radius: var(--rp-radius-lg);
  overflow: hidden;
  box-shadow: var(--rp-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rp-section:hover {
  box-shadow: var(--rp-shadow-hover);
  transform: translateY(-1px);
}

.rp-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 36px;
  border-bottom: 1px solid var(--rp-border);
  background: var(--rp-surface-alt);
}

.rp-section__number {
  font-family: var(--rp-font-display);
  font-size: 13px;
  color: var(--rp-ink-faint);
  min-width: 28px;
}

.rp-section__title {
  font-family: var(--rp-font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
  color: var(--rp-ink);
}

.rp-section__content {
  padding: 28px 36px;
}

.rp-section__content > p {
  font-size: 15px;
  color: var(--rp-ink-muted);
  margin: 0 0 20px;
  line-height: 1.7;
}

/* ── List ────────────────────────────────────────────────── */
.rp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rp-list li {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--rp-ink);
}

.rp-list__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 11px;
}

.rp-list__dot--ok {
  background: var(--rp-accent-light);
  color: var(--rp-accent-text);
}

.rp-list__dot--ok::after {
  content: '✓';
  font-weight: 700;
}

.rp-list__dot--no {
  background: var(--rp-danger-light);
  color: var(--rp-danger-text);
}

.rp-list__dot--no::after {
  content: '✕';
  font-weight: 700;
}

/* ── Steps ───────────────────────────────────────────────── */
.rp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rp-steps__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--rp-border);
  position: relative;
}

.rp-steps__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rp-steps__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rp-step-bg);
  color: var(--rp-step-text);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.rp-steps__body {
  flex: 1;
}

.rp-steps__body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--rp-ink);
}

.rp-steps__body p {
  font-size: 14px;
  color: var(--rp-ink-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Contact Card ────────────────────────────────────────── */
.rp-section--contact {
  background: var(--rp-ink);
  border-color: transparent;
  overflow: hidden;
}

.rp-section--contact:hover {
  transform: translateY(-1px);
}

.rp-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  flex-wrap: wrap;
}

.rp-contact-card__title {
  font-family: var(--rp-font-display);
  font-size: 26px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 8px;
}

.rp-contact-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  margin: 0;
  line-height: 1.6;
  max-width: 380px;
}

/* ── Button ──────────────────────────────────────────────── */
.rp-btn {
  display: inline-block;
  background: #ffffff;
  color: var(--rp-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--rp-radius-md);
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.rp-btn:hover {
  background: #f0f0ee;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .rp-hero {
    padding: 40px 28px 36px;
    border-radius: var(--rp-radius-md);
  }

  .rp-summary {
    padding: 24px 20px;
    border-radius: 0 0 var(--rp-radius-md) var(--rp-radius-md);
  }

  .rp-summary__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }

  .rp-summary__item {
    padding: 0 16px;
    border-right: none;
    border-bottom: 1px solid var(--rp-border);
    padding-bottom: 16px;
  }

  .rp-summary__item:nth-child(odd) {
    border-right: 1px solid var(--rp-border);
  }

  .rp-summary__item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .rp-section__header {
    padding: 18px 22px;
  }

  .rp-section__content {
    padding: 22px 22px;
  }

  .rp-contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }

  .rp-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .rp-summary__grid {
    grid-template-columns: 1fr;
  }

  .rp-summary__item {
    border-right: none !important;
    border-bottom: 1px solid var(--rp-border);
    padding: 14px 0;
  }

  .rp-summary__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}


/* --- Policy Consistency Style --- */
:root {
    --nt-dark: #1a1a2e;
    --nt-accent: #e94560;
    --nt-bg-gray: #f8f9fa;
    --nt-border: #eeeeee;
}

.nt-policy-page {
    line-height: 1.7;
    color: #333;
}

/* Summary Grid */
.nt-policy-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -60px; /* Tạo hiệu ứng thẻ nổi lên section trên */
    position: relative;
    z-index: 10;
}

.nt-summary-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--nt-accent);
}

.nt-summary-box i {
    font-size: 2em;
    color: var(--nt-accent);
    margin-bottom: 15px;
}

.nt-summary-box h4 { margin: 10px 0 5px; font-weight: 700; text-transform: uppercase; font-size: 0.9em; }
.nt-summary-box p { font-size: 0.85em; color: #777; margin: 0; }

/* Content Sections */
.nt-section-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--nt-border);
}

.nt-section-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--nt-dark);
}

.nt-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.nt-inner-box {
    padding: 25px;
    background: var(--nt-bg-gray);
    border-radius: 8px;
}

.nt-inner-box ul { list-style: none; margin: 0; padding: 0; }
.nt-inner-box li { padding: 8px 0; border-bottom: 1px solid #e0e0e0; font-size: 0.95em; }
.nt-inner-box li:last-child { border: none; }

.nt-tag-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.nt-tag { background: #eee; padding: 5px 15px; border-radius: 20px; font-size: 0.85em; color: #555; }

.nt-email-box {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    border: 1px solid var(--nt-border);
    border-radius: 50px;
    margin: 10px 0;
    color: var(--nt-accent);
    font-size: 1.1em;
}

@media (max-width: 600px) {
    .nt-policy-summary { margin-top: -30px; }
}

/* Mobile Fixes */
@media (max-width: 600px) {
    .nt-section-block { padding: 20px; }
    .nt-policy-footer { padding: 30px 20px; }
}

/* --- Terms of Service Specific Styling --- */
:root {
    --nt-dark: #1a1a2e;
    --nt-accent: #e94560;
    --nt-bg-gray: #f8f9fa;
    --nt-border: #eeeeee;
}

.nt-policy-page {
    line-height: 1.8;
    color: #444;
}

/* Overview Box */
.nt-overview-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 5px solid var(--nt-accent);
}

/* Terms Grid */
.nt-terms-grid {
    display: grid;
    gap: 20px;
}

.nt-terms-grid .nt-section-block {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--nt-border);
    padding: 25px 0;
    margin-bottom: 0;
}

.nt-terms-grid h4 {
    font-size: 1.1rem;
    color: var(--nt-dark);
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlighted Section */
.nt-important-notice {
    background: #fff5f6 !important;
    padding: 30px !important;
    border-radius: 8px;
    border-bottom: none !important;
}

/* Shared Components */
.nt-email-box {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    border: 1px solid var(--nt-border);
    border-radius: 50px;
    margin: 15px 0;
    color: var(--nt-accent);
    font-weight: 700;
}

@media (max-width: 600px) {
    .nt-overview-card { padding: 25px; }
    .nt-terms-grid h4 { font-size: 1rem; }
}

/* --- Contact Support Hub UI --- */
:root {
    --nt-dark: #1a1a2e;
    --nt-accent: #e94560;
    --nt-gray: #666;
    --nt-soft-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Badge Header */
.nt-badge-red {
    display: inline-block;
    background: var(--nt-accent);
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Channel Box Styling */
.nt-channel-box {
    text-align: center;
    padding: 50px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f1f1;
}

.nt-channel-box:hover {
    box-shadow: var(--nt-soft-shadow);
    transform: translateY(-10px);
    border-color: var(--nt-accent);
}

.nt-circle-icon {
    width: 70px;
    height: 70px;
    background: #fff5f6;
    color: var(--nt-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: 0.3s;
}

.nt-channel-box:hover .nt-circle-icon {
    background: var(--nt-accent);
    color: #fff;
}

.nt-channel-box h3 {
    font-size: 1.4rem;
    color: var(--nt-dark);
    margin-bottom: 15px;
}

.nt-channel-box p {
    color: var(--nt-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.nt-action-link {
    color: var(--nt-accent) !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.nt-static-text {
    font-weight: 700;
    color: var(--nt-dark);
    font-size: 0.9rem;
}

/* Map & Overlay */
.nt-map-placeholder {
    width: 100%;
    height: 350px;
    background: #f0f2f5;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nt-map-overlay {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 5;
}

/* Hiệu ứng Pulse Marker */
.nt-pulse-marker {
    width: 20px;
    height: 20px;
    background: var(--nt-accent);
    border-radius: 50%;
    margin: 15px auto 0;
    position: relative;
}

.nt-pulse-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: nt-ripple 1.5s infinite;
}

@keyframes nt-ripple {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(3); opacity: 0; }
}

.nt-commitment-footer {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .nt-contact-hub h1 { font-size: 38px; }
    .nt-channel-box { padding: 30px 15px; }
}

/* --- DMCA & Copyright Policy Styling --- */
:root {
    --nt-dark: #1a1a2e;
    --nt-accent: #e94560;
    --nt-bg-gray: #f8f9fa;
    --nt-border: #eeeeee;
    --nt-radius: 12px;
}

.nt-policy-page {
    line-height: 1.8;
    color: #333;
}

/* Sections & Blocks */
.nt-section-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--nt-border);
}

.nt-section-block h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--nt-dark);
}

.nt-inner-box {
    padding: 30px;
    background: var(--nt-bg-gray);
    border-radius: var(--nt-radius);
    line-height: 2.2; /* Dãn dòng thông tin liên hệ cho thoáng */
}

/* Check-list style for DMCA requirements */
.nt-check-list { list-style: none; margin: 0; padding: 0; }
.nt-check-list li { position: relative; padding-left: 30px; margin-bottom: 15px; color: #555; }
.nt-check-list li::before { 
    content: "◈"; 
    color: var(--nt-accent); 
    font-weight: bold; 
    position: absolute; 
    left: 0; 
}

/* Alert Box */
.nt-alert-box {
    background: #fff5f6;
    border-left: 4px solid var(--nt-accent);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-style: italic;
}

/* CTA Email Box */
.nt-email-box {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    border: 1px solid var(--nt-border);
    border-radius: 50px;
    margin: 15px 0;
    color: var(--nt-accent);
    font-weight: bold;
}

@media (max-width: 600px) {
    .nt-section-block h3 { font-size: 1.3rem; }
}

/* --- Cancellation Policy Styling --- */
:root {
    --nt-dark: #1a1a2e;
    --nt-accent: #e94560;
    --nt-bg-gray: #f8f9fa;
    --nt-border: #eeeeee;
    --nt-radius: 12px;
}

.nt-policy-page { line-height: 1.8; color: #333; }

/* Summary Cards */
.nt-policy-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.nt-summary-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--nt-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--nt-accent);
}

.nt-summary-box i { font-size: 2.2em; color: var(--nt-accent); margin-bottom: 15px; }

/* Sections */
.nt-section-block { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--nt-border); }
.nt-section-block h3 { font-size: 1.6rem; font-weight: 700; color: var(--nt-dark); margin-bottom: 25px; }

.nt-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.nt-inner-box { padding: 30px; background: var(--nt-bg-gray); border-radius: var(--nt-radius); }

/* Steps */
.nt-process-steps { display: grid; gap: 12px; }
.nt-step { 
    background: #fff; border: 1px solid var(--nt-border); padding: 18px; 
    border-radius: 8px; display: flex; align-items: center; 
}
.nt-step span { 
    background: var(--nt-accent); color: #fff; width: 30px; height: 30px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    margin-right: 15px; font-weight: bold; 
}

/* Alert box */
.nt-alert-box {
    background: #fff5f6;
    border-left: 4px solid var(--nt-accent);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    color: #555;
}

.nt-email-box {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    border: 1px solid var(--nt-border);
    border-radius: 50px;
    margin: 15px 0;
    color: var(--nt-accent);
    font-weight: bold;
}
