/* Combustion Mart homepage additions, isolated to newly built sections */
.cm-wide {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box
}

@media (min-width: 1400px) {
  .cm-wide {
    max-width: 1320px
  }
}

.cm-center {
  text-align: center
}

.cm-eyebrow {
  color: #255bd2;
  font-size: 12px;
  letter-spacing: .12em;
  font-weight: 700
}

.cm-center h2 {
  font-size: 32px;
  margin: 10px 0 12px;
  color: #161b27
}

.cm-center p {
  color: #747984;
  margin-bottom: 0
}

.cm-products,
.cm-brands {
  padding: 65px 0 72px;
  background: #fff
}

.cm-products {
  border-bottom: 1px solid #edf0f4
}

.cm-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px 18px;
  margin: 36px 0 28px
}

.cm-category {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  color: #232935;
  text-decoration: none;
  padding: 6px 4px 14px;
  border-radius: 16px;
  transition: transform .22s ease, background .22s ease
}

.cm-category:hover {
  background: #f7f9fd;
  transform: translateY(-4px);
  color: #255bd2
}

.cm-category-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 10px;
  background: linear-gradient(160deg, #f4f7fb 0%, #fbfcfe 55%, #eef2f7 100%);
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 8px 20px rgba(28, 48, 80, .04);
  transition: border-color .22s ease, box-shadow .22s ease
}

.cm-category:hover .cm-category-photo {
  border-color: #d5def0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 12px 28px rgba(37, 91, 210, .1)
}

.cm-category-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(20, 35, 60, .1))
}

.cm-category-name {
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
  line-height: 1.35;
  font-family: inherit
}

.cm-category-count {
  font-size: 12px;
  color: #8a8f99;
  margin-top: 6px;
  font-family: inherit
}

.cm-bottom-link {
  margin-top: 12px
}

.cm-brand-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 36px auto 30px;
  max-width: 1200px
}

.cm-filter {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #565c65;
  cursor: pointer;
  font-size: 12px;
  padding: 10px 2px;
  text-transform: uppercase;
  transition: color .2s, border-color .2s
}

.cm-filter:hover,
.cm-filter.active {
  color: #255bd2;
  border-bottom-color: #255bd2
}

.cm-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 30px
}

.cm-brand-card {
  display: block;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  transition: transform .2s, box-shadow .2s
}

.cm-brand-card:hover {
  color: #255bd2;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(32, 54, 82, .09)
}

.cm-brand-card[hidden] {
  display: none !important
}

.cm-brand-product {
  height: 200px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid #f0f2f6
}

.cm-brand-product img {
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 164px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #fff
}

.cm-brand-info {
  padding: 16px 18px 20px;
  background: #fff
}

.cm-brand-logo {
  max-height: 28px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 10px
}

.cm-brand-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #161b27;
  line-height: 1.35
}

.cm-brand-info span {
  font-size: 12px;
  font-weight: 600;
  color: #255bd2
}

.cm-brands>.container>.cm-center:last-child {
  margin-top: 25px
}

/* Live hero uses full banner background images — see index.html #swiper-5.cm-live-hero */

@media(max-width:1100px) {
  .cm-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .cm-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:650px) {

  .cm-products,
  .cm-brands {
    padding: 45px 0
  }

  .cm-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px
  }

  .cm-category-photo {
    padding: 8px;
    border-radius: 12px
  }

  .cm-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  .cm-brand-product {
    height: 130px
  }

  .cm-brand-info {
    padding: 12px
  }

  .cm-brand-info h3 {
    font-size: 14px
  }

  .cm-brand-filters {
    justify-content: flex-start;
    gap: 6px 14px
  }
}

/* Home sections v2 */
.cm-clients {
  background: #fff;
  border-bottom: 1px solid #edf0f4;
  padding: 48px 0 40px
}

.cm-client-intro {
  margin: 0 0 28px
}

.cm-client-intro .cm-eyebrow {
  display: block;
  margin-bottom: 0
}

.cm-client-intro h2 {
  font-size: 32px;
  margin: 10px 0 12px;
  color: #161b27
}

.cm-client-intro p {
  color: #747984;
  margin: 0;
  font-size: 15px
}

