/**
 * @file
 * Subtheme specific CSS.
 */

/* =====================================
   HEADER / NAVIGATION
===================================== */

#header,
.navbar {
  background: #111 !important;
  border-bottom: 3px solid #c6a45d;
  padding: 18px 0;
}

.navbar .container {
  max-width: 1500px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 40px;
}

.navbar-brand img {
  max-height: 82px;
  width: auto;
}

.navbar-nav {
  align-items: center;
  gap: 6px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 10px 14px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link {
  color: #c6a45d !important;
}

.dropdown-menu {
  background: #111;
  border: 1px solid #c6a45d;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

.dropdown-item {
  color: #fff !important;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 9px 18px;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: #1b1b1b;
  color: #c6a45d !important;
}

/* Mobile menu icon */

.navbar-toggler {
  border: 1px solid #c6a45d !important;
}

.navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 24px;
  height: 18px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  background-color: #c6a45d;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #c6a45d;
}

.navbar-toggler-icon {
  display: block;
  height: 2px;
  margin-top: 8px;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

@media (max-width: 991px) {
  .navbar-brand img {
    max-height: 68px;
  }

  .navbar-collapse {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(198,164,93,.35);
  }

  .navbar-nav {
    align-items: flex-start;
    gap: 0;
  }

  .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
}

.container,
.container-lg,
.container-xl,
.container-xxl {
  max-width: 1600px;
}

.fsr-hero {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  padding: 90px 60px;
  margin: 40px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.fsr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.fsr-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.58);
  z-index: -1;
}

.fsr-hero-inner {
  max-width: 760px;
}

.fsr-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
}

.fsr-hero-lead {
  color: #c6a45d;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.fsr-hero-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 34px;
}

.fsr-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.fsr-hero-buttons a {
  display: inline-block;
  padding: 13px 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
}

.fsr-hero-buttons .btn-primary {
  background: #fff !important;
  color: #111 !important;
  border: 2px solid #fff !important;
}

.fsr-hero-buttons .btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

.fsr-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e9e5dc;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}

.fsr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.1);
}

.fsr-card-image {
  overflow: hidden;
  background: #fff;
}

.fsr-card-image a:not(:first-child) {
  display: none;
}

.fsr-card-image a:first-child:empty {
  display: none;
}

.fsr-card-image a:first-child:empty + a {
  display: block;
}

.fsr-card-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.fsr-card:hover .fsr-card-image img {
  transform: scale(1.03);
}

.fsr-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
}

.fsr-card-body h3 {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 4.05em;
  max-height: 4.05em;
  overflow: hidden;
}

.fsr-card-meta,
.fsr-card-auth {
  color: #666;
  font-size: .9rem;
  margin-bottom: 10px;
}

.fsr-card-auth {
  font-weight: 800;
}

.fsr-card-price {
  margin-top: auto;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.fsr-card-status {
  display: block;
  background: #111;
  color: #fff;
  padding: 8px 10px;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}

.fsr-card-image {
  aspect-ratio: 1 / 1;
}

.fsr-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.fsr-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body,
button,
input,
select,
textarea {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.nav-link,
.fsr-card-body h3 {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.fsr-product {
  max-width: 1500px;
  margin: 0 auto;
}

.fsr-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 56px;
  align-items: start;
}

.fsr-product-summary {
  position: sticky;
  top: 24px;
}

.fsr-product-summary h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 20px;
}

.fsr-product-gallery {
  display: grid;
  gap: 18px;
}

.fsr-product-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e9e5dc;
  background: #fff;
}

.fsr-product-gallery .field__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fsr-product-gallery .field__item:first-child {
  grid-column: 1 / -1;
}

.fsr-product-gallery .field__item:first-child img {
  border: 3px solid #111;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.fsr-product-gallery .field__item:not(:first-child) img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.fsr-price {
  font-size: 2.1rem;
  font-weight: 900;
  margin: 18px 0;
}

@media (max-width: 900px) {
  .fsr-product-layout {
    grid-template-columns: 1fr;
  }

  .fsr-product-summary {
    position: static;
  }
}

