.section {
  overflow-x: hidden;
}

#single .row-1 {
  padding-top: 0;
}

/* Product layout */
.product-detail {
  width: 100%;
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 740px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "product-slider quote-info"
    "product-description .";
  column-gap: 40px;
}

.product-detail .quote-info .btn-attach {
  width: 100%;
}

.product-detail .quote-info .file {
  border: 1px solid #090911;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
  padding: 8px 12px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #090911 !important;
  text-align: center;
  white-space: nowrap;
  background-color: #FFFFFF;
  width: 100%;
  background-image: url(images/icon-upload.svg);
  background-repeat: no-repeat;
  background-position: 25% center;
  padding-left: 40px;
}

.product-detail .quote-info input[type=file] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.product-slider {
  grid-area: product-slider;
}

.quote-info {
  position: sticky;
  top: 20px;
  grid-area: quote-info;
  display: flex;
  flex-direction: column;
  padding: 0 0 40px 20px;
  max-height: calc(100vh - 40px);
  align-self: start;
}

.product-description {
  grid-area: product-description;
}



/* Product sidebar */

.quote-info .pricing-delivery-wrapper {
  display: flex;
  gap: 8px;
  padding: 4px 8px 0 0;
  margin-bottom: 12px;
}

.quote-info .pricing-delivery-wrapper p {
  margin: 0;
  color: #464686;
  line-height: 1;
}

.quote-info .pricing-delivery-wrapper .pricing-delivery-divider {
  font-size: 12px;
  color: rgba(7, 18, 9, 0.2);
  line-height: normal;
}

.quote-info .price-range span {
  display: inline-block;
  height: auto;
}

.quote-info .price-bg path {
  fill: rgba(7, 18, 9, 0.2);
  line-height: normal;
}

.info-name {
  color: #090911;
  font-size: 32px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.96px;
}