.cm-client-heading {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  color: #737b88;
  text-transform: uppercase;
  margin: 0 0 18px
}

.cm-client-heading span {
  color: #2864d8;
  padding: 0 9px
}

.cm-client-shell,
.cm-brand-slider-shell {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0
}

.cm-client-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 12px
}

.cm-client-track::-webkit-scrollbar,
.cm-brand-grid::-webkit-scrollbar {
  display: none
}

.cm-client-logo {
  flex: 0 0 calc((100% - 60px)/6);
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  scroll-snap-align: start;
  padding: 16px;
  background: #fff
}

.cm-client-logo img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain
}

.cm-carousel-arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #d3d9e3;
  background: white;
  border-radius: 50%;
  color: #2b3a4e;
  cursor: pointer;
  font-size: 19px;
  display: grid;
  place-items: center
}

.cm-carousel-arrow:hover {
  background: #255bd2;
  color: #fff;
  border-color: #255bd2
}

.cm-brands {
  background: #f9fafc
}

.cm-brand-slider-shell {
  margin: 0 0 28px
}

.cm-brand-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 !important;
  padding: 8px 0 20px
}

.cm-brand-card {
  flex: 0 0 calc((100% - 60px)/4);
  min-width: 0;
  scroll-snap-align: start;
  background: #fff
}

.cm-quality {
  padding: 72px 0 40px;
  background: #fff
}

.cm-quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0 60px
}

.cm-quality-card {
  text-align: center;
  background: #f3f5f8;
  padding: 30px 18px 26px
}

.cm-quality-icon {
  font-size: 32px;
  font-weight: 700;
  color: #2865d7;
  line-height: 1.3;
  margin: 0 0 12px
}

.cm-quality-card h3 {
  font-size: 21px;
  margin: 0 0 10px
}

.cm-quality-card p {
  margin: 0;
  color: #747b86;
  font-size: 14px
}

.cm-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px
}

.cm-promo {
  min-height: 270px;
  background: linear-gradient(130deg, #e9edf4, #f7f9fb);
  display: flex;
  position: relative;
  overflow: hidden;
  padding: 30px;
  color: #232b35 !important;
  border-radius: 8px;
  text-decoration: none
}

.cm-promo>div {
  width: 63%;
  position: relative;
  z-index: 2
}

.cm-promo h3 {
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.35;
  margin: 0 0 22px
}

.cm-promo img {
  width: 48%;
  height: 92%;
  position: absolute;
  right: -1%;
  bottom: -8%;
  object-fit: contain
}

.cm-promo-button {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid #255bd2;
  color: #255bd2;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px
}

.cm-promo:hover .cm-promo-button {
  background: #255bd2;
  color: white
}

.cm-popular {
  padding: 65px 0 80px;
  background: white
}

.cm-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
  margin-top: 35px
}

.cm-popular-card {
  text-align: center;
  color: #252932;
  border: 1px solid #edf0f5;
  border-radius: 8px;
  padding: 16px 14px 24px;
  background: #fff;
  position: relative
}

.cm-popular-photo {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafc;
  border-radius: 6px;
  position: relative;
  overflow: hidden
}

.cm-popular-photo img {
  max-width: 90%;
  max-height: 190px;
  object-fit: contain;
  position: relative;
  z-index: 1
}

.cm-sale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2864d8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center
}

.cm-popular-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 30, 60, .18))
}

.cm-popular-card:hover .cm-popular-hover {
  opacity: 1;
  visibility: visible
}

.cm-popular-hover .cm-add-cart {
  width: 100%;
  border-radius: 0;
  padding: 14px 12px;
  letter-spacing: .04em;
  font-size: 13px
}

