/*
 * HGDEER Warm Gold Atelier v1.0.0
 * Reversible presentation layer for the Amazon-only catalog.
 * The original HGDEER logo artwork and Open Sans UI font are intentionally unchanged.
 */

:root {
  --hg-ink: #171613;
  --hg-paper: #fbf8f3;
  --hg-surface: #ffffff;
  --hg-gold: #b4935e;
  --hg-gold-dark: #8e6f3f;
  --hg-blush: #eee4da;
  --hg-text: #35312c;
  --hg-muted: #756e65;
  --hg-line: #e7ded1;
  --hg-shadow: 0 16px 42px rgba(61, 48, 31, .09);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--hg-paper);
  color: var(--hg-text);
  font-family: "Open Sans", Arial, sans-serif;
}

#hgdeer-amazon-banner {
  border: 0 !important;
  border-bottom: 1px solid rgba(180, 147, 94, .55) !important;
  background: var(--hg-ink) !important;
  color: #fffaf1 !important;
  font-weight: 600;
  letter-spacing: .025em;
}

#top {
  min-height: 36px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #2c2924;
  background: var(--hg-ink);
}

#top .container,
#top a,
#top .btn-link,
#top-links li,
#top-links a {
  color: #e9dfd1;
  text-shadow: none;
}

#top a:hover,
#top .btn-link:hover,
#top-links a:hover {
  color: #fff;
}

header {
  border-bottom: 1px solid var(--hg-line);
  background: var(--hg-surface);
}

header > .container > .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

#logo {
  margin: 0;
}

#logo img {
  width: 190px;
  max-width: 100%;
  height: auto;
  filter: none;
}

header #search {
  margin-bottom: 0;
}

header #search .form-control {
  height: 42px;
  border-color: #ddd3c4;
  border-radius: 999px 0 0 999px;
  background: #fff;
  box-shadow: none;
  color: var(--hg-ink);
}

header #search .btn {
  height: 42px;
  min-width: 52px;
  border: 1px solid var(--hg-ink);
  border-radius: 0 999px 999px 0;
  background: var(--hg-ink);
  color: #fff;
  text-shadow: none;
}

#menu {
  min-height: 46px;
  margin: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--hg-ink);
  box-shadow: none;
}

#menu .nav > li > a {
  padding: 14px 20px;
  color: #f8f1e7;
  font-weight: 600;
  letter-spacing: .035em;
  text-shadow: none;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background: #2d2923;
  color: #f3d9aa;
}

#menu .btn-navbar {
  color: #fff;
}

/* Approved Warm Gold homepage hero. */
#common-home.container {
  width: 100%;
  max-width: 1210px;
}

.hgdeer-heartfelt-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 0;
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 24%, rgba(180, 147, 94, .18), transparent 33%),
    linear-gradient(125deg, #fffdf9 0%, #f7efe5 100%);
  box-shadow: var(--hg-shadow);
}

.hgdeer-heartfelt-copy {
  position: relative;
  z-index: 2;
  padding: 62px 62px 54px;
}

