/* normally 1024px */
html, body {
  background-color: #f3f2f1;
  margin: 0;
  font-family: "gill-sans-nova", sans-serif;
  line-height: 1.5;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; }

/* text and fonts */
img, object, embed, video {
  display: block;
  max-width: 100%; }

input, button, textarea, select {
  font: inherit; }

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word; }

h1, h2, h3, h4, h5 {
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal; }

h1 {
  display: inline-block;
  font-size: 300%;
  margin: 0 auto 0 auto;
  line-height: 1; }

h2 {
  margin-top: 0; }

.intro h1, .intro h2 {
  display: block;
  margin: initial; }

.intro h2 {
  font-size: 240%; }

p {
  font-size: 105%; }

.brand-logo {
  max-height: 100px;
  width: auto;
  max-width: 60%; }

.price-gbp,
.price-alt {
  font-size: 1rem; }

.price-gbp.original,
.price-alt.original {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5em; }

.price-gbp.sale,
.price-alt.sale {
  color: #d00;
  font-weight: bold; }

.discount {
  color: #090;
  font-size: 0.9rem;
  margin-left: 0.5em; }

.reduced-price-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 16px;
  font-size: 150%;
  width: 100% !important;
  float: none; }

.reduction {
  width: auto; }

.percentage-arrow {
  display: inline-flex;
  align-items: center;
  background-color: red;
  color: white;
  padding: 0.5em 0 0.5em 0.5em;
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  border-radius: 0.5em 0 0 0.5em;
  white-space: nowrap; }

.percentage-arrow::after {
  content: "";
  position: absolute;
  right: -1em;
  /* controls how far out the arrow sticks */
  top: 0;
  width: 0;
  border-top: 1.25em solid transparent;
  border-bottom: 1.25em solid transparent;
  border-left: 1em solid red; }

.price-alt-currency, .price-alt-currency-explanation {
  width: 100% !important;
  float: none !important;
  text-align: center !important; }

/* Responsive tweak */
@media (max-width: 600px) {
  .percentage-arrow {
    font-size: 0.875rem;
    padding: 0.4em 0.8em; }

  .percentage-arrow::after {
    right: -0.75em;
    border-top: 1.175em solid transparent;
    border-bottom: 1.175em solid transparent;
    border-left: 0.8em solid red; } }
.reduced-price {
  width: auto;
  margin-left: 20px; }

.reduced-price-container .vat {
  width: auto;
  font-size: 50%;
  line-height: normal; }

.regular-price {
  width: auto;
  text-decoration: line-through;
  font-size: 70%;
  color: darkgrey; }

span.discounted {
  color: #757575;
  text-decoration: line-through;
  text-decoration-color: #ed1c24;
  margin-right: 10px; }

.more-available {
  display: block;
  margin-top: 15px;
  font-size: 90%; }