.cm-popular-icons {
  position: absolute;
  top: 14px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.cm-popular-icons a {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #fff;
  color: #1f2a3a;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20, 35, 70, .15);
  font-size: 15px
}

.cm-popular-icons a:hover {
  background: #2864d8;
  color: #fff
}

.cm-popular-card h3 {
  font-size: 16px;
  margin: 18px 0 6px;
  line-height: 1.35
}

.cm-popular-card h3 a {
  color: inherit;
  text-decoration: none
}

.cm-popular-card h3 a:hover {
  color: #2864d8
}

.cm-popular-card .cm-cat {
  color: #2864d8;
  font-size: 12px;
  display: block
}

.cm-popular-card .cm-price {
  margin: 10px 0 0;
  font-size: 15px
}

.cm-popular-card .cm-price del {
  color: #98a0ad;
  margin-right: 8px;
  font-size: 13px
}

.cm-popular-card .cm-price strong {
  color: #2864d8;
  font-weight: 700
}

.cm-popular-card:hover {
  box-shadow: 0 10px 30px #1d396318
}

.cm-header-actions {
  gap: 14px !important
}

.cm-header-link {
  color: #211f1c !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap
}

.cm-header-link:hover {
  color: #2864d8 !important
}

.cm-header-badge {
  font-size: 10px;
  min-width: 16px;
  padding: 2px 5px !important;
  transform: translate(4px, -8px)
}

.cm-cart-total {
  font-weight: 600;
  color: #555;
  margin-left: 2px
}

.cm-client-heading {
  white-space: normal;
  line-height: 1.55;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto
}

.cm-client-track {
  align-items: stretch
}

.cm-client-logo {
  flex: 0 0 calc((100% - 60px)/6);
  height: 96px;
  padding: 12px 14px
}

.cm-client-logo img {
  max-width: 100%;
  max-height: max-content;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block
}

@media(max-width:1000px) {
  .cm-client-logo {
    flex-basis: calc((100% - 24px)/3)
  }

  .cm-brand-card {
    flex-basis: calc((100% - 20px)/2)
  }

  .cm-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:650px) {
  .cm-clients {
    padding: 20px 0
  }

  .cm-client-logo {
    flex-basis: calc((100% - 12px)/2);
    height: 85px
  }

  .cm-carousel-arrow {
    width: 28px;
    flex-basis: 28px;
    height: 28px
  }

  .cm-brand-card {
    flex-basis: 85%
  }

  .cm-quality {
    padding: 45px 0 24px
  }

  .cm-quality-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0 35px
  }

  .cm-promo-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .cm-promo {
    min-height: 225px
  }

  .cm-popular {
    padding: 45px 0
  }

  .cm-popular-grid {
    gap: 12px
  }

  .cm-popular-photo {
    height: 170px
  }

  .cm-popular-photo img {
    max-height: 140px
  }

  .cm-popular-card h3 {
    font-size: 14px
  }

  .cm-header-link span {
    display: none
  }

  .cm-header-actions {
    gap: 10px !important
  }
}

/* Inner pages */
.cm-brand-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px
}

.cm-brand-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #1f2937;
  min-height: 140px;
  transition: transform .2s, box-shadow .2s
}

.cm-brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 40, 80, .08);
  color: #255bd2
}

.cm-brand-tile img {
  max-height: 48px;
  max-width: 110px;
  object-fit: contain
}

.cm-brand-tile span {
  font-size: 13px;
  font-weight: 600;
  text-align: center
}

.cm-side-box {
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  padding: 18px;
  background: #fff
}

.cm-blog-card-link {
  text-decoration: none;
  color: inherit
}

.cm-blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  background: #f3f5f8;
  border: 1px solid #e7ebf2
}

.cm-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

@media(max-width:1100px) {
  .cm-brand-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media(max-width:650px) {
  .cm-brand-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

/* Shop pages */
.cm-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.cm-shop-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.cm-shop-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column
}

.cm-shop-media {
  position: relative;
  aspect-ratio: 1/1;
  background: #fafbfc;
  overflow: hidden
}

.cm-shop-img-link {
  display: block;
  width: 100%;
  height: 100%
}

.cm-shop-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform .25s
}

.cm-shop-card:hover .cm-shop-media img {
  transform: scale(1.04)
}

.cm-shop-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 30, 60, .16));
  pointer-events: none
}

.cm-shop-card:hover .cm-shop-hover {
  opacity: 1;
  visibility: visible;
  pointer-events: none
}

.cm-shop-hover .cm-add-cart,
.cm-shop-hover .cm-popular-icons,
.cm-shop-hover .cm-popular-icons a {
  pointer-events: auto
}

