:root {
  --primary: #c24124;
  --dark: #1f2227;
  --muted: #626870;
  --card: #ffffff;
  --badge-bg: #ff825f;
  --badge-text: #ffffff;
  --pill-bg: #f7f7f9;

  /* Cohesive warm palette for furniture theme */
  --bg-cream: #faf8f5;
  --bg-warm: #f5f1eb;
  --bg-beige: #eee6dc;
  --bg-sand: #e8e0d5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: #faf8f5;
}

body.no-scroll {
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header-wrapper {
  width: 100%;
}

.hero-slider {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.slider-track {
  position: relative;
  height: var(--hero-height, 600px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(15, 24, 54, 0.18);
}

/* Slider Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  padding: 0;
  z-index: 3;
}

.slider-dots .dot {
  width: 50px;
  height: 4px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.slider-dots .dot.is-active {
  background: #ffffff;
  width: 60px;
}

.slider-dots .dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1s ease, transform 1.4s ease;
}

.slide-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dynamic overlay - now using inline element instead of ::after */
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Fallback gradient if no overlay element */
.hero-slider .slide:not(:has(.slide-overlay))::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 20, 13, 0.78) 0%, rgba(28, 20, 13, 0.45) 50%, rgba(28, 20, 13, 0.65) 100%);
}

.hero-slider .slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Slide transition effect */
.hero-slider[data-transition="slide"] .slide {
  transform: translateX(100%);
  opacity: 1;
}

.hero-slider[data-transition="slide"] .slide.is-active {
  transform: translateX(0);
}

.hero-slider[data-transition="slide"] .slide.slide-out-left {
  transform: translateX(-100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
  box-sizing: border-box;
  --content-width: 800px;
  --text-color: #ffffff;
  --cta-primary-color: #c24124;
}

/* Allow inline styles to override positioning */
.slide-content[style*="justify-content"] {
  /* Inline justify-content will take precedence */
}

.slide-content[style*="align-items"] {
  /* Inline align-items will take precedence */
}

.slide-content[style*="text-align: center"] .slide-text {
  text-align: center;
}

.slide-content[style*="text-align: right"] .slide-text {
  text-align: right;
}

.slide-content[style*="text-align: center"] .slide-actions {
  justify-content: center;
}

.slide-content[style*="text-align: right"] .slide-actions {
  justify-content: flex-end;
}

.slide-text {
  max-width: var(--content-width, 620px);
  animation: slideInUp 0.8s ease-out;
}

.slide:not(.is-active) .slide-text {
  animation: none;
  opacity: 0;
  transform: translateY(30px);
}

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

.slide-title {
  margin: 0 0 20px;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-description {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn-primary {
  background: var(--cta-primary-color, var(--primary));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 71, 0.4);
}

.hero-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 71, 0.5);
}

/* Default outline secondary button */
.hero-btn-secondary,
.hero-btn-secondary.hero-btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  border: 2px solid currentColor;
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover,
.hero-btn-secondary.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

/* Solid secondary button style */
.hero-btn-secondary.hero-btn-solid {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: none;
}

.hero-btn-secondary.hero-btn-solid:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* Text only secondary button style */
.hero-btn-secondary.hero-btn-text {
  background: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-btn-secondary.hero-btn-text:hover {
  text-decoration-thickness: 2px;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
}

.molti-header {
  background: linear-gradient(180deg, #241a12 0%, #1c140d 100%);
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  padding: 32px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.16);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* Sticky header - controlled by admin settings */
.header-wrapper:has(.sticky-header) {
  position: sticky;
  top: 0;
  z-index: 100;
}

.molti-header.scrolled {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, #1f160e 0%, #160f09 100%);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

.logo-image {
  display: block;
  height: 56px;
  width: auto;
}

@media (max-width: 900px) {
  .logo-image {
    height: 42px;
  }
}

.desktop-only {
  display: block;
}

.mobile-top-actions {
  margin-left: auto;
  display: none;
  gap: 12px;
  align-items: center;
}

.mobile-search-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #eceff5;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search-toggle svg {
  width: 22px;
  height: 22px;
  fill: #1f2227;
}

.mobile-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid #eceff5;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #1f2227;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.molti-header.menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.molti-header.menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.molti-header.menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1999;
  display: block;
}

.molti-header.menu-open .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-search-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 26px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 13;
}