.info-product-category {
  color: #090911;
  opacity: .5;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.custom-packaging {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 0 0;
}

.custom-packaging:last-child {
  margin-bottom: 16px;
}

.custom-packaging img {
  width: 25px;
  opacity: 0.5;
  margin-top: -2px;
}

.custom-packaging p {
  color: #848484;
  margin-bottom: 0;
}

.quote-info input[name='product-name'] {
  display: none;
}

.product-detail .info-title {
  color: #090911;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.quote-info input[type=text],
.quote-info input[type=email] {
  padding: 16px 14px;
  border: 1px solid rgba(9, 9, 17, 0.10);
  border-radius: 0;
  color: #071209;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  height: auto;
}

.quote-info input[type=text]::placeholder,
.quote-info input[type=email]::placeholder {
  color: #9d9da0;
}

.quote-info input[type=text]:focus,
.quote-info input[type=email]:focus,
.product-detail .quote-info textarea:focus {
  border: 1px solid rgba(9, 9, 17, 0.40);
  box-shadow: none;
}

.product-detail .quote-info .form-container p {
  margin: 0;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.form-container .input-container {
  flex: 0 0 calc(50% - 4px);
  min-width: 0;
}

.btn-attach,
.acc-wrapper,
.container-btn-submit {
  flex: 0 0 100%;
  width: 100%;
}

.input-container p,
.btn-attach p,
.acc-wrapper p,
.container-btn-submit p {
  margin: 0;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
}

.product-detail .quote-info .btn-attach {
  width: 100%;
}

.product-detail .quote-info .file {
  border: 1px solid #090911;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
  padding: 8px 12px;
  display: inline-block;
  cursor: pointer;
  position: relative;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #090911 !important;
  text-align: center;
  white-space: nowrap;
  background-color: #FFFFFF;
  width: 100%;
  background-image: url(images/icon-upload.svg);
  background-repeat: no-repeat;
  background-position: 25% center;
  padding-left: 40px;
}

.product-detail .quote-info input[type=file] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.product-detail .quote-info .acc-wrapper {
  width: 100%;
}

.product-detail .quote-info a.acc-toggle {
  padding-left: 22px;
  color: #090911;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.product-detail .quote-info a.acc-toggle span {
  color: rgba(9, 9, 9, 0.5);
  font-size: 12px;
  font-weight: 400;
  padding-left: 22px;
  line-height: normal;
}

.product-detail .quote-info textarea {
  min-height: 120px;
  max-height: 120px;
  padding: 16px;
  border: 1px solid rgba(9, 9, 17, 0.10);
  color: #071209;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  max-width: 100%;
  min-width: 100%;
}

.product-detail .quote-info .container-btn-submit {
  width: 100%;
  margin-top: 32px;
}

.product-detail .quote-info input[type=submit] {
  width: 100%;
  border: 1px solid #464686;
  background: #464686;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}


/* Product detail */
.product-description-details {
  flex: 1;
  min-width: 480px;
}

.product-description-details .product-description-title {
  margin-top: 0;
}

.product-description-title,
.product-description-customization-options h2 {
  color: #090911;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 25px;
  margin-top: 50px;
}

.product-description-subtitle {
  color: #090911;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  margin: 32px 0 8px;
}

.product-description-link {
  color: #090911;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-attributes-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-attributes-details h4 {
  color: #090911;
  font-size: 14px;
  font-weight: 600;
}

.product-attributes-details p {
  color: rgba(9, 9, 17, 0.50);
  font-size: 14px;
  font-weight: 400;
}

.product-info {
  color: rgba(9, 9, 17, 0.50);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-top: -90px;
}

.product-info .reviews,
.product-description-customization-options .reviews {
  margin: 40px 0;
}

.custom-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 48px;
  row-gap: 32px;
  text-align: center;
}

.custom-option a {
  display: block;
  padding: 0 16px;
}

.custom-option img {
  max-width: 100%;
  height: auto;
}

.custom-option p {
  color: #090911;
  text-align: center;
  font-size: 14px;
  line-height: normal;
  margin: 4px 0 0
}


/* Slider */

.product-image-gallery {
  display: flex;
  gap: 20px;
  height: 560px;
}

.product-image-gallery {
  display: flex;
  gap: 20px;
  height: 560px;
}

#thumbnail-slider {
  width: 120px;
}

.product-carousel {
  width: calc(100% - 140px);
  display: flex;
  align-items: center;
}

.product-carousel .flex-viewport {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  max-height: 100%;
}

.product-carousel .flex-viewport li img {
  max-height: 450px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.flexslider.vertical-carousel .slides li {
  float: none !important;
  margin-bottom: 8px;
  padding: 8px;
  box-sizing: content-box;
  border: 2px solid transparent;
}

.flexslider.vertical-carousel .slides li.flex-active-slide {
  border: 2px solid #071209;
}

.flexslider.vertical-carousel .flex-viewport {
  max-height: 560px;
}

.flex-direction-nav a {
  margin: 0;
}

.flexslider.vertical-carousel .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 42px;
  top: 0;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 42px;
  top: 0;
}

.flexslider.vertical-carousel .flex-direction-nav .flex-next {
  opacity: 0.7;
  left: 42px;
  bottom: 0;
  right: unset;
  top: unset;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  bottom: 0;
  right: unset;
  top: unset;
}

.flexslider.vertical-carousel .flex-direction-nav a.flex-prev:before {
  content: '';
  background: url('images/slider-arrow-prev.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.vertical-carousel .flex-direction-nav a.flex-next:before {
  content: '';
  background: url('images/slider-arrow-next.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav .flex-prev {
  left: 10px;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav a.flex-prev:before {
  content: '';
  background: url('images/slider-arrow-left.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav .flex-next {
  right: 10px;
  width: 36px;
  height: 36px;
}

.flexslider.product-carousel .flex-direction-nav a.flex-next:before {
  content: '';
  background: url('images/slider-arrow-right.png');
  background-size: 100%;
  width: 36px;
  height: 36px;
}

/* ---------------------------------------- */
/* Specific styles for the "Cufflinks" page */
/* ---------------------------------------- */
.page-cufflinks #thumbnail-slider {
  display: none;
}

.page-cufflinks .flexslider .slides {
  width: 100% !important;
  display: flex;
  justify-content: center;
}


/* ------------------------------------- */
/* Specific styles for the "Medals" page */
/* ------------------------------------- */
.page-medals .product-info {
  margin-top: -220px;
}


/* -------------------------------------------- */
/* Specific styles for the Keyring Product page */
/* -------------------------------------------- */
.single-keyrings .product-detail .info-features {
  display: flex;
}

.single-keyrings .product-detail .info-feature:first-of-type {
  padding-left: 0;
}

.single-keyrings .product-detail .info-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 16px;
  padding-right: 16px;
  gap: 8px;
}

.single-keyrings .product-detail .info-feature .info-feature-img img {
  width: 24px;
  height: 24px;
}

.single-keyrings .product-detail .info-feature .info-feature-desc p {
  color: rgba(9, 9, 17, 0.7);
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
}

.single-keyrings .product-detail .info-feature+.info-feature {
  border-left: 1px solid rgba(9, 9, 11, 0.1);
}



/* Media Queries */

@media (max-width: 768px) {

  .product-detail {
    padding: 0 15px;
    display: block;
    grid-template-columns: 1fr;
    grid-template-areas:
      "product-slider"
      "quote-info"
      "product-description";
  }

  .product-detail .product-image-gallery {
    flex-direction: column;
    height: auto;
    margin-bottom: 20px;
  }

  .product-detail #thumbnail-slider {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }

  .product-detail .flexslider.vertical-carousel .flex-viewport {
    max-height: 64px;
  }

  .product-detail .flexslider.vertical-carousel .slides li {
    float: left !important;
    margin-bottom: 0;
    padding: 2px;
  }

  .product-carousel .flex-direction-nav {
    display: block;
  }

  .product-detail #thumbnail-slider img {
    width: 100%;
  }

  .product-detail .product-carousel {
    margin-top: 24px;
    width: 100%;
  }

  .quote-info {
    padding: 0;
    top: 0;
    margin-top: 50px;
  }

  .product-description {
    padding-top: 40px;
    flex-direction: column;
  }

  .product-customization {
    margin-top: 50px;
  }

  .custom-option a {
    padding: 0 0;
  }

  .input-container {
    flex: 0 0 100%;
  }

  .custom-options-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 8px;
  }

  .box-video .yt-hd-thumbnail-outer-container {
    width: 100%;
  }

  .pricing-content {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .pricing-image {
    border-right: 0px;
    border-bottom: 1px solid #ddd;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .pricing-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-title h1 {
    font-size: 20px;
  }

  .pricing-option {
    border-right: 0px;
    border-bottom: 1px solid #ddd;
  }

  .pricing-option:last-child {
    border-bottom: none;
  }

  .product-info .reviews a img {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .pricing-specs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}




/* -------------------- */
/* OLD STYLES (in file) */
/* -------------------- */


/* VERTICAL SLIDER */

#productImagesContainer {
  display: flex;
}

#slider-prod-thumbs .flex-viewport {
  height: 516px;
  margin-top: 30px;
  margin-bottom: 25px;
}

#slider-prod-thumbs .flex-active-slide {
  border: 2px solid #7F7FBC;
}

#slider-prod-thumbs .flex-active-slide,
#slider-prod-thumbs .flex-active-slide img {
  border-radius: 8px;
}