.cm-shop-card {
  cursor: pointer
}

.cm-shop-img-link {
  position: relative;
  z-index: 1
}

.cm-shop-hover .cm-add-cart {
  width: 100%;
  border-radius: 0
}

.cm-shop-info {
  padding: 16px 16px 18px;
  text-align: center
}

.cm-shop-title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 6px;
  font-weight: 600
}

.cm-shop-title a {
  color: #1f2937;
  text-decoration: none
}

.cm-shop-title a:hover {
  color: #255bd2
}

.cm-shop-cat {
  display: block;
  color: #2864d8;
  font-size: 12px;
  margin-bottom: 8px
}

.cm-shop-price {
  margin: 0;
  font-size: 15px
}

.cm-shop-price del {
  color: #98a0ad;
  margin-right: 8px;
  font-size: 13px
}

.cm-shop-price strong {
  color: #2864d8
}

.cm-shop-search {
  display: flex;
  gap: 8px
}

.cm-shop-search input {
  flex: 1
}

.cm-shop-search button {
  width: 42px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  background: #fff
}

.cm-check-list li {
  margin-bottom: 8px;
  font-size: 14px
}

.cm-check-list span {
  color: #8a93a3
}

.cm-check-list label {
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center
}

.cm-pdp-gallery {
  position: relative;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  background: #fafbfc;
  padding: 40px;
  text-align: center;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center
}

.cm-pdp-gallery img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  object-fit: contain
}

@media(max-width:991px) {

  .cm-shop-grid,
  .cm-shop-grid-4,
  .cm-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:575px) {

  .cm-shop-grid,
  .cm-shop-grid-4,
  .cm-related-grid {
    grid-template-columns: 1fr
  }
}

/* PDP qty + related + blog */
.cm-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px
}

.cm-qty {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 148px;
  height: 44px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff
}

.cm-qty-btn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 0;
  background: #f3f5f8;
  color: #1f2937;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0
}

.cm-qty-btn:hover {
  background: #e8edf5;
  color: #255bd2
}

.cm-qty-input {
  flex: 1 1 auto;
  width: 60px !important;
  min-width: 0;
  height: 44px;
  border: 0 !important;
  border-left: 1px solid #d0d5dd !important;
  border-right: 1px solid #d0d5dd !important;
  border-radius: 0 !important;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  box-shadow: none !important;
  padding: 0 !important;
  -moz-appearance: textfield
}

.cm-qty-input::-webkit-outer-spin-button,
.cm-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0
}

.cm-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch
}

.cm-related-wrap .cm-shop-card {
  min-height: 100%
}

.cm-blog-list {
  display: flex;
  flex-direction: column;
  gap: 22px
}

.cm-blog-item {
  border: 1px solid #e7eaf0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s, transform .2s
}

.cm-blog-item:hover {
  box-shadow: 0 14px 36px rgba(20, 35, 70, .1);
  transform: translateY(-2px)
}

.cm-blog-item>a {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-height: 210px
}

.cm-blog-item-photo {
  width: 38%;
  flex: 0 0 38%;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px
}

.cm-blog-item-photo img {
  width: 100%;
  height: 180px;
  object-fit: contain
}

.cm-blog-item-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.cm-blog-item-body h3 {
  font-size: 22px;
  margin: 8px 0 10px;
  line-height: 1.35
}

.cm-blog-item-body p {
  color: #697386;
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.65
}

.cm-blog-meta {
  font-size: 13px;
  color: #8a93a3
}

.cm-blog-read {
  font-size: 13px;
  font-weight: 600;
  color: #2563d8
}

.cm-blog-detail {
  max-width: 920px;
  margin: 0 auto
}

.cm-blog-detail-hero {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7ebf2;
  background: #f7f9fc;
  margin-bottom: 28px
}

.cm-blog-detail-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block
}

.cm-blog-detail-content h2 {
  margin-top: 1.5rem
}

.cm-blog-detail-content p {
  color: #374151;
  line-height: 1.75
}

.cm-blog-aside .cm-side-box a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f5;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600
}

.cm-blog-aside .cm-side-box a:last-child {
  border-bottom: 0
}

