/* Appliance Sections Styles - Consolidated */

/* Base appliance section styles */
.appliance-section {
  padding: var(--spacing-4xl) 0;
}

.appliance-section .section-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  padding: 0;
}

.appliance-section .section-subtitle {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: var(--spacing-md);
}

.appliance-section .content-text p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-md);
}

.appliance-section .content-text p.highlight-text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 0;
}

/* Appliance types section styles */
.appliance-types-section {
  background-color: var(--color-background-light);
  position: relative;
  padding: var(--spacing-4xl) 0;
}

.appliance-types-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.appliance-types-section .container {
  position: relative;
  z-index: 2;
}

.appliance-types-section .section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-lg);
  padding: 0;
}

.appliance-types-section ul {
  list-style-type: disc;
  padding-left: var(--spacing-lg);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

.appliance-types-section li {
  margin-bottom: var(--spacing-xs);
}

/* Hero section styles */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--spacing-xl);
}

.hero-text h1 {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: var(--font-weight-bold);
  color: var(--color-text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.hero-text p {
  font-size: clamp(var(--font-size-base), 3vw, var(--font-size-xl));
  color: var(--color-text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
  margin: 0;
  line-height: var(--line-height-normal);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .appliance-section,
  .appliance-types-section {
    padding: var(--spacing-3xl) 0;
  }
  
  .appliance-section .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .appliance-types-section .section-title {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 767.98px) {
  .appliance-section,
  .appliance-types-section {
    padding: var(--spacing-2xl) 0;
  }
  
  .appliance-section .section-title {
    font-size: var(--font-size-xl);
  }
  
  .appliance-types-section .section-title {
    font-size: var(--font-size-lg);
  }
  
  .hero-section {
    min-height: 300px;
    background-attachment: scroll;
  }
}

/* ========== social-icons ========== */
/* Social Media Icons - Colors embedded in SVG */
.social-icon {
    display: inline-block;
    vertical-align: middle;
}

.footer-social-link a,
.off-canvas-social-widget a,
.social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    background: transparent !important;
    border: none !important;
    transition: opacity 0.3s ease !important;
    text-decoration: none !important;
}

/* Hover effects */
.footer-social-link a:hover,
.off-canvas-social-widget a:hover,
.social a:hover {
    opacity: 0.7 !important;
}


/* ========== breadcrumbs ========== */
/* Breadcrumbs Navigation */
.breadcrumb-nav {
  padding: 0.5rem 0;
  background-color: #f8f9fa;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: transparent;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a {
  color: var(--color-primary, #010096);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #000075;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #495057;
  font-weight: 500;
}

@media only screen and (max-width: 767.98px) {
  .breadcrumb-nav {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-item {
    font-size: 0.85rem;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 0.35rem;
  }
}
/* Breadcrumb item truncation for very long product names */
.breadcrumb-item {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Last breadcrumb item (usually product name) can be longer */
.breadcrumb-item:last-child {
  max-width: 60%;
  flex-shrink: 1;
}

/* Mobile responsive adjustments */
@media only screen and (max-width: 575.98px) {
  .breadcrumb {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    display: none;
  }
  
  .breadcrumb-item {
    max-width: 100%;
    padding-left: 0;
  }
  
  .breadcrumb-item:not(:first-child) {
    padding-left: 0;
    position: relative;
  }
  
  .breadcrumb-item:not(:first-child)::before {
    content: "↳";
    position: absolute;
    left: 0;
    color: #6c757d;
  }
}

/* Ensure breadcrumb container doesn't overflow */
.breadcrumb-nav .container {
  overflow: hidden;
}

/* ========== 404 ========== */
/* 404 Page Styles */
.not-found-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f6f6f6;
  padding: 2rem 1rem;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.not-found-page h1 {
  animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.not-found-page .quick-links {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.6s ease-out 0.3s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .not-found-page .quick-links {
    padding: 1.5rem 1rem;
  }
  
  .not-found-page .quick-links .row {
    text-align: center;
  }
}

/* Button hover effects */
.not-found-page .btn {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.not-found-page .btn:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Link hover animation */
.not-found-page .quick-links a {
  position: relative;
  display: inline-block;
}

.not-found-page .quick-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #010096;
  transition: width 0.3s ease;
}

.not-found-page .quick-links a:hover::after {
  width: 100%;
}


/* ========== cta-sections-fix ========== */
/* CTA Sections Text Color Fix */
/* Ensures proper text contrast on dark backgrounds */
/* ONLY targets phone numbers in CTA sections with blue/purple backgrounds */

/* CRITICAL: Override the .service-text a rule from style.css that causes yellow phone numbers */
/* This specifically targets phone numbers in CTA sections to prevent yellow flash on load */
.products-cta-notice a[href^="tel:"],
.stock-change-notice a[href^="tel:"],
.weekend-dish-cta a[href^="tel:"],
.appliance-cta-section a[href^="tel:"] {
  color: #ffffff !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Hover states for phone numbers in CTA sections */
.products-cta-notice a[href^="tel:"]:hover,
.stock-change-notice a[href^="tel:"]:hover,
.weekend-dish-cta a[href^="tel:"]:hover,
.appliance-cta-section a[href^="tel:"]:hover {
  color: #ffeb3b !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Ensure proper text color for all text in CTA sections */
.products-cta-notice,
.stock-change-notice,
.weekend-dish-cta,
.appliance-cta-section {
  background-color: var(--color-secondary) !important;
}

.products-cta-notice h5,
.products-cta-notice p,
.stock-change-notice h5,
.stock-change-notice p,
.weekend-dish-cta h5,
.weekend-dish-cta p,
.appliance-cta-section h5,
.appliance-cta-section p {
  color: #ffffff !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .products-cta-notice h5,
  .stock-change-notice h5,
  .weekend-dish-cta h5,
  .appliance-cta-section h5 {
    font-size: 1.1rem !important;
  }
  
  .products-cta-notice p,
  .stock-change-notice p,
  .weekend-dish-cta p,
  .appliance-cta-section p {
    font-size: 0.9rem !important;
  }
}

/* Print styles */
@media print {
  .products-cta-notice,
  .stock-change-notice,
  .weekend-dish-cta,
  .appliance-cta-section {
    background-color: #f8f9fa !important;
    color: #000000 !important;
  }
  
  .products-cta-notice *,
  .stock-change-notice *,
  .weekend-dish-cta *,
  .appliance-cta-section * {
    color: #000000 !important;
    text-shadow: none !important;
  }
}


/* ========== info-tooltip ========== */
/* Scratch & Dent Disclaimer Tooltip — powered by @floating-ui/react */
.price-range-note {
  margin-top: 0.35rem;
  display: inline-block;
}

.info-tooltip-trigger {
  display: inline-block;
  vertical-align: middle;
}

.info-tooltip-icon {
  cursor: pointer;
  color: #6c757d;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.info-tooltip-icon:hover {
  color: #010096;
}

.info-tooltip-content {
  max-width: 340px;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  background-color: #333;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.5;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 999999;
  text-align: left;
}

.info-tooltip-content ul {
  margin: 0;
  padding-left: 1rem;
  list-style: disc;
}

.info-tooltip-content ul li {
  margin-bottom: 0.35rem;
}

.info-tooltip-content ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .info-tooltip-content {
    max-width: 280px;
    font-size: 0.78rem;
  }
}

/* ========== service-support-standardization ========== */
.service-support-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.service-support-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-support-body-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.75rem;
}

.service-support-body-text:last-child {
  margin-bottom: 0;
}

.service-support-note {
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
}

.service-support-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-support-feature-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.service-support-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.service-support-primary-panel {
  background-color: var(--color-primary);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

/* ========== page-standardization ========== */
.page-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.page-section-subtitle {
  font-size: 1rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}

.page-body-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.75rem;
}

.page-body-text:last-child {
  margin-bottom: 0;
}

.page-emphasis-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  font-weight: 600;
}

.page-muted-band {
  background-color: #f8f9fa;
  padding: 2.5rem 0;
}

.rounded-media-image {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.inline-link-primary {
  color: #010096;
  text-decoration: none;
}

.inline-link-primary.font-semibold {
  font-weight: 600;
}

.legal-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ========== layout standardization (wave 2) ========== */
.layout-prose-narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.service-support-extended-list {
  line-height: 1.9;
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.service-support-services-list {
  line-height: 2;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.service-support-panel-emphasis {
  color: #333;
  font-weight: 500;
}

.service-support-card-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.service-support-card-heading-row .fa {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.service-support-panel-lead {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.service-support-panel-title-large {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-support-panel-phone-btn {
  display: inline-block;
  background-color: #fff;
  color: var(--color-primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.service-support-subtitle-italic {
  font-style: italic;
}

.btn-service-schedule {
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 700;
}

.delivery-extras-card {
  text-align: center;
  padding: 2.5rem;
}

.delivery-extras-title {
  font-weight: 600;
  color: #010096;
}

.delivery-extras-body {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.sitemap-column-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary);
}

.sitemap-link-list {
  line-height: 2;
}

.sitemap-help-panel {
  background-color: #f6f6f6;
  border: none;
  border-radius: 8px;
  padding: 1.5rem;
}

.sitemap-help-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sitemap-help-phone {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.layout-band-footer-muted {
  background-color: #f6f6f6;
}

.service-hub-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-hub-card-image {
  display: block;
  object-fit: cover;
  max-height: 220px;
}

.service-hub-card-body {
  background-color: #fff;
}

.service-hub-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.service-hub-card-desc {
  font-size: 0.95rem;
  color: #444;
}

/* Footer: global CSS uses capitalize on links — restore proper email casing */
.footer-widget-body li.email a {
  text-transform: none;
}

.locations-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}
