.theme-advisory {
  --brand-primary: #1F2937;
  --brand-primary-hover: #111827;
  --brand-accent: #C5A059;
  --brand-accent-hover: #B39045;
  --brand-dark: #0F172A;
  --brand-light: #F8FAFC;
  --brand-text: #111827;
  --brand-muted: #64748B;
  --brand-border: #111827;
  --brand-table-header: #F1F5F9;
  --brand-danger: #991B1B;
}

/* TEMPORARY: Delete this after you finish editing the text */

/* .flip-card-front {
  display: none !important;
}

.flip-card-back {
  transform: rotateY(0deg) !important;
  position: relative !important;
} */

body {
  font-family: 'Inter', sans-serif;
  color: var(--brand-text);
  background-color: white;
  margin: 0;
}

/* Navbar */

.navbar {
  border-bottom: 2px solid var(--brand-accent);
  background: white;
  padding: 10px 0;
}

.btn-orange {
  background-color: var(--brand-accent);
  color: white;
  font-weight: 800;
  border-radius: 4px;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 0.85rem;
  border: none;
}

.btn-orange:hover {
  background-color: var(--brand-accent-hover);
}

/* Compact Split Hero (40vh) */

.hero-split {
  height: 40vh;
  min-height: 320px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--brand-border);
}

.hero-content {
  flex: 1.2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--brand-light);
}

.hero-image {
  flex: 1;
  background: url('../../assets/img//estepwindow.png') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 41, 55, 0.3);
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

/* Matter-of-Fact Trust Bar */

.trust-bar {
  padding: 25px 0;
  background: white;
  border-bottom: 1px solid var(--brand-border);
}

.trust-col {
  border-right: 1px solid var(--brand-muted);
  padding: 0 25px;
}

.trust-col:last-child {
  border-right: none;
}

.trust-header {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--brand-accent);
  margin-bottom: 5px;
  display: block;
}

.trust-text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--brand-text);
  margin: 0;
}

/* Section Styling */

.section-header {
  padding: 40px 0 20px;
  background: var(--brand-light);
  text-align: center;
  border-bottom: 1px solid var(--brand-border);
}

.section-header h2 {
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--brand-primary);
  margin-bottom: 5px;
}

.section-header p {
  font-size: 0.9rem;
  color: var(--brand-muted);
  font-style: italic;
  font-weight: 600;
}

/* Flip Card Grid */

.grid-wrapper {
  padding: 30px 0 50px;
  background: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 180px);
  gap: 15px;
  justify-content: center;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 260px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
  border: 1px solid var(--brand-border);
}

/* Card Front Layout: Header, Image, Price */

.flip-card-front {
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-header-top {
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  background: white;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--brand-primary);
}

.card-image-mid {
  flex-grow: 1;
  background: #f1f1f1;
  overflow: hidden;
}

.card-image-mid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-price-bottom {
  padding: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  background: var(--brand-primary);
  text-align: center;
}

/* Card Back: Overview */

.flip-card-back {
  background: var(--brand-primary);
  color: white;
  transform: rotateY(180deg);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.back-list {
  font-size: 0.7rem;
  padding-left: 12px;
  margin: 0;
  list-style-type: square;
}

.back-list li {
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    height: auto;
  }
}

@media (max-width: 768px) {
  .trust-col {
    border-right: none;
    border-bottom: 1px solid var(--brand-muted);
    padding: 15px 0;
  }
}