.cm-blog-aside .cm-side-box a:hover {
  color: #255bd2
}

@media(max-width:767px) {
  .cm-blog-item>a {
    flex-direction: column
  }

  .cm-blog-item-photo {
    width: 100%;
    flex-basis: auto
  }

  .cm-blog-item-photo img {
    height: 200px
  }

  .cm-pdp-actions .btn {
    width: 100%
  }

  .cm-qty {
    width: 100%
  }
}

/* Products dropdown: no hover gap; stays open over parent + submenu */
@media (min-width: 1200px) {
  .navbar.sticky-top,
  .navbar .offcanvas-nav,
  .navbar .offcanvas-nav .offcanvas-body,
  .navbar .navbar-nav {
    overflow: visible !important
  }

  .navbar .nav-item.dropdown {
    position: relative
  }

  .navbar .nav-item.dropdown>.nav-link {
    position: relative;
    z-index: 1
  }

  .navbar .nav-item.dropdown>.dropdown-menu {
    --bs-dropdown-spacer: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0 !important;
    margin-top: 0 !important;
    border: 1px solid #e7ebf2;
    box-shadow: 0 12px 28px rgba(20, 40, 80, .1);
    border-radius: 8px;
    padding: .5rem 0;
    min-width: 220px;
    z-index: 1080;
    pointer-events: auto
  }

  /* Invisible bridge so mouse can travel from link → menu without leaving .dropdown */
  .navbar .nav-item.dropdown>.dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
    background: transparent
  }

  .navbar .nav-item.dropdown:hover>.dropdown-menu,
  .navbar .nav-item.dropdown.show>.dropdown-menu,
  .navbar .nav-item.dropdown:focus-within>.dropdown-menu,
  .navbar .nav-item.dropdown>.dropdown-menu.show {
    display: block
  }

  .navbar .nav-item.dropdown>.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: .45rem 1.1rem
  }

  .navbar .nav-item.dropdown>.dropdown-menu .dropdown-item:hover,
  .navbar .nav-item.dropdown>.dropdown-menu .dropdown-item:focus {
    background: #f3f6fb;
    color: #255bd2;
    outline: 0
  }
}

/* Mobile header + close menu alignment */
@media (max-width: 1199.98px) {
  .navbar.sticky-top>.container {
    padding-top: 6px;
    padding-bottom: 6px
  }

  .navbar>.container>.d-flex.justify-content-between {
    align-items: center !important;
    min-height: 52px;
    gap: 8px
  }

  .navbar>.container>.d-flex.justify-content-between>.d-flex.align-items-center {
    flex: 1 1 auto;
    min-width: 0;
    align-items: center !important
  }

  .navbar-toggler.offcanvas-nav-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    font-size: 1.5rem;
    line-height: 1;
    color: #211f1c;
    order: 0
  }

  .navbar-brand.mx-auto,
  .navbar-brand.ms-4 {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .navbar-brand img {
    height: 36px !important;
    width: auto
  }

  .navbar>.container>.d-flex.align-items-center.gap-4,
  .navbar .cm-header-actions {
    flex: 0 0 auto;
    align-items: center !important;
    min-height: 40px
  }

  .offcanvas-nav {
    border-radius: 18px 18px 0 0;
    height: 70vh !important
  }

  .offcanvas-nav .cm-nav-close {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    border: 0;
    z-index: 1056;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .offcanvas-nav .cm-nav-close .btn-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
    padding: 0;
    margin: 0
  }

  .offcanvas-nav .offcanvas-body {
    padding-top: 1.75rem !important;
    overflow-y: auto
  }

  .offcanvas-nav .navbar-nav .nav-link {
    padding: .85rem 0
  }

  .offcanvas-nav .dropdown-menu {
    position: static !important;
    float: none;
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0 0 .5rem 0;
    margin: 0;
    background: transparent
  }

  .offcanvas-nav .dropdown-menu .dropdown-item {
    padding: .4rem 0 .4rem .75rem;
    font-size: 14px;
    color: #555
  }
}
/* Mini cart drawer */
.cm-mini-cart.offcanvas {
  width: min(420px, 100vw) !important;
  border-left: 1px solid #e8edf5
}