.mobile-search-panel__inner {
  position: relative;
}

.mobile-search-panel .search {
  width: 100%;
}

.mobile-search .icon {
  fill: var(--primary);
}

.mobile-search-close {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: none;
  background: #f0f1f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-search-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: #1f2227;
  border-radius: 999px;
}

.mobile-search-close span:first-child {
  transform: rotate(45deg);
}

.mobile-search-close span:last-child {
  transform: rotate(-45deg);
}

.molti-header.search-open .mobile-search-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.search {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(212, 163, 115, 0.2);
  background: rgba(0, 0, 0, 0.28);
  cursor: text;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.search:focus-within {
  border-color: rgba(255, 107, 71, 0.5);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 3px rgba(255, 107, 71, 0.18);
}

.search:focus-within .icon {
  fill: var(--primary);
}

.search .icon {
  width: 21px;
  height: 21px;
  fill: rgba(247, 240, 233, 0.5);
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

.search input {
  border: none;
  background: transparent;
  font-size: 15px;
  flex: 1;
  color: #f7f0e9;
  font-weight: 500;
}

.search input::placeholder {
  color: rgba(247, 240, 233, 0.5);
  font-weight: 500;
}

.search input:focus {
  outline: none;
}

.social-links {
  display: inline-flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 163, 115, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 240, 233, 0.7);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 71, 0.35);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-bottom {
  display: flex;
  align-items: center;
  gap: 34px;
  justify-content: space-between;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
  font-weight: 600;
  font-size: 15px;
}

.nav-item a {
  text-decoration: none;
  color: rgba(247, 240, 233, 0.82);
  padding-bottom: 6px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item.has-dropdown > a {
  display: inline-flex;
  align-items: center;
}

.nav-item.has-dropdown > a::before {
  content: "";
  order: 2;
  margin-left: 7px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item.has-dropdown:hover > a::before,
.nav-item.has-dropdown:focus-within > a::before {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #f0f2f7;
  box-shadow: 0 25px 60px rgba(23, 34, 72, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

/* Bridge element to prevent gap between menu item and dropdown */
.nav-item .dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.nav-item .dropdown a {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: color 0.2s ease, border 0.2s ease, padding-left 0.2s ease;
}

.nav-item .dropdown a:hover {
  color: var(--primary);
  border-bottom-color: rgba(255, 107, 71, 0.4);
  padding-left: 4px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover > a,
.nav-item:focus-within > a {
  color: var(--primary);
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 163, 115, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 240, 233, 0.92);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.action-btn.primary {
  background: rgba(255, 107, 71, 0.18);
  border-color: rgba(255, 107, 71, 0.4);
  color: var(--accent-soft, #ffa07e);
}

.action-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.action-btn.primary:hover {
  background: rgba(255, 107, 71, 0.15);
  border-color: rgba(255, 107, 71, 0.35);
  box-shadow: 0 16px 36px rgba(255, 107, 71, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.action-btn .icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-btn svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.action-btn svg * {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-btn .price {
  font-weight: 700;
}

.action-btn .notification {
  position: absolute;
  top: -6px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(255, 107, 71, 0.45);
}

@media (max-width: 1024px) {
  .molti-header {
    padding: 28px;
  }

  .slider-track {
    height: var(--hero-height, 600px);
    border-radius: 0;
  }

  .slide-content {
    padding: 40px 28px !important;
  }

  .slide-title {
    font-size: 38px;
  }

  .slide-description {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-btn {
    padding: 14px 30px;
    font-size: 14px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }

  .slider-prev {
    left: 16px;
  }

  .slider-next {
    right: 16px;
  }

  .header-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .molti-header {
    padding: 12px 16px;
    gap: 0;
  }

  .desktop-only {
    display: none;
  }

  .mobile-top-actions {
    display: inline-flex;
    align-items: center;
  }

  .header-actions {
    display: none;
  }

  .header-bottom {
    width: 100%;
    padding-top: 0;
  }

  .molti-header .main-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    padding: 0;
  }

  .slider-arrow {
    display: none;
  }

  .header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .logo {
    flex: 1;
  }
}

/* Mobile hero — aspect-ratio based sizing (1920x800 images) */
@media (max-width: 900px) {
  .hero-slider {
    padding: 0 !important;
    background: transparent !important;
  }

  .slider-track {
    height: max(240px, calc(100vw * var(--hero-image-ratio, 0.416667))) !important;
    aspect-ratio: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
  }

  .hero-slider .slide {
    inset: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-size: cover !important;
    background-position: center center;
    background-color: transparent !important;
  }

  .hero-slider .slide::after {
    content: none;
  }

  /* Only reduce font sizes and spacing — admin settings (text position,
     alignment, overlay, colors, CTAs) are applied via inline styles */
  .slide-content {
    z-index: 4;
    padding: 20px 16px !important;
  }

  .slide-text {
    max-width: 70%;
  }

  .slide-title {
    margin: 0 0 6px;
    font-size: clamp(16px, 4.5vw, 24px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .slide-description {
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
  }

  .slide-actions {
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-btn {
    min-height: 32px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .slider-dots {
    left: 50%;
    bottom: 8px;
    gap: 6px;
    transform: translateX(-50%);
  }

  .slider-dots .dot {
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
  }

  .slider-dots .dot.is-active {
    width: 30px;
    background: #fff;
  }
}

/* Mobile bottom nav removed */

/* Featured Categories Section */
.featured-categories {
  padding: 80px 40px 70px;
  background: var(--bg-cream);
}

.featured-container {
  max-width: 1400px;
  margin: 0 auto;
}

.featured-categories .section-header {
  margin-bottom: 60px;
}

.featured-categories .section-subtitle {
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.featured-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 100%;
}

.featured-card {
  flex: 0 0 auto;
  margin: 0 -15px;
  transition: transform 0.3s ease, z-index 0s 0s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.featured-card:hover {
  transform: translateY(-20px);
  z-index: 10;
  transition: transform 0.3s ease, z-index 0s 0s;
}

.featured-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 8px solid #fff;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-circle > picture {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-card:hover .featured-img {
  transform: scale(1.1);
}

.featured-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: padding 0.3s ease, bottom 0.3s ease;
}

.featured-card:hover .featured-label {
  bottom: 25px;
  padding: 12px 28px;
}

.label-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.label-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .featured-categories {
    padding: 60px 28px 50px;
  }

  .featured-card {
    margin: 0 -10px;
  }

  .featured-circle {
    width: 200px;
    height: 200px;
    border: 6px solid #fff;
  }

  .label-text {
    font-size: 14px;
  }

  .label-count {
    font-size: 10px;
  }
}

@media (max-width: 720px) {
  .featured-categories {
    padding: 46px 0 36px;
  }

  .featured-container {
    padding: 0 16px;
  }

  .featured-categories .section-header {
    margin-bottom: 22px;
    text-align: center;
  }

  .featured-categories .section-title {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .featured-categories .section-subtitle {
    max-width: none;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
  }

  .featured-grid-wrap {
    margin: 0;
    padding: 4px 0 10px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .featured-grid-wrap::-webkit-scrollbar {
    display: none;
  }

  .featured-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: max-content;
    margin: 0;
    padding: 0 18px 0 clamp(96px, 30vw, 144px);
    align-items: start;
  }

  .featured-grid-wrap.is-centered {
    overflow-x: visible;
  }

  .featured-grid-wrap.is-centered .featured-grid {
    margin: 0 auto;
    padding: 0;
  }

  .featured-card {
    margin: 0;
    flex: 0 0 clamp(108px, 31vw, 128px);
    min-width: 0;
    display: flex;
    justify-content: center;
  }

  .featured-card:hover {
    transform: none;
  }

  .featured-circle {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  }

  .featured-label {
    width: calc(100% - 12px);
    max-width: none;
    padding: 7px 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
  }

  .featured-card:hover .featured-label {
    bottom: 9px;
    padding: 7px 8px;
  }

  .label-text {
    font-size: 11px;
    line-height: 1.25;
  }

  .label-count {
    font-size: 10px;
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .featured-categories {
    padding: 42px 0 32px;
  }

  .featured-container {
    padding: 0 14px;
  }

  .featured-categories .section-title {
    font-size: 25px;
  }

  .featured-categories .section-subtitle {
    font-size: 13px;
  }

  .featured-grid {
    gap: 8px;
    padding: 0 16px 0 clamp(80px, 30vw, 124px);
  }

  .featured-card {
    flex-basis: clamp(98px, 30vw, 114px);
  }

  .featured-grid-wrap.is-centered .featured-grid {
    padding: 0;
  }

  .featured-label {
    width: calc(100% - 10px);
    padding: 6px 7px;
    bottom: 7px;
  }

  .featured-card:hover .featured-label {
    bottom: 7px;
    padding: 6px 7px;
  }

  .label-text {
    font-size: 10px;
  }
}

/* Latest Products Section */
.latest-products {
  padding: 80px 40px 100px;
  background: #ffffff;
}

.products-container {
  max-width: 1400px;
  margin: 0 auto;
}

.latest-products-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 56px;
}

.latest-products-toolbar-spacer {
  min-height: 1px;
}

.latest-products .latest-products-copy {
  margin-bottom: 0;
}

.latest-products-action {
  display: flex;
  justify-content: flex-end;
}

.latest-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 24, 54, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(15, 24, 54, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.latest-view-all-btn svg {
  width: 18px;
  height: 18px;
  padding: 8px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.latest-view-all-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 107, 71, 0.28);
  color: var(--primary);
  box-shadow: 0 18px 34px rgba(15, 24, 54, 0.12);
}

.latest-view-all-btn:hover svg {
  transform: translateX(3px);
  background: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  margin: 0 0 14px;
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 115, 85, 0.14);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}

.product-card:hover {
  border-color: rgba(255, 107, 71, 0.3);
  box-shadow: 0 22px 48px rgba(60, 40, 20, 0.16);
  transform: translateY(-4px);
}

.product-image {
  display: block;
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f7f3ee;
}

a.product-image {
  text-decoration: none;
}

.product-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(255, 107, 71, 0.35);
}

.product-info {
  padding: 28px 24px;
}

.product-name {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.product-info > a {
  text-decoration: none;
  color: inherit;
}

.product-info > a:hover .product-name {
  color: var(--primary);
}

.product-category {
  margin: 0 0 20px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(139, 115, 85, 0.12);
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.product-btn {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 107, 71, 0.35);
}

/* Quote Button Style */
.product-btn-quote {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.product-btn-quote:hover {
  background: var(--primary);
  color: #fff;
}

.section-footer {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 14px 30px rgba(15, 24, 54, 0.14);
}

.view-all-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 107, 71, 0.24);
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .latest-products {
    padding: 60px 28px 80px;
  }

  .latest-products-toolbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    margin-bottom: 42px;
  }

  .latest-products-toolbar-spacer {
    display: none;
  }

  .latest-products-action {
    justify-content: center;
  }

  .section-title {
    font-size: 34px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .product-image {
    height: 280px;
  }

  .product-name {
    font-size: 18px;
  }

  .product-price {
    font-size: 20px;
  }

  .section-footer {
    margin-top: 36px;
  }
}

@media (max-width: 720px) {
  .latest-products {
    padding: 50px 20px 100px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-image {
    height: 260px;
  }

  .product-info {
    padding: 24px 20px;
  }

  .product-name {
    font-size: 17px;
  }

  .product-category {
    font-size: 12px;
  }

  .product-footer {
    margin-top: 20px;
    padding-top: 20px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-btn {
    padding: 11px 20px;
    font-size: 12px;
  }

  .section-footer {
    margin-top: 32px;
  }

  .view-all-btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    font-size: 13px;
  }

  .latest-products {
    padding: 48px 16px 88px;
  }

  .latest-products .section-header {
    margin-bottom: 30px;
  }

  .latest-products-toolbar {
    gap: 16px;
    margin-bottom: 30px;
  }

  .latest-products .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .latest-products .product-card {
    border-radius: 18px;
    border-color: #edf1f5;
    box-shadow: 0 12px 30px rgba(15, 24, 54, 0.08);
  }

  .latest-products .product-image {
    height: 170px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  }

  .latest-products .product-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: 9px;
    border-radius: 999px;
  }

  .latest-products .product-info {
    padding: 14px 13px 16px;
  }

  .latest-products .product-name {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 40px;
  }

  .latest-products .product-category {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .latest-products .product-footer {
    margin-top: 14px;
    padding-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .latest-products .product-price {
    font-size: 18px;
    line-height: 1;
  }

  .latest-products .product-btn {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .latest-products-action {
    width: 100%;
  }

  .latest-view-all-btn {
    width: 100%;
    justify-content: space-between;
    padding: 11px 11px 11px 18px;
    font-size: 12px;
  }
}

/* Promo Banner Section */
.promo-banner {
  position: relative;
  height: 160px;
  overflow: hidden;
  background-color: #eee6dc;
  background-image: url('../images/placeholders/placeholder-promo-banner.png');
  background-size: cover;
  background-position: center;
}

/* Readable gradient over the left text zone — survives custom bg images */
.promo-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
              rgba(238, 230, 220, 0.97) 0%,
              rgba(238, 230, 220, 0.92) 38%,
              rgba(238, 230, 220, 0.45) 62%,
              transparent 82%);
}

.promo-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.promo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 56%;
}

.promo-heading-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.promo-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  border-width: 2px;
  border-style: solid;
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.promo-title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.promo-arrow {
  width: 42px;
  height: 42px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.promo-description {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #2d2d2d;
  line-height: 1.4;
  max-width: 380px;
}

@media (max-width: 1024px) {
  .promo-banner {
    height: 140px;
  }

  .promo-content {
    padding: 0 28px;
  }

  .promo-text-wrapper {
    gap: 10px;
    max-width: 62%;
  }

  .promo-heading-row {
    gap: 14px;
  }

  .promo-title {
    font-size: 38px;
  }

  .promo-arrow {
    width: 36px;
    height: 36px;
  }

  .promo-description {
    font-size: 16px;
    max-width: 320px;
  }
}

@media (max-width: 720px) {
  .promo-banner {
    height: auto;
    min-height: 200px;
  }

  .promo-banner::before {
    background: linear-gradient(180deg,
                rgba(238, 230, 220, 0.97) 0%,
                rgba(238, 230, 220, 0.9) 55%,
                rgba(238, 230, 220, 0.55) 100%);
  }

  .promo-content {
    padding: 40px 20px;
  }

  .promo-text-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
  }

  .promo-cta-row {
    gap: 14px;
  }

  .promo-title {
    font-size: 32px;
  }

  .promo-arrow {
    width: 32px;
    height: 32px;
    transform: rotate(90deg);
  }

  .promo-description {
    font-size: 15px;
    max-width: 100%;
  }
}

/* Features Section */
.features-section {
  padding: 90px 40px;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-beige) 100%);
  position: relative;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Warm hairline running through the icon centers */
.features-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #d9cbb8 15%, #d9cbb8 85%, transparent 100%);
  z-index: 0;
}

.feature-card {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffdfa;
  border-radius: 50%;
  color: #8a6444;
  border: 1px solid #e3d7c6;
  box-shadow: 0 6px 24px rgba(93, 64, 35, 0.08);
  transition: all 0.35s ease;
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(138, 100, 68, 0.18);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
  transition: all 0.35s ease;
}

.feature-card:hover .feature-icon {
  transform: translateY(-6px);
  border-color: #caa87f;
  box-shadow: 0 14px 34px rgba(93, 64, 35, 0.14);
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card:hover .feature-icon svg {
  color: #6f4e33;
}

.feature-title {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #2b2620;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.feature-description {
  margin: 0;
  font-size: 15px;
  color: #65594d;
  font-weight: 400;
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
  text-wrap: balance;
}

@media (max-width: 1024px) {
  .features-section {
    padding: 100px 28px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
  }

  .features-grid::before {
    display: none;
  }

  .feature-card {
    padding: 0;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
  }

  .feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .feature-title {
    font-size: 18px;
  }

  .feature-description {
    font-size: 14px;
  }
}

@media (max-width: 720px) {
  .features-section {
    padding: 80px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .feature-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
  }

  .feature-icon svg {
    width: 28px;
    height: 28px;
  }

  .feature-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .feature-description {
    font-size: 14px;
    max-width: 100%;
  }
}

/* Sales Section */
.sales-section {
  padding: 80px 40px 100px;
  background: var(--bg-cream);
}

.sales-container {
  max-width: 1400px;
  margin: 0 auto;
}

.sales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.sale-badge {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35) !important;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-price-old {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  letter-spacing: -0.01em;
}

@media (max-width: 1200px) {
  .sales-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1024px) {
  .sales-section {
    padding: 60px 28px 80px;
  }

  .sales-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .sales-section {
    padding: 50px 20px 100px;
  }

  .sales-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-price-old {
    font-size: 13px;
  }
}

/* ========================================
   FOOTER SECTION
   ======================================== */

.site-footer {
  background: linear-gradient(180deg, #241a12 0%, #120c08 100%);
  color: #f7f0e9;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #ff8c5a 50%, var(--primary) 100%);
}

.footer-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 60px;
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* Brand Column */
.footer-brand {
  padding-right: 20px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
  opacity: 0.8;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(247, 240, 233, 0.62);
  margin: 0 0 28px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  transition: transform 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 107, 71, 0.35);
}

.social-link:hover svg {
  transform: scale(1.1);
}

/* Footer Links */
.footer-links {
  padding-top: 8px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 14px;
}

.footer-menu a {
  font-size: 15px;
  color: rgba(247, 240, 233, 0.62);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-menu a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.footer-menu a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-menu a:hover::before {
  width: 100%;
}

/* Contact Info */
.footer-contact {
  padding-top: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.contact-item span {
  font-size: 14px;
  color: rgba(247, 240, 233, 0.62);
  line-height: 1.6;
}

/* Newsletter Section */
.footer-newsletter {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.newsletter-text {
  flex: 1;
}

.newsletter-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.newsletter-desc {
  font-size: 15px;
  color: rgba(247, 240, 233, 0.62);
  margin: 0;
}

.newsletter-form {
  flex: 1;
  max-width: 500px;
}

.newsletter-input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(255, 107, 71, 0.1);
}

.newsletter-input-wrapper input {
  flex: 1;
  padding: 16px 24px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: #fff;
}

.newsletter-input-wrapper input::placeholder {
  color: rgba(247, 240, 233, 0.65);
}

.newsletter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.newsletter-btn:hover {
  background: #a9361d;
}

.newsletter-btn:hover svg {
  transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.copyright {
  font-size: 14px;
  color: rgba(247, 240, 233, 0.65);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-credit {
  color: #9b9b9b;
}

.site-credit a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-credit a:hover {
  color: var(--primary);
}

.copyright-separator {
  color: #9b9b9b;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: rgba(247, 240, 233, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-methods span {
  font-size: 14px;
  color: rgba(247, 240, 233, 0.65);
}

.payment-icons {
  display: flex;
  gap: 8px;
}

.payment-icons svg {
  width: 50px;
  height: 30px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.payment-icons svg:hover {
  transform: translateY(-2px);
}

/* Footer Responsive Styles */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-contact .footer-heading {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

@media (max-width: 1024px) {
  .footer-container {
    padding: 0 40px;
  }

  .footer-top {
    padding: 60px 0 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .footer-tagline {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    text-align: center;
  }

  .footer-menu a::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu a:hover {
    transform: translateX(0);
  }

  .footer-contact {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact .footer-heading {
    width: 100%;
  }

  .contact-item {
    justify-content: center;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .newsletter-form {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 720px) {
  .footer-container {
    padding: 0 24px;
  }

  .footer-top {
    padding: 50px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-heading {
    font-size: 17px;
  }

  .footer-newsletter {
    margin-top: 40px;
    padding-top: 40px;
  }

  .newsletter-title {
    font-size: 20px;
  }

  .newsletter-input-wrapper {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-input-wrapper input {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .newsletter-btn {
    justify-content: center;
    padding: 14px 24px;
    border-radius: 0 0 12px 12px;
  }

  .footer-bottom {
    padding: 20px 0 28px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .copyright {
    justify-content: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .payment-methods {
    flex-direction: column;
    gap: 10px;
  }

  .payment-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}