.hgdeer-heartfelt-eyebrow,
.hgdeer-collection-heading > p {
  margin: 0 0 13px;
  color: var(--hg-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hgdeer-heartfelt-copy h1 {
  max-width: 690px;
  margin: 0 0 20px;
  color: var(--hg-ink);
  font-size: clamp(35px, 4.1vw, 57px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hgdeer-heartfelt-subtitle {
  max-width: 620px;
  margin: 0 0 30px;
  color: #625b52;
  font-size: 17px;
  line-height: 1.7;
}

.hgdeer-heartfelt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 27px;
  border: 1px solid var(--hg-ink);
  border-radius: 999px;
  background: var(--hg-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hgdeer-heartfelt-cta:hover,
.hgdeer-heartfelt-cta:focus {
  border-color: var(--hg-gold-dark);
  background: var(--hg-gold-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.hgdeer-heartfelt-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

.hgdeer-heartfelt-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(142, 111, 63, .36);
  border-radius: 50%;
}

.hgdeer-orbit-one {
  top: 28px;
  right: 36px;
  width: 260px;
  height: 260px;
}

.hgdeer-orbit-two {
  top: 75px;
  right: 82px;
  width: 168px;
  height: 168px;
}

.hgdeer-heartfelt-emblem {
  position: absolute;
  top: 105px;
  right: 119px;
  color: var(--hg-gold-dark);
  font-size: 74px;
  font-weight: 300;
  line-height: 1;
}

.hgdeer-heartfelt-art-copy {
  position: absolute;
  right: 58px;
  bottom: 38px;
  color: #6c6256;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hgdeer-heartfelt-trust {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(180, 147, 94, .34);
  background: rgba(255, 255, 255, .73);
}

.hgdeer-trust-item {
  position: relative;
  padding: 19px 28px;
  text-align: center;
}

.hgdeer-trust-item + .hgdeer-trust-item::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--hg-line);
  content: "";
}

.hgdeer-trust-item span,
.hgdeer-trust-item small {
  display: block;
}

.hgdeer-trust-item span {
  margin-bottom: 4px;
  color: var(--hg-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
}

.hgdeer-trust-item small {
  color: var(--hg-muted);
  font-size: 12px;
}

/* The approved composition replaces the old slideshow visually without deleting it. */
#common-home .swiper-viewport {
  display: none !important;
}

.hgdeer-collection-heading {
  margin: 12px 0 22px;
  text-align: center;
  scroll-margin-top: 24px;
}

.hgdeer-collection-heading > p {
  margin-bottom: 7px;
}

.hgdeer-collection-heading h3 {
  margin: 0;
  color: var(--hg-ink);
  font-size: 31px;
  font-weight: 300;
  letter-spacing: -.02em;
}

#common-home .hgdeer-product-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

#common-home .hgdeer-product-grid > .product-layout {
  display: flex;
  float: none !important;
  width: 25% !important;
  margin: 0 0 20px;
  padding-right: 10px;
  padding-left: 10px;
}

#common-home .product-thumb {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hg-line);
  border-radius: 16px;
  background: var(--hg-surface);
  box-shadow: 0 7px 22px rgba(64, 49, 30, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#common-home .product-thumb:hover {
  border-color: #d6c2a3;
  box-shadow: 0 15px 34px rgba(64, 49, 30, .11);
  transform: translateY(-2px);
}

#common-home .product-thumb .image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 13px;
  overflow: hidden;
  border-bottom: 1px solid #f0e9df;
  background: #fff;
}

#common-home .product-thumb .image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#common-home .product-thumb .image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transition: transform .25s ease;
}

#common-home .product-thumb:hover .image img {
  transform: scale(1.015);
}

#common-home .product-thumb .caption {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 15px 16px 13px;
}

#common-home .product-thumb .caption h4 {
  min-height: 4.35em;
  margin: 0 0 12px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#common-home .product-thumb .caption h4 a {
  color: var(--hg-ink);
}

#common-home .product-thumb .caption h4 a:hover,
#common-home .product-thumb .caption h4 a:focus {
  color: var(--hg-gold-dark);
  text-decoration: none;
}

#common-home .product-thumb .price {
  margin: auto 0 0;
  color: var(--hg-ink);
  font-size: 15px;
  font-weight: 700;
}

#common-home .product-thumb .price-tax {
  display: none !important;
}

#common-home .product-thumb .button-group {
  display: block;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

#common-home .product-thumb .button-group button {
  display: none !important;
}

#common-home .product-thumb .button-group .hgdeer-amazon-button {
  display: block !important;
  float: none;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid #2f2b25;
  border-radius: 0;
  background: var(--hg-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-shadow: none;
}

#common-home .product-thumb .button-group .hgdeer-amazon-button:hover,
#common-home .product-thumb .button-group .hgdeer-amazon-button:focus {
  border-color: var(--hg-gold-dark);
  background: var(--hg-gold-dark);
  color: #fff;
}

/* Product detail polish; copy, imagery, pricing, and Amazon behavior remain unchanged. */
#product-product .breadcrumb,
#information-information .breadcrumb {
  padding: 12px 0;
  background: transparent;
}

#product-product h1 {
  color: var(--hg-ink);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.22;
}

#product-product .thumbnail {
  overflow: hidden;
  border-color: var(--hg-line);
  border-radius: 12px;
  background: #fff;
}

#product-product .nav-tabs {
  border-bottom-color: var(--hg-line);
}