.cm-mini-cart-header {
  border-bottom: 1px solid #e8edf5;
  padding: 18px 22px
}

.cm-mini-cart-header .offcanvas-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em
}

.cm-mini-cart-close {
  border: 0;
  background: transparent;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0
}

.cm-mini-cart-close:hover {
  color: #2864d8
}

.cm-mini-cart-body {
  min-height: 0
}

.cm-mini-cart-items {
  overflow-y: auto;
  padding: 8px 0
}

.cm-mini-cart-empty {
  padding: 40px 24px;
  text-align: center
}

.cm-mini-cart-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  padding: 16px 22px;
  border-bottom: 1px solid #eef2f7
}

.cm-mini-cart-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 1px solid #e7ebf2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden
}

.cm-mini-cart-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.cm-mini-cart-info {
  flex: 1;
  min-width: 0;
  padding-right: 18px
}

.cm-mini-cart-name {
  display: block;
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px
}

.cm-mini-cart-name:hover {
  color: #2864d8
}

.cm-mini-cart-sku {
  font-size: 12px;
  color: #8a93a3;
  margin-bottom: 6px
}

.cm-mini-cart-line {
  font-size: 14px;
  color: #2864d8;
  font-weight: 600
}

.cm-mini-cart-remove {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px
}

.cm-mini-cart-remove:hover {
  color: #d92d20
}

.cm-mini-cart-footer {
  border-top: 1px solid #e8edf5;
  padding: 18px 22px 24px;
  background: #fff
}

.cm-mini-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em
}

.cm-mini-cart-subtotal strong {
  color: #2864d8;
  font-size: 16px
}

.cm-mini-cart-btn-view,
.cm-mini-cart-btn-checkout {
  display: block;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none
}

.cm-mini-cart-btn-view {
  background: #eef1f6;
  color: #111 !important;
  margin-bottom: 10px;
  border: 0
}

.cm-mini-cart-btn-view:hover {
  background: #e3e8f0;
  color: #111 !important
}

.cm-mini-cart-btn-checkout {
  background: #2864d8;
  color: #fff !important;
  border: 0
}

.cm-mini-cart-btn-checkout:hover {
  background: #1f54bc;
  color: #fff !important
}

/* Brand filter scroll */
.cm-brand-scroll {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #9db4df #eef2f8;
}

.cm-brand-scroll::-webkit-scrollbar {
  width: 6px;
}

.cm-brand-scroll::-webkit-scrollbar-track {
  background: #eef2f8;
  border-radius: 8px;
}

.cm-brand-scroll::-webkit-scrollbar-thumb {
  background: #9db4df;
  border-radius: 8px;
}

/* Blogs listing (blog.html) */
.cm-blogs-hero {
  background: #f3f5f9
}

.cm-blog-cats {
  flex-wrap: wrap;
  gap: 8px
}

.cm-blog-cats .nav-link {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #445066;
  background: #eef2f8;
  padding: .45rem 1rem
}

.cm-blog-cats .nav-link.active,
.cm-blog-cats .nav-link:hover {
  background: #2864d8;
  color: #fff
}

.cm-blog-post-card .text-inherit {
  color: #151b29;
  text-decoration: none
}

.cm-blog-post-card .text-inherit:hover {
  color: #2864d8
}

.cm-blog-post-media figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f7fb
}

.cm-blog-post-media img {
  transition: transform .35s ease
}

.cm-blog-post-media:hover img {
  transform: scale(1.04)
}

.cm-blog-detail-content {
  font-size: 16px;
  line-height: 1.75;
  color: #2b3445
}

.cm-blog-detail-content h2,
.cm-blog-detail-content h3,
.cm-blog-detail-content h4 {
  margin-top: 1.6rem;
  margin-bottom: .75rem;
  color: #151b29
}

.cm-blog-detail-content p {
  margin-bottom: 1rem
}

.cm-blog-detail-content ul,
.cm-blog-detail-content ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem
}

.cm-blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0
}

.cm-blog-detail .lead {
  font-size: 1.05rem
}

