/* Performance-optimized styles with CSS containment */
section.full-wrap-main{
  padding: 30px 16px 80px;
}
.topfragrance-page {
  contain: layout style;
}

/* Main Content Card - Single unified card design */
.main-content-card {
  background: #fff;
  width: 100%;
  display: block;
  box-shadow: 0px 0px 35px 0px #00000026;
  padding: 30px;
  font-family: "Bebas Neue Pro" !important;
}

/* Interactive Map Section */
.map-section {
  background: #fff;
  padding: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h1 {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 48px;
    font-family: 'Bebas Neue Pro', sans-serif;
    font-weight: revert;
    line-height: 1.2;
    color: #C41425;
    margin-bottom: 16px;
}

.section-header p {
    font-family: 'Bebas Neue Pro', sans-serif;
    font-size: 22px;
    line-height: 30px;
    font-weight: 400;
    color: #000;
}

/* Map Container */
#map-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.map-wrapper {
    display: flex;
    gap: 30px;
    max-width: 100%;
    overflow: hidden;
}

.map-canvas {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 8px;
}

.map-sidebar {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 8px;
  position: sticky;
  top: 20px;
  width: 40%;
}

/* SVG Map Styles */
#us-map a.state-link {
  cursor: pointer;
  text-decoration: none;
}

path {
  stroke: white;
  stroke-width: 1.5;
  fill: #b6babe !important;
  transition: all 0.3s ease;
  transform-origin: center center;
  cursor: pointer;
}

path:hover,
#us-map a:hover path {
  fill: #c41425 !important;
  transform: scale(1.02);
  filter: drop-shadow(0 4px 8px rgba(196, 20, 37, 0.3));
}

path.myclass {
  fill: #c41425 !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

#us-map {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

#details-box {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 16px;
  position: fixed;
  color: white;
  font-family: 'Bebas Neue Pro', sans-serif;
  background-color: #000;
  width: fit-content;
  transform: translateX(-50%);
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Dropdown Selector */
.dropdown-selector {
  margin-bottom: 20px;
}

.dropdown-selector label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
  font-family: 'Bebas Neue Pro', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.dropdown-selector .select-form {
    position: relative;
}
.dropdown-selector .select-form:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    font-size: 21px;
    color: #c41425;
}
.dropdown-selector select {
  width: 100%;
  padding: 8px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 18px;
  font-family: 'Bebas Neue Pro', sans-serif;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
  appearance: none;
}

.dropdown-selector select:focus {
  outline: none;
  border-color: #c41425;
  box-shadow: 0 0 0 3px rgba(196, 20, 37, 0.1);
}

.dropdown-selector select:hover {
  border-color: #c41425;
}