#vertical-carousel {
  width: 80px;
}

#vertical-carousel li {
  float: none !important;
  margin-bottom: 8px;
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
}

.flex-direction-nav {
  height: 0;
}

#vertical-carousel .flex-direction-nav a {
  top: auto;
  left: 50%;
}

#slider-prod-thumbs .flexslider:hover .flex-prev,
#slider-prod-thumbs .flexslider .flex-prev {
  left: 50%;
}

#slider-prod-thumbs .flex-direction-nav a.flex-prev {
  top: 30px;
  transform: translateX(-21px) rotate(90deg);

}

#slider-prod-thumbs .flex-direction-nav a.flex-next {
  bottom: 0;
  transform: translateX(-21px) translateY(21px) rotate(90deg);
}

#slider-prod-enemel {
  width: 450px;
  display: flex;
  align-items: center;
}

#slider-prod-enemel #slider-new {
  /* height: 100%; */
  width: 100%;
}

/* END VERTICAL SLIDER*/
/* PRODUCT DETAIL */

.product-description h2,
.product-faq h2.panel-title,
.modal-title {
  font-size: 21px;
  font-weight: 400;
  line-height: 27px;
  color: #434343;
}

.product-description h2 {
  margin-top: 24px;
  margin-bottom: 24px;
}

