body:has(.policy-page) #root {
  background: radial-gradient(circle at top right, rgba(140, 111, 56, 0.04), transparent 50%),
              radial-gradient(circle at bottom left, rgba(38, 57, 44, 0.03), transparent 60%),
              #ffffff !important;
}

.policy-page {
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

.policy-header {
  text-align: center;
  margin-bottom: 50px;
}

.policy-header .badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 0.08em;
  background-color: rgba(140, 111, 56, 0.08);
  color: #8c6f38;
  border: 1px solid rgba(140, 111, 56, 0.15);
  margin-bottom: 16px;
}

.policy-header .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #26392c;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.policy-header .section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tabs Menu */
.policy-tabs-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.policy-tab-btn {
  background-color: #ffffff;
  border: 1px solid rgba(38, 57, 44, 0.08);
  color: #64748b;
  padding: 14px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-tab-btn:hover {
  border-color: #8c6f38;
  color: #26392c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(140, 111, 56, 0.08);
}

.policy-tab-btn.active {
  background-color: #26392c; /* Brand Dark Green Background */
  color: #ffffff;
  border-color: #26392c;
  box-shadow: 0 8px 24px rgba(38, 57, 44, 0.25);
}

.policy-tab-btn.active i {
  color: #8c6f38; /* Gold icon when tab active */
}

/* Content Card styling */
.policy-content {
  text-align: left;
  padding: 50px 40px;
  background-color: #ffffff;
  border: 1px solid rgba(140, 111, 56, 0.15);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(140, 111, 56, 0.03);
}

.policy-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(140, 111, 56, 0.15);
  padding-bottom: 14px;
  color: #26392c; /* Brand Dark Green */
}

.policy-intro-text {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Warranty Sub Tabs */
.warranty-sub-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(38, 57, 44, 0.08);
  padding-bottom: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.sub-tab-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 8px 16px;
  transition: all 0.2s ease;
  position: relative;
}

.sub-tab-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 3px;
  background-color: transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.sub-tab-btn:hover {
  color: #26392c;
}

.sub-tab-btn.active {
  color: #8c6f38;
}

.sub-tab-btn.active::after {
  background-color: #8c6f38;
}

.warranty-details-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #26392c;
}

.warranty-details-box p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.warranty-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.w-highlight-item {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfdfc 100%);
  border: 1px solid rgba(140, 111, 56, 0.15);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.w-highlight-item:hover {
  transform: translateY(-4px);
  border-color: #8c6f38;
  box-shadow: 0 8px 20px rgba(140, 111, 56, 0.06);
}

.w-highlight-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #26392c;
  margin-bottom: 4px;
  font-weight: 700;
}

.w-highlight-item span {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* Legal documents layouts */
.policy-legal-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.policy-legal-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #26392c;
  border-left: 3px solid #8c6f38; /* Gold left accent bar */
  padding-left: 12px;
  margin-bottom: 8px;
}

.policy-legal-text p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 15px;
  margin-bottom: 24px;
}

.policy-legal-text p:last-child {
  margin-bottom: 0;
}

/* Hide unselected tab contents when javascript is initialized */
.policy-section-content {
  opacity: 0;
}

.policy-section-content.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .policy-content {
    padding: 30px 20px;
  }
  .policy-tab-btn {
    width: 100%;
    justify-content: center;
  }
}