/* Selected State Info */
.selected-state-info {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.selected-state-info .state-flag,
.map-sidebar .state-flag {
  width: 60px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: block;
  margin-right: 15px;
}

.map-sidebar h3 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 24px;
  color: #c41425;
  margin-bottom: 10px;
  margin-top: 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.map-sidebar p {
  font-size: 18px;
  color: #333;
  line-height: 1.4;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.selected-state-info h3 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 24px;
  color: #c41425;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.selected-state-info p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Fragrance Results Section */
.fragrance-results {
    background: transparent;
    margin-bottom: 0;
    margin-top: 50px;
    border-radius: 0;
    box-shadow: none;
}

.results-header {
  text-align: center;
  margin-bottom: 40px;
}

.results-header h2 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 36px;
  color: #c41425;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.results-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.results-column, .top-selling {
    padding: 0 15px;
}
.results-column h3,
.top-selling h3 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #c41425;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Fragrance List */
.frag-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.frag-list li {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.frag-list a,
.top-selling ul a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    margin-bottom: 15px;
    width: 100%;
}

.frag-list a:hover,
.top-selling ul a:hover {
  background: #fff;
  border-color: #c41425;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(196, 20, 37, 0.15);
}

.frag-list img,
.top-selling ul img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.frag_text {
  color: #000 !important;
  transition: color 0.3s;
  font-size: 22px;
  line-height: 1.2;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 500;
  flex: 1;
  letter-spacing: 0.5px;
}

.frag-list a:hover .frag_text,
.top-selling ul a:hover .frag_text {
  color: #c41425 !important;
}

.top-selling ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-selling ul li {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

/* SEO Content Section */
.seo-content {
    background: #fff;
    margin-top: 50px;
}

.seo-content h2 {
    font-family: 'Bebas Neue Pro', sans-serif;
    font-size: 36px;
    color: #c41425;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
}

.seo-content > p:first-of-type {
    font-size: 22px;
    line-height: 1.2;
    color: #000;
    font-family: 'Bebas Neue Pro', sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h3 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 32px;
  color: #c41425;
  margin-top: 50px;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.seo-content p {
  font-size: 22px;
  line-height: 1.3;
  color: #000;
  margin-bottom: 20px;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.seo-content ul {
  margin: 25px 0;
  padding-left: 0;
  list-style: none;
}

.seo-content li {
  font-size: 22px;
  line-height: 1.2;
  color: #4a4a4a;
  margin-bottom: 15px;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding-left: 30px;
  position: relative;
}

.seo-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #c41425;
  font-weight: 700;
  font-size: 18px;
}

.seo-content li strong {
  color: #000;
  font-weight: 700;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin: 40px 0 50px 0;
}

.benefit-card {
  background: #fafafa;
  padding: 35px 20px;
  border-radius: 12px;
  box-shadow: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e8e8e8;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(196, 20, 37, 0.15) 0 5px 20px;
  border-color: #c41425;
  background: #fff;
}

.benefit-icon {
  font-size: 52px;
  color: #c41425;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon i {
  display: inline-block;
}

.benefit-card h4 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 20px;
  color: #000 !important;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 18px;
  color: #333;
  margin: 0;
  line-height: 1.2;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #c41425 0%, #8b0e1a 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  margin-bottom: 40px;
  box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.cta-section h2 {
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 35px;
  opacity: 0.95;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: white;
  color: #c41425;
  font-family: 'Bebas Neue Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  color: #c41425;
}
.flag-title {
    display: flex;
    align-items: center;
    gap: 0;
}
/* Responsive Design */
@media (max-width: 991px) {
  .map-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .map-wrapper{
    flex-wrap: wrap;
  }
  .map-sidebar {
    position: relative;
    top: 0;
    width: 100%;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .results-column h3,
  .top-selling h3 {
    font-size: 24px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  
  .map-canvas,
  .map-sidebar {
    padding: 20px;
  }
  
  .section-header h2,
  .results-header h2 {
    font-size: 28px;
  }
  
  .results-column h3,
  .top-selling h3 {
    font-size: 22px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .section-header p, .seo-content > p:first-of-type, .seo-content li, .seo-content p {
    font-size: 18px;
    line-height: 1.3;
}
  .frag_text {
    font-size: 18px;
  }
  .seo-content {
    margin-top: 25px;
 }
  .seo-content h2 {
    font-size: 28px;
  }
  .benefits-grid {
    margin: 25px 0 35px 0;
 }
 .dropdown-selector select{
    padding: 6px 12px;
 }
 .results-header {
    margin-bottom: 20px;
}
  .seo-content h3 {
    font-size: 24px;
    margin-top: 35px;
  }
  
  .benefit-card {
    padding: 30px 20px;
  }
  
  .benefit-icon {
    font-size: 48px;
  }
  .main-content-card {
    padding: 25px 20px 10px;
  }
  .section-header h1 {
    font-size: 28px;
  }
  .section-header p, .dropdown-selector label {
    font-size: 18px;
    line-height: 1.3;
  }
  .section-header {
    margin-bottom: 20px;
  }
  section.full-wrap-main {
    padding: 10px 0 40px;
  }
  .frag-list a, .top-selling ul a{
    padding: 5px 10px;
  }
  .frag-list img,
  .top-selling ul img {
    width: 50px;
    height: 50px;
  }
}