/* Authenticity gallery */
.field--name-field-authenticity-images.field__items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.field--name-field-authenticity-images .field__item {
  background: #fff;
  border: 1px solid #e9e5dc;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  line-height: 0;
}

.field--name-field-authenticity-images .field__item img {
  display: block;
  width: calc(100% - 16px) !important;
  height: calc(100% - 16px) !important;
  margin: 8px !important;
  object-fit: cover;
}

/* Restoration gallery */
.fsr-restoration-gallery {
  margin-top: 28px;
}

.fsr-restoration-gallery h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.fsr-restoration-gallery img {
  width: 220px !important;
  height: 220px !important;
  object-fit: cover;
  display: inline-block;
  background: #fff;
  border: 1px solid #e9e5dc;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  margin: 0 12px 12px 0;
}

@media (max-width: 768px) {
  .field--name-field-authenticity-images.field__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fsr-restoration-gallery img {
    width: calc(50% - 10px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 500px) {
  .field--name-field-authenticity-images.field__items {
    grid-template-columns: 1fr;
  }

  .fsr-restoration-gallery img {
    width: 100% !important;
  }
}

/* FSR product information cards */

.fsr-key-facts,
.fsr-auth-score,
.fsr-evidence-table,
.fsr-restoration-card,
.fsr-classification-notice {
  border: 1px solid #e9e5dc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

/* Key Facts */

.fsr-key-facts {
  margin-top: 28px;
}

.fsr-key-facts::before {
  content: "Key Facts";
  display: block;
  padding: 13px 16px;
  background: #111;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.fsr-fact {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-bottom: 1px solid #e9e5dc;
}

.fsr-fact:last-child {
  border-bottom: none;
}

.fsr-fact strong {
  color: #555;
  font-weight: 700;
}

.fsr-fact span {
  text-align: right;
  font-weight: 800;
}

/* Authenticity score */

.fsr-auth-score {
  margin: 20px 0;
  padding: 0;
}

.fsr-auth-heading {
  display: block;
  padding: 13px 16px;
  background: #111;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.fsr-auth-score > div:not(.fsr-auth-heading),
.fsr-auth-note {
  padding: 13px 16px;
}

.fsr-auth-stars {
  color: #c6a45d;
  font-size: 1.2rem;
  letter-spacing: .08em;
  margin-right: 8px;
}

.fsr-auth-label {
  font-weight: 900;
  color: #111;
}

.fsr-auth-note {
  border-top: 1px solid #e9e5dc;
  color: #555;
  font-size: .95rem;
  line-height: 1.6;
}

/* Classification / custom / template notices */

.fsr-classification-notice {
  margin: 20px 0;
  padding: 0;
  background: #fff8e8;
  border-color: #ead9aa;
}

.fsr-classification-heading {
  display: block;
  padding: 13px 16px;
  background: #111;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.fsr-classification-notice strong,
.fsr-classification-notice p {
  display: block;
  padding: 0 16px;
}

.fsr-classification-notice strong {
  padding-top: 14px;
  font-size: 1.05rem;
  color: #111;
}

.fsr-classification-notice p {
  margin: 8px 0 14px;
  color: #4d3b17;
  line-height: 1.6;
}

/* Evidence table */

.fsr-evidence-table {
  margin-top: 20px;
}

.fsr-evidence-table > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-bottom: 1px solid #e9e5dc;
}

.fsr-evidence-table > div:last-child {
  border-bottom: none;
}

.fsr-evidence-table strong {
  color: #555;
  font-weight: 700;
}

.fsr-evidence-table span {
  text-align: right;
  font-weight: 800;
}

/* Restoration card */

.fsr-restoration-card {
  margin-top: 16px;
}

.fsr-restoration-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  border-bottom: 1px solid #e9e5dc;
}

.fsr-restoration-row:last-child {
  border-bottom: none;
}

.fsr-restoration-row strong {
  color: #555;
  font-weight: 700;
}

.fsr-restoration-row span {
  text-align: right;
  font-weight: 800;
}