.stock-yes, .txtGreen {
  color: #78af2d; }

.stock-yes {
  font-weight: bold;
  font-size: 20px;
  line-height: 28px; }

.stock-no {
  color: #f7941d; }

.orange, .txtOrange {
  color: #ff3200; }

.primaryButton {
  width: 100%;
  background-color: #141414;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  padding: 13px 64px 13px 64px;
  transition: all .12s ease-in; }

.primaryButton:hover, .primaryButton:active, .primaryButton:focus {
  background-color: #5a554e; }

/* layout */
header {
  /*background: url("https://octanedistribution.com/images/header.bg.jpg") no-repeat 10% 80%;
  background-size: cover;
  border-top: 10px solid $octanePurple;*/ }

/*
#octane-logo {
	text-align: center;
	margin: 0 auto;
	padding: 40px;
}
#octane-logo img {
	max-height: 100px;
	margin: 0 auto;
	padding: 10px;
}*/
.overall-content-container {
  max-width: 100vw;
  margin: 0 auto;
  margin-top: 20px; }

.product-container {
  margin: 20px;
  display: grid;
  grid-template-columns: 1fr;
  /*grid-template-rows: 1fr 1fr 1fr;*/
  gap: 10px 0px;
  grid-template-areas: "intro" "basket" "media" "details" "alternatives"; }

.partnumberphoto-container img {
  margin: 0 auto; }

.product-options {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;
  text-align: left;
  justify-content: flex-start;
  align-items: center;
  justify-items: left;
  width: 100%;
  margin-top: 24px; }

.product-options a, .product-options a:visited, .product-options a:link {
  padding: 12px 24px;
  border: 1px solid #3b3e3f;
  border-radius: 5px;
  text-decoration: none;
  color: #3b3e3f;
  font-size: 1.2rem;
  font-weight: 700;
  background-color: #fff; }

.product-options a.instock, .product-options a.instock:visited, .product-options a.instock:link {
  border-color: #78af2d; }

.product-options a.selected, .product-options a.selected:visited, .product-options a.selected:link {
  border-color: #78af2d;
  display: none; }

/* Accordion */
.accordion {
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px; }

.accordion-item:first-child {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd; }

.accordion-item {
  border-bottom: 1px solid #ddd; }

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  font-size: 120%; }

.accordion-header:hover {
  background-color: #f7f7f7; }

.accordion-header:active, .accordion-header.open {
  background-color: #fff; }

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out, padding 0.2s ease-out;
  background-color: #fff;
  padding: 0 15px; }

.accordion-header.start-open {
  max-height: auto; }

.accordion-header .arrow {
  transition: transform 0.2s ease; }

.accordion-header.open .arrow {
  transform: rotate(180deg); }

@media only screen and (max-width: 800px) {
  .product-container {
    margin: 0; }

  .intro h2 {
    font-size: 200%;
    line-height: 1; }

  .accordion-header, .accordion-content {
    padding-left: 0;
    padding-right: 0; }

  .accordion-content h2 img {
    max-width: 100px !important; }

  #vehicle-fitment-container ul {
    padding-left: 0;
    padding-right: 0; } }
/* END: Accordion */
/* Basket section */
.quantity-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 15px auto; }

.quantity-label {
  flex: 1 0 100%;
  display: flex;
  justify-content: center;
  font-weight: 600; }

.quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 48px;
  height: 48px;
  border: 1px solid #7f7f7f;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  flex: 0 0 auto; }

.quantity-btn:enabled:hover, .quantity-input:hover {
  border: 1px solid #141414;
  border-radius: 4px; }

.quantity-btn:disabled {
  border: 1px solid #ccc;
  cursor: auto; }

.quantity-btn img {
  width: 24px;
  height: 24px;
  margin: 0 !important; }

.quantity-input {
  display: flex;
  width: 48px;
  height: 48px;
  text-align: center;
  border: 1px solid #7f7f7f;
  border-radius: 2px;
  font-size: 18px;
  padding: 8px;
  appearance: textfield;
  /* Hides the up/down arrows on some browsers */
  flex: 0 0 auto; }

/* Remove spinners/arrows on number inputs for mobile (optional) */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; }

/* Optional: Improve spacing and usability on smaller screens */
@media (max-width: 480px) {
  .quantity-wrapper {
    gap: 5px; }

  .quantity-btn {
    width: 64px;
    height: 64px;
    font-size: 20px; }

  .quantity-input {
    width: 64px;
    height: 64px;
    font-size: 20px; }

  .brand-logo {
    max-width: none; } }
/* END: Basket section */
.spectable {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 2px;
  padding: 0 20px; }

.spectable .spectitle {
  font-weight: bold;
  flex-shrink: 1; }

.link-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; }

.link-container .link {
  flex: 1 0 calc(100% / 2);
  display: flex;
  justify-content: center;
  margin-bottom: 15px; }

.link-container .link iframe {
  width: auto;
  height: auto; }

@media only screen and (min-width: 1024px) {
  .product-container {
    max-width: 1632px;
    display: grid;
    grid-template-columns: 1.3333fr 0.6666fr;
    grid-template-rows: min-content min-content;
    gap: 0 20px;
    grid-auto-flow: row;
    grid-template-areas: "intro basket" "media ." "details ." "alternatives .";
    min-height: 0;
    min-width: 0; }

  .basket {
    position: sticky !important;
    top: 0;
    align-self: start;
    text-align: center;
    grid-row-end: none !important;
    overflow: hidden; }

  .basket img {
    max-height: 100px;
    width: auto;
    margin: 20px auto 0 auto; }

  .alternatives {
    margin: 20px 0; } }
.basket {
  grid-area: basket;
  text-align: center; }

.basket img {
  margin: 20px auto 0 auto; }

.alternatives {
  grid-area: alternatives;
  text-align: left; }

.intro {
  grid-area: intro;
  text-align: left; }

.media {
  grid-area: media;
  text-align: left; }

.details {
  grid-area: details;
  text-align: left; }

.basket, .alternatives, .intro, .media, .details {
  padding: 20px;
  /*border: 1px solid red;*/
  background-color: #fff; }

.basket h3 {
  font-weight: 400;
  font-size: 150%;
  border-bottom: 3px solid #ff3200;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 0; }

/* For presentation only, no need to copy the code below */
.product-container * {
  position: relative;
  max-width: 100%; }

/*.product-container *:after {
  content:attr(class);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
}*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch; }