.product-description p,
.panel-body p,
.panel-body ul li {
  color: rgba(9, 9, 17, 0.50);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 0 25px;
}

.panel-body ul {
  list-style: disc;
  padding-left: 45px;
  margin-bottom: 10px;
}

.panel-body ul li {
  padding: 0;
}

.panel-body h5 {
  color: rgba(9, 9, 17, 0.50);
  font-size: 18px;
  font-weight: 600;
  line-height: 8px;
  padding: 0 25px;
}

.product-description ul {
  list-style-type: none;
  font-weight: 300;
  color: #545454;
  margin-bottom: 20px;
}

.product-description ul li:before {
  content: '\2022 ';
  font-size: small;
  padding-right: 4px;
}

.product-description ul li {
  padding-left: 0px;
}


.panel {
  margin-bottom: 24px;
  box-shadow: 0 1px 1px #e5e5e5;
}

.panel-faqs .panel-default>.panel-heading {
  border-bottom: 0;
}

.panel-heading {
  padding: 10px 0;
  font-weight: 700;
}

.panel-heading[aria-expanded=false] h4 {
  color: #434343;
}

.product-faq .panel-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 25px;
  color: #434343;
  margin: 0;
  padding-left: 25px;
}

.panel-body {
  padding: 0;
}

.panel-heading[aria-expanded=true] h4 {
  color: #434343;
}

.box-video .embed-container {
  height: 410px;
}

/* END NEW LAYOUT CONTENT */


/* NEW LAYOUT ASIDE QUOTE FORM */
.new-layout .new-form .name-1 input,
.new-layout .new-form .your-email input {
  width: 100%;
  max-width: 100%;
}

.new-layout .new-form textarea {
  resize: none;
  height: 50px;
}


.new-layout .upload .file input {
  width: 180px !important;
  position: absolute;
  top: 0;
  right: 0;
}

#sticky-form .focus-jfilestyle label span,
#formModal .focus-jfilestyle label span {
  border-radius: 0 !important;
}
/* END NEW LAYOUT ASIDE QUOTE FORM */




/* RESPONSIVE */
@media (max-width: 480px) {
  .image-counter {
    position: absolute;
    padding: 2px 8px;
    background: #E5E5E5;
    border-radius: 100px;
    z-index: 10;
    font-weight: 400;
    font-size: 13px;
    line-height: 21px;
    color: #888686;
  }

  .image-counter>span:first-child {
    display: inline-block;
    width: 14px;
    text-align: center;
  }

  .item-lead-time-b p,
  .item-shape-b p {
    font-size: 17px;
  }
}

@media (max-width: 767px) {

  .tags-list,
  #slider-prod-thumbs {
    display: none;
  }

  .title-h1 {
    font-size: 24px;
    line-height: 29px;
    margin-top: 4px;
  }


  .grecaptcha-badge {
    bottom: 80px !important;
  }

  .item-features {
    width: auto;
  }

  .product-faq .panel-title {
    font-size: 17px;
    line-height: 21px;
  }
}

/* END RESPONSIVE */



.video-thumbnail-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 128px;
}

.video-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
}

.video-container video {
  width: 450px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-thumbnail-wrapper {
    min-height: 60px;
  }

  .video-container video {
    width: 100%;
  }
    
  .video-thumbnail-wrapper svg {
    width: 30px;
    height: 30px;
  }
}

#thumbnail-slider.vertical-carousel {
  height: 520px !important; /* Fixed height for correct calculations */
  overflow: hidden;
}

#thumbnail-slider.vertical-carousel .slides li {
  height: 120px; /* Fixed height for all items */
  width: 120px;
  margin-bottom: 10px !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#thumbnail-slider.vertical-carousel .slides li img {
  max-width: 100%;
}

@media (max-width: 768px) {
  #thumbnail-slider.vertical-carousel {
    height: auto !important;
  }
  
  #thumbnail-slider .slides li {
    height: 48px !important;
    width: 48px !important;
    margin-right: 8px !important;
    margin-bottom: 0 !important;
  }
}

.vertical-carousel.flexslider .slides {
  height: auto;
}

.vertical-carousel.flexslider .slides li {
  display: block;
  float: none;
}
