:root {
  --home-font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}
#fedex-main, .bonvoy-site, .wyn-site, .swa-site {
  --home-font-family: var(--body-font-family);
}
.swa-site .swa-nmp {display: none;}
.breadCrumbs {
  display: none;
}
h1{font-size: 0;}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body {
  font-family: var(--home-font-family);
  color: #000;
  text-align: center;
}

/* Hero */
.hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
section.hero {
  margin-bottom: 4rem;
}

/* Intro section */
.intro {
  padding: 40px 20px;
}

.jewelry-subhead {
  text-align: center;
  padding: 1rem 0;
  width: 80%;
  margin: 0 auto;
}
.jewelry-subhead img {
  max-width: 100%;
  margin: 0 auto;
}
img.js-m {
  display: none;
}
.jewelry-sub {
  font-size: 1.625rem;
  padding-top: 1.25rem;
}

/* Divider lines */
.divider {
  width: 320px;
  height: 1px;
  background: #000;
  margin: 0 auto 20px;
}

/* Buttons */
.buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.buttons button {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
}

.buttons button:hover {
  background: #000;
  color: #fff;
}
.buttons a.btn {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #767676;
  border-radius: 30px;
  color: #333;
  text-decoration: none;
  background-color: #ffffff;
  font-size: 16px;
  text-align: center;
  min-width: 160px;
  box-sizing: border-box;
}

/* Categories */

section.categories.contextFix {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  margin-top: 0px;
  padding-top: 0px;
}

a.category {
  width: auto;
  flex: 1 1 0px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem 0.5rem;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  flex-direction: column;
  overflow: hidden;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: inherit;
}

.category img {
  width: 95%;
  height: auto;
  margin-bottom: 12px;
  display: block;
  object-fit: cover;
  max-width: none;
  transition: transform 0.3s ease;
}

.category:hover img {
  transform: scale(1.05);
}

.category p {
  padding: 0px 5px;
  margin: 0px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  font-family: var(--home-font-family);
  font-weight: 400;
}



/* Tablets*/
@media (max-width: 900px) {
  .categories {
    gap: 24px;
  }

  .category img {
    width: 120px;
    height: 120px;
  }
}

/* Mobile*/
@media (max-width: 600px) {

  /* Hero image height adjusts */
  .hero img {
    height: 220px;
  }

  /* Title and text scale down */
  .intro h1 {
    font-size: 24px;
    letter-spacing: 2px;
  }
  img.js-d {
    display: none;
  }
  img.js-m {
    display: block;
  }
  .subtitle {
    font-size: 13px;
  }

  .divider {
    width: 220px;
  }

  /* Stack buttons vertically */
  .buttons {
    flex-direction: column;
    gap: 14px;
  }

  .buttons button {
    width: 200px;
  }

  /* Categories become a grid */
  .categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    column-gap: 20px;
    padding: 30px 16px;
  }

  .category img {
    width: 100px;
    height: 100px;
  }
}

/* Very small screens */
@media (max-width: 400px) {

  /* One column category layout */
  .categories {
    grid-template-columns: 1fr;
  }

  .intro {
    padding: 30px 16px;
  }
}
/* --- NEW STYLES ADDED --- */
.categories .category img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto 2rem;
  /* padding-bottom: 0rem; */
}

@media (max-width: 600px) {
  .categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .categories .category {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    box-sizing: border-box;
    padding: 0.5rem;
  }

  .categories .category img {
    width: 100% !important;
    height: auto;
    max-width: none;
  }
}
