/* A&H Empire | Homepage, header and footer */
:root {
  --ah-olive: #61745d;
  --ah-olive-deep: #405640;
  --ah-olive-pale: #e9eee4;
  --ah-terracotta: #c96f50;
  --ah-terracotta-dark: #ae593d;
  --ah-cream: #f8f5ee;
  --ah-paper: #fffdfa;
  --ah-ink: #28372d;
  --ah-muted: #69746b;
  --ah-line: #e8e1d4;
  --ah-shadow: 0 18px 45px rgba(60, 74, 58, 0.1);
  --ah-header-height: 130px;
}

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

html {
  scroll-behavior: smooth;
}

body.ah-page {
  margin: 0;
  overflow-x: hidden;
  padding-top: var(--ah-header-height);
  color: var(--ah-ink);
  background: var(--ah-cream);
  font-family: "DM Sans", Arial, sans-serif;
}

body.ah-page a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-top: 4px solid var(--ah-olive);
  border-bottom: 1px solid var(--ah-line);
  background: rgba(255, 253, 250, 0.97);
}

.site-header__top {
  border-bottom: 1px solid var(--ah-line);
}

.site-header__main {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: clamp(20px, 3vw, 52px);
}

.main-logo {
  flex: 0 0 auto;
}
.main-logo img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.header-search {
  position: relative;
  flex: 1 1 520px;
  max-width: 570px;
}
.header-search .form-control {
  min-height: 44px;
  padding: 10px 58px 10px 16px;
  border: 1px solid var(--ah-line);
  border-radius: 999px;
  color: var(--ah-ink);
  background: #fff;
  box-shadow: none;
}
.header-search .form-control::placeholder {
  color: #959d95;
}
.header-search .form-control:focus {
  border-color: var(--ah-olive);
  box-shadow: 0 0 0 4px rgba(97, 116, 93, 0.12);
}
.header-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--ah-olive);
}
.header-search button:hover {
  background: var(--ah-terracotta);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.support-box {
  display: grid;
  gap: 2px;
  line-height: 1.15;
}
.support-box span {
  color: var(--ah-muted);
  font-size: 0.74rem;
}
.support-box a {
  color: var(--ah-olive-deep);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.support-box a:hover {
  color: var(--ah-terracotta);
}

.account-button,
.mobile-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--ah-olive);
  border-radius: 999px;
  color: #fff;
  background: var(--ah-olive);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}
.account-button:hover,
.mobile-account-button:hover {
  border-color: var(--ah-terracotta);
  color: #fff;
  background: var(--ah-terracotta);
  transform: translateY(-1px);
}

.site-header__nav {
  background: var(--ah-paper);
}
.main-menu {
  min-height: 49px;
}
.menu-list {
  gap: 8px;
}
.menu-list .nav-link {
  position: relative;
  margin: 6px 0;
  padding: 8px 22px !important;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ah-olive-deep);
  background: rgba(97, 116, 93, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}
.menu-list .nav-link::after {
  display: none;
}
.menu-list .nav-link:hover {
  border-color: rgba(97, 116, 93, 0.25);
  color: var(--ah-olive-deep);
  background: var(--ah-olive-pale);
}
.menu-list .nav-link.active {
  border-color: var(--ah-terracotta);
  color: #fff;
  background: var(--ah-terracotta);
  box-shadow: 0 5px 12px rgba(201, 111, 80, 0.18);
}
.main-menu .navbar-brand {
  color: var(--ah-olive-deep);
  font-weight: 800;
}
.main-menu .navbar-toggler {
  padding: 6px 0 6px 12px;
  border: 0;
  color: var(--ah-olive-deep);
}
.main-menu .navbar-toggler:focus {
  box-shadow: none;
}

/* Hero */
.home-hero-section {
  padding: 24px 0 0;
  background: #fff;
}
.home-banner-grid {
  display: block;
}
.promo-banner {
  display: none !important;
}
.hero-slider-card {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
}
.hero-slide {
  position: relative;
  min-height: clamp(455px, 48vw, 625px);
  isolation: isolate;
}
.hero-slider-image {
  display: block;
  width: 100%;
  height: clamp(455px, 48vw, 625px);
  object-fit: cover;
}
.section-kicker {
  display: block;
  margin: 0 0 12px;
  color: var(--ah-terracotta);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.main-swiper .swiper-pagination {
  bottom: 19px;
  text-align: right;
  padding-right: 28px;
}
.main-swiper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #fff;
  opacity: 0.55;
}
.main-swiper .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 8px;
  opacity: 1;
}