#product-product .nav-tabs > li.active > a,
#product-product .nav-tabs > li.active > a:hover,
#product-product .nav-tabs > li.active > a:focus {
  border-color: var(--hg-line) var(--hg-line) #fff;
  color: var(--hg-ink);
}

#product-product #button-cart.hgdeer-amazon-button {
  min-height: 50px;
  border-color: var(--hg-ink);
  border-radius: 8px;
  background: var(--hg-ink);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: none;
}

#product-product #button-cart.hgdeer-amazon-button:hover,
#product-product #button-cart.hgdeer-amazon-button:focus {
  border-color: var(--hg-gold-dark);
  background: var(--hg-gold-dark);
}

footer {
  margin-top: 46px;
  border-top: 3px solid var(--hg-gold);
  background: var(--hg-ink);
  color: #bdb4a8;
}

footer h5 {
  color: #fffaf2;
  font-weight: 700;
  letter-spacing: .04em;
}

footer a {
  color: #d6ccbe;
}

footer a:hover,
footer a:focus {
  color: #f3d9aa;
}

@media (max-width: 1099px) {
  .hgdeer-heartfelt-copy {
    padding: 52px 45px 46px;
  }

  #common-home .hgdeer-product-grid > .product-layout {
    width: 33.333333% !important;
  }
}

@media (max-width: 767px) {
  header > .container > .row {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #logo {
    margin-bottom: 14px;
    text-align: center;
  }

  #logo img {
    width: 168px;
    margin: 0 auto;
  }

  header #search {
    margin-bottom: 4px;
  }

  #menu {
    margin-bottom: 10px;
  }

  #common-home.container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hgdeer-heartfelt-hero {
    grid-template-columns: 1fr;
    margin-bottom: 16px;
    border-radius: 15px;
  }

  .hgdeer-heartfelt-copy {
    padding: 23px 18px 19px;
    text-align: center;
  }

  .hgdeer-heartfelt-eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: .15em;
  }

  .hgdeer-heartfelt-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(26px, 7.7vw, 31px);
    line-height: 1.14;
  }

  .hgdeer-heartfelt-subtitle {
    margin-bottom: 17px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hgdeer-heartfelt-cta {
    min-height: 40px;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 11px;
  }

  .hgdeer-heartfelt-art {
    display: none;
  }

  .hgdeer-heartfelt-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hgdeer-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 8px 5px;
  }

  .hgdeer-trust-item span {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.25;
  }

  .hgdeer-trust-item small {
    display: none;
  }

  .hgdeer-trust-item + .hgdeer-trust-item::before {
    top: 9px;
    right: auto;
    bottom: 9px;
    left: 0;
    width: 1px;
    height: auto;
  }

  .hgdeer-collection-heading {
    margin-top: 3px;
    margin-bottom: 14px;
  }

  .hgdeer-collection-heading h3 {
    font-size: 27px;
  }

  #common-home .hgdeer-product-grid {
    margin-right: -5px;
    margin-left: -5px;
  }

  #common-home .hgdeer-product-grid > .product-layout {
    width: 50% !important;
    margin-bottom: 10px;
    padding-right: 5px;
    padding-left: 5px;
  }

  #common-home .product-thumb {
    border-radius: 12px;
  }

  #common-home .product-thumb .image {
    padding: 7px;
  }

  #common-home .product-thumb .caption {
    padding: 11px 10px 10px;
  }

  #common-home .product-thumb .caption h4 {
    min-height: 5.6em;
    margin-bottom: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-line-clamp: 4;
  }

  #common-home .product-thumb .price {
    font-size: 13px;
  }

  #common-home .product-thumb .button-group .hgdeer-amazon-button {
    min-height: 43px;
    padding: 9px 6px;
    font-size: 10.5px;
    letter-spacing: .03em;
  }

  #product-product .breadcrumb {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: hidden;
  }

  #product-product .breadcrumb > li,
  #product-product .breadcrumb > li > a {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  footer {
    margin-top: 32px;
  }
}

@media (max-width: 340px) {
  .hgdeer-heartfelt-copy {
    padding-right: 18px;
    padding-left: 18px;
  }

  #common-home .product-thumb .caption h4 {
    font-size: 12px;
  }

  #common-home .product-thumb .button-group .hgdeer-amazon-button {
    font-size: 9.6px;
    letter-spacing: 0;
  }
}