/* Auth drawer + My Account */
.cm-auth-drawer.offcanvas {
  width: min(420px, 100vw) !important
}

.cm-auth-drawer-body {
  padding: 24px 22px 32px
}

.cm-auth-create {
  border-top: 1px solid #e8edf5;
  padding-top: 28px;
  margin-top: 8px
}

.cm-auth-create-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
  opacity: .45
}

.cm-auth-create-link {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: underline;
  color: #151b29
}

.cm-auth-create-link:hover {
  color: #2864d8
}

.cm-account-hero {
  background: #111;
  padding: 56px 0
}

.cm-account-nav {
  display: flex;
  flex-direction: column;
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff
}

.cm-account-nav a,
.cm-account-logout {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  color: #334155;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px
}

.cm-account-nav a:last-of-type {
  border-bottom: 1px solid #eef2f7
}

.cm-account-nav a:hover,
.cm-account-nav a.is-active {
  background: #f3f7fd;
  color: #2864d8
}

.cm-account-logout {
  color: #2864d8;
  font-weight: 600;
  cursor: pointer
}

.cm-account-panel {
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #fff;
  padding: 28px
}

.cm-account-dropdown {
  min-width: 200px
}

/* Checkout steps + cart page */
.cm-checkout-steps {
  background: #1b1b1b;
  padding: 18px 0
}

.cm-checkout-steps-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  font-weight: 700
}

.cm-checkout-steps-list a {
  color: inherit;
  text-decoration: none
}

.cm-checkout-steps-list .is-active,
.cm-checkout-steps-list .is-active a {
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px
}

.cm-checkout-steps-list .is-done,
.cm-checkout-steps-list .is-done a {
  color: rgba(255,255,255,.75)
}

.cm-cart-table-wrap {
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff
}

.cm-cart-table {
  margin: 0
}

.cm-cart-table thead th {
  background: #f7f9fc;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid #e7ebf2
}

.cm-cart-x {
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 22px;
  line-height: 1;
  cursor: pointer
}

.cm-cart-x:hover {
  color: #d92d20
}

.cm-cart-totals {
  border: 1px solid #e7ebf2;
  border-radius: 10px;
  background: #fff;
  padding: 24px
}

/* Brands listing + detail */
.cm-brands-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #3b4453;
  max-width: 1100px
}

.cm-brand-detail-desc p {
  margin-bottom: 0.75rem
}

.cm-brand-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0
}

.cm-brand-breadcrumb a {
  color: #697386;
  text-decoration: none
}

.cm-brand-breadcrumb a:hover {
  color: #255bd2
}

.cm-brands-page .cm-brand-tile span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .02em
}

/* My Account dashboard tiles */
.cm-account-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}

.cm-account-tile-form {
  margin: 0
}

.cm-account-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
  padding: 22px 12px;
  border: 1px solid #e7ebf2;
  border-radius: 4px;
  background: #fff;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, color .2s
}

.cm-account-tile:hover {
  border-color: #c9d4e4;
  box-shadow: 0 8px 22px rgba(20, 40, 80, .06);
  color: #255bd2
}

.cm-account-tile-icon {
  width: 42px;
  height: 42px;
  display: block;
  background: no-repeat center / contain;
  opacity: .55
}

.cm-ico-orders {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01'/%3E%3C/svg%3E")
}

.cm-ico-downloads {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v12m0 0l4-4m-4 4l-4-4M4 19h16'/%3E%3C/svg%3E")
}

.cm-ico-addresses {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 10-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")
}

.cm-ico-account {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 19c1.5-3.5 4-5 7-5s5.5 1.5 7 5'/%3E%3C/svg%3E")
}

.cm-ico-wishlist {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 017-2.5A4 4 0 0119 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E")
}

.cm-ico-logout {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23666' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M10 17l5-5-5-5M15 12H3M14 3h4a2 2 0 012 2v14a2 2 0 01-2 2h-4'/%3E%3C/svg%3E")
}

.cm-address-box {
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  padding: 18px;
  background: #fafbfd;
  min-height: 140px
}

@media (max-width: 900px) {
  .cm-account-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 520px) {
  .cm-account-tiles {
    grid-template-columns: 1fr
  }
}