/* Shared homepage width and spacing */
.home-container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3.4vw, 48px);
}

/* Sections */
.home-section {
  padding: clamp(56px, 5.5vw, 80px) 0;
}
.home-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 32px;
}
.section-title {
  margin: 0;
  color: var(--ah-olive-deep);
  font-family: Marcellus, Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
}
.section-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ah-terracotta);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover {
  color: var(--ah-terracotta-dark);
}
.swiper-buttons {
  display: flex;
  gap: 7px;
}
.swiper-buttons button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--ah-line);
  border-radius: 50%;
  color: var(--ah-olive-deep);
  background: var(--ah-paper);
}
.swiper-buttons button:hover {
  border-color: var(--ah-olive);
  color: #fff;
  background: var(--ah-olive);
}















/* Kept for pages still using the old category carousel */
.home-category-section {
  background: var(--ah-paper);
}
.category-carousel .swiper-slide {
  width: 235px;
}
.category-card {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 255px;
  padding: 19px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-decoration: none;
  isolation: isolate;
}
.category-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(46, 66, 47, 0.83), transparent 73%);
  content: "";
}
.category-card h3 {
  margin: 0;
  font-family: Marcellus, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}
.category-card > i {
  position: absolute;
  right: 18px;
  bottom: 21px;
  color: #f6d8ad;
}

/* Products */
.home-products-section {
  background: #f1eee6;
}
.product-carousel {
  overflow: visible;
}
.product-carousel .swiper-slide {
  height: auto;
}
.home-product-card {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce3d5;
  border-radius: 20px;
  background: var(--ah-paper);
  box-shadow: 0 6px 20px rgba(62, 75, 60, 0.05);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.home-product-card:hover {
  border-color: #b9c7ae;
  box-shadow: 0 16px 32px rgba(62, 75, 60, 0.12);
  transform: translateY(-4px);
}
.home-product-card__image-link {
  position: relative;
  display: block;
  isolation: isolate;
  margin: 12px 12px 0;
  padding: 24px;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(ellipse at center, #f6f7f0 0%, #e8eddf 100%);
}
.home-product-card__image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
}
.home-product-card:hover .home-product-card__image-link img {
  transform: scale(1.045);
}
.home-product-card__image-link span {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(97, 116, 93, .16);
  border-radius: 999px;
  color: var(--ah-olive-deep);
  background: var(--ah-paper);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-product-card__body {
  flex: 1;
  padding: 18px;
}
.home-product-card__body small {
  display: block;
  color: var(--ah-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.home-product-card h3 {
  min-height: 47px;
  margin: 8px 0 11px;
  color: var(--ah-ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
}
.home-product-card__body a {
  color: var(--ah-terracotta);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.home-product-card__body a:hover {
  color: var(--ah-terracotta-dark);
}

/* Footer */
.site-footer {
  padding: 62px 0;
  color: #d9e1d7;
  background: var(--ah-olive-deep);
}
.footer-brand__logo {
  display: inline-block;
  margin-bottom: 19px;
}
.footer-brand__logo img {
  display: block;
  max-width: 200px;
  max-height: 62px;
  object-fit: contain;
}
.footer-brand__text {
  max-width: 295px;
  margin: 0 0 20px;
  color: #c4d0c2;
  line-height: 1.7;
}
.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f7d5b5;
  font-weight: 700;
  text-decoration: none;
}
.footer-contact:hover {
  color: #fff;
}
.footer-widget__title {
  margin: 0 0 19px;
  color: #f5d1ad;
  font-family: Marcellus, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a,
.footer-category-links a {
  color: #d2ddd0;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-links a:hover,
.footer-category-links a:hover {
  color: #f6d3ae;
}
.footer-category-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 22px;
}
.footer-bottom {
  padding: 17px 0;
  color: #c6d0c4;
  background: #354a35;
  font-size: 0.82rem;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: #f6d3ae;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  :root {
    --ah-header-height: 123px;
  }
  .site-header__main {
    min-height: 70px;
  }
  .offcanvas {
    background: var(--ah-paper);
  }
  .offcanvas-header {
    border-bottom: 1px solid var(--ah-line);
  }
  .menu-list {
    gap: 3px;
  }
  .menu-list .nav-link {
    margin: 0;
    padding: 11px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .menu-list .nav-link.active {
    color: var(--ah-terracotta);
    background: transparent;
    box-shadow: none;
  }
  .mobile-account-button {
    margin-top: 20px;
  }

  .footer-category-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .site-header {
    border-top-width: 3px;
  }
  .site-header__main {
    gap: 13px;
  }
  .home-hero-section {
    padding-top: 13px;
  }
  .hero-slider-card {
    border-radius: 17px;
  }
  .hero-slide,
  .hero-slider-image {
    min-height: 0;
    height: auto;
  }
  .hero-slider-image {
    object-fit: contain;
  }
  .home-section {
    padding: 59px 0;
  }
  .home-section__heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 25px;
  }
  .section-actions {
    width: 100%;
    justify-content: space-between;
  }












  .home-brand-collapse {
    padding-top: 3px;
  }





}

@media (max-width: 575.98px) {
  .main-logo img {
    max-width: 158px;
    max-height: 47px;
  }
  .header-actions {
    gap: 0;
  }
  .account-button {
    width: 39px;
    height: 39px;
    padding: 0;
  }
  .account-button span {
    display: none;
  }
  .section-title {
    font-size: 2rem;
  }











  .home-brand-collapse {
    padding-top: 3px;
  }




  .footer-category-links {
    display: block;
  }
  .footer-category-links li {
    margin-bottom: 10px;
  }
  .footer-bottom__inner {
    flex-direction: column;
  }
}



/* Top categories section */
.home-category-section {
    background: var(--ah-cream);
}

.category-showcase__subtitle {
    margin: 7px 0 0;
    color: #627067;
    font-size: 1rem;
}

.category-showcase__actions {
    display: flex;
    align-items: center;
    gap: 13px;
}

.home-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-height: 43px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: #61745d;
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}

.home-view-all:hover {
    color: #fff;
    background: #c96f50;
    transform: translateY(-1px);
}

.category-showcase-carousel {
    overflow: hidden;
    padding: 1px;
}

.category-showcase-carousel .swiper-slide {
    height: auto;
}

.category-showcase-card {
    display: flex;
    height: 100%;
    min-height: 282px;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    border: 1px solid #e8e1d4;
    border-radius: 24px;
    color: var(--ah-ink);
    background: #fdfbf6;
    text-align: center;
    text-decoration: none;
    transition: border-color .25s ease, background-color .25s ease;
}

.category-showcase-card:hover {
    border-color: #c9b59c;
    color: var(--ah-ink);
    background: #f5efe4;
}

.category-showcase-card__image {
    display: grid;
    flex-shrink: 0;
    width: 142px;
    height: 142px;
    place-items: center;
    padding: 18px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #e8decd;
    border-radius: 50%;
    background: #f0e8d9;
}

.category-showcase-card__placeholder {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--ah-olive-deep);
    transition: transform .25s ease;
}

.category-showcase-card__image--placeholder .category-showcase-card__placeholder {
    display: flex;
}

.category-showcase-card__placeholder svg {
    width: 52px;
    height: 52px;
}

.category-showcase-card:hover .category-showcase-card__placeholder {
    transform: scale(1.045);
}

.category-showcase-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .25s ease;
}

.category-showcase-card:hover .category-showcase-card__image img {
    transform: scale(1.045);
}

.category-showcase-card__body {
    width: 100%;
    margin-top: 20px;
    padding-top: 0;
}

.category-showcase-card h3 {
    margin: 0;
    color: #1f2c25;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.category-showcase-card p {
    margin: 7px 0 0;
    color: #788279;
    font-size: .83rem;
    font-weight: 500;
}

.category-showcase .swiper-buttons button {
    width: 47px;
    height: 47px;
    border-color: #cbd8d3;
    background: #fffdfa;
}

@media (max-width: 767.98px) {
    .category-showcase__heading {
        align-items: flex-start;
    }

    .category-showcase__actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    .category-showcase-card {
        min-height: 260px;
        padding: 20px 16px;
    }

    .category-showcase-card__image {
        width: 128px;
        height: 128px;
    }

    .category-showcase .swiper-buttons button {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 575.98px) {
  .home-product-card {
    border-radius: 16px;
  }
  .home-product-card__image-link {
    margin: 8px 8px 0;
    padding: 18px 12px;
    border-radius: 11px;
  }
  .home-product-card__body {
    padding: 14px 12px;
  }
}

@media (max-width: 575.98px) {

}
