/* product pdp */

.pdp {
  position: relative;
  overflow: hidden;
}

.pdp #pdp-related {
  --icon-left-color: #fff;
}

.pdp #pdp-related:not(:has(.product)) {
  display: none;
}

.pdp #product-header {
  position: relative;
  padding: 0 0 27px 0;
}

.pdp .breadcrumb {
  display: flex;
  align-items: center;
  gap: 3px;

  font-family: "Calibre";
  letter-spacing: 1px;
  font-size: 1rem;
  line-height: 1;
}

.pdp .breadcrumb .sep {
  font-size: 0.875rem;
}

.pdp .breadcrumb a {
  color: #000;
}

.pdp .product-single {
  display: grid;
  grid-template-columns: 2fr 1fr;
  justify-content: space-between;
  gap: 55px;
  margin-bottom: 89px;
  overflow-x: hidden;
}

.pdp .imgs-col {
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--content-bg);
}

.pdp .imgs-col .wp-block-sfdg-row-slider {
  --icon-color: #000;
  --icon-size: 50px;
  --icon-np-size: 50px;
  --icons-bgcolor: transparent;
  --icons-top: 50%;
  --icons-transform: translateY(-50%);
  --icon-prev-right-position: auto;
  --icon-prev-left-position: 0px;
  --icon-next-right-position: 0px;
  --icons-hover-opacity: 1;
  --icons-disabled-opacity: 0.2;
}

.psdp .wp-block-sfdg-row-slider .sfdg-row-slider__prev,
.psdp .wp-block-sfdg-row-slider .sfdg-row-slider__next {
  --sfdg-rowslider-hover-opacity: 0.5;
  --sfdg-rowslider-disabled-opacity: 0.1;
  top: 50%;
  background: none;
  width: 60px;
  height: 60px;
  transform: translateY(-50%) !important;
}

.psdp .wp-block-sfdg-row-slider .sfdg-row-slider__prev {
  left: 0;
}

.psdp .wp-block-sfdg-row-slider .sfdg-row-slider__next {
  right: 0;
}

.pdp .imgs-col .image {
  cursor:
    url("data:image/svg+xml,%3csvg id='Layer_2' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 40 40'%3e%3cdefs%3e%3cstyle%3e.cls-1%7bfill:rgba(255%2c255%2c255%2c.9)%3b%7d%3c/style%3e%3c/defs%3e%3cg id='Layer_1-2'%3e%3ccircle class='cls-1' cx='20' cy='20' r='20'/%3e%3cpolygon points='21 19 21 11 19 11 19 19 11 19 11 21 19 21 19 29 21 29 21 21 29 21 29 19 21 19'/%3e%3c/g%3e%3c/svg%3e")
      16 16,
    zoom-in;
}

.pdp .imgs-col .image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.pdp .imgs-col .image video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 17px 0;
}

.pdp .desc-col {
  position: relative;
  padding-top: 30px;
  height: 100%;
  max-height: 400px;
}

.pdp .descwrapper {
  padding: 0 var(--theme-content-padding) 0 0;
}

.pdp .desc-col .desc {
  color: #808080;
}

.pdp .desc-col .desc h4 {
  text-transform: uppercase;
  font-weight: normal;
  margin: 0 0 16px 0;
}

.pdp .desc-col .desc p {
  padding: 0;
  line-height: 1.35em;
  margin-bottom: 17px;
}

.pdp .desc-col .desc p.more-link {
  padding: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.pdp .desc-col .desc p.more-link:hover {
  color: #000;
}

.pdp .desc-col .desc p a {
  color: #000;
  text-decoration: none;
}
/* SM: Added new styles on link hover 03-01-23 */
.pdp .desc-col .desc p a:hover {
  color: #9f1f00;
  text-decoration: underline;
}

.pdp .title h5 {
  margin: 0 0 17px 0;
  padding: 0;
  text-wrap: balance;
}

.pdp .title h6 {
  margin: 0 0 17px 0;
  padding: 0;
  text-transform: uppercase;
  position: relative;
  color: #888;
}

.pdp .title h6 a {
  font-size: 1rem;
  color: #888;
  cursor: pointer;
}

.pdp .title h6 a:hover {
  color: #9f1f00;
}

.pdp .price-icons {
  margin: 0 0 17px 0;
}

.pdp .price {
  font-size: var(--font-size-17);
  padding: 0 17px 0 0;
  margin: 0;
  font-family: "Calibre";
  font-weight: 300;
  color: #000;
}

.pdp .prod-id {
  position: absolute;
  top: 27px;
  right: var(--wp--style--root--padding-right);
  z-index: 9;
  padding: 0.25rem 0.5em;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.1);
  color: #000;
  border-radius: 6px;
}

.pdp .price .strikeout {
  text-decoration: line-through;
  display: inline-block;
  line-height: 20px;
  padding-right: 8px;
}

.pdp .price .saleprice {
  color: #9f1f00;
  display: inline-block;
  line-height: 20px;
}

.pdp .sale-percentage {
  margin: 0;
  display: none;
}

.pdp .sale-percentage-warning {
  color: #9b4439;
  margin: 32px 0 0 0;
}

.pdp .tags {
  display: flex;
  margin-bottom: 27px;
}

.pdp .tags div {
  text-transform: uppercase;
  text-align: center;
  font-size: 0.75rem;
  padding: 0 32px 0 0;
  color: #808080;
}

.pdp .tags div span {
  display: block;
  font-size: 2rem;
  color: #9e999a;
  padding: 0 0 3px 0;
}

.pdp .tags div a span {
  color: #808080;
}

.pdp .tags div a:hover span {
  color: #000;
}

/* start add to cart section */
.pdp #add-to-cart {
  margin: 0 0 32px 0;
  max-width: 500px;
}

.add-to-cart-form {
  display: flex;
  flex-wrap: wrap;
}

.add-to-cart-form .section {
  width: 100%;
}

.add-to-cart-form p {
  margin: 0;
}

.add-to-cart-form .section.quantity:has(input[type="hidden"]) {
  display: none;
}

.add-to-cart-form .section.color:not(:has(.swatches)) {
  border: 1px solid red;
  display: none;
}

.add-to-cart-form .swatches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.add-to-cart-form .swatches a {
  display: block;
  padding: 3px;
  border: 1px solid transparent;
}

.add-to-cart-form .section .swatches a.active {
  border-color: #c3c3c3;
}

.add-to-cart-form .section .swatches img {
  width: 100%;
  height: auto;
  display: block;
}

.add-to-cart-form .select-sizing {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 16px;
}

.add-to-cart-form .select-sizing h6 {
  margin: 0;
  font-size: 1rem;
}

.add-to-cart-form .size-links {
  font-size: 1rem;
}

.sfdg-popup .size-links {
  display: none;
}

.add-to-cart-form .size-links a {
  font-family: "Calibre";
  color: #888;
}

.add-to-cart-form .section.quantity input[type="text"] {
  margin-right: 17px;
}

.size-buttons {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}

.size-buttons .size-buttons-label {
  border: 0;
  padding: 7px 0;
  font-family: "Calibre";
  letter-spacing: 1px;
  cursor: pointer;
}

.size-buttons button {
  border: 1px solid #ccc;
  background: transparent;
  padding: 7px 11px;
  border-radius: 6px;
  font-family: "Calibre";
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
}

.size-buttons button:hover {
  background: #f2eee8;
}

.size-buttons button.active {
  background: #000;
  color: #fff;
}

.size-buttons button:disabled {
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.size-buttons button:disabled:hover {
  background: transparent;
}

.size-buttons button:disabled::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 50%;
  width: 120%;
  height: 1px;
  background: #777;
  transform: rotate(-23deg);
  transform-origin: center;
  pointer-events: none;
}

.size-button-tooltip {
  background: #f2eee8;
  border: 1px solid #ccc;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: "Calibre";
  text-transform: uppercase;
  z-index: 544455 !important;
}

.my-select {
  display: none;
}

.add-to-cart .buttons {
  display: grid;
  grid-template-columns: auto;
  gap: 21px;
}

.logged-in .add-to-cart .buttons {
  grid-template-columns: 50px auto;
}

.sfdg-popup .add-to-cart .buttons {
  grid-template-columns: auto;
}

.add-to-cart-form .section.add-to-cart {
  width: 100%;
  margin-top: 17px;
}

.add-to-cart-form .section.add-to-cart button {
  font-family: "Calibre";
  position: relative;
  display: block;
  cursor: pointer;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 17px;
  padding: 16px;
  width: 100%;
  text-align: center;
  border-radius: 6px;
  --icon-color: #fff;
}

.add-to-cart-form .section.add-to-cart button.loading {
  background: #555;
}

.add-to-cart-form .section.add-to-cart button:hover {
  background: #555;
}

.add-to-cart-form .section.add-to-cart button .icon-loading {
  animation: rotation 2s infinite linear;
  position: absolute;
  left: 1.15em;
  margin-top: -0.05em;
}

.add-to-cart-form .section.add-to-cart button .icon-loading:before {
  position: relative;
  font-size: 1.3em;
}

.add-to-cart-form .section.add-to-cart button.wishlist {
  background: transparent;
  padding: 0;
  --icon-size: 40px;
  --icon-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.logged-in .add-to-cart-form .section.add-to-cart button.wishlist {
  display: flex;
}

.sfdg-popup .add-to-cart-form .section.add-to-cart button.wishlist {
  display: none;
}

.add-to-cart-form .section.add-to-cart button.wishlist.wishlist .in-a-list {
  --icon-color: #a34e3f;
  --icon-color: #000;
}

.add-to-cart-form .section.add-to-cart button.wishlist span {
  display: block;
}

.add-to-cart .error-message {
  margin: 0 0 16px 0;
  background: #9f1f00;
  color: #fff;
  padding: 0.5rem 17px;
  letter-spacing: 1px;
  font-family: "Calibre";
}

.add-to-cart .added-to-cart {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  --icon-size: 20px;
  --icon-color: #000;
  font-family: "Calibre";
}

.add-to-cart .added-to-cart a {
  margin-left: auto;
  color: #000;
  display: flex;
  gap: 6px;
  align-items: center;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.add-to-cart-form .section.add-to-cart .added {
  font-size: 1.13rem;
}
.add-to-cart-form .section.add-to-cart .added .txt {
  padding: 0 0 0 16px;
}

.pdp .add-to-cart-form .section p.no-size {
  text-transform: lowercase;
  font-size: 0.875em;
}

.pdp .add-to-cart-form .section p.no-size a {
  color: #808080;
  display: block;
  margin: 0 0 32px 0;
}

.pdp .add-to-cart-form .section p.no-size a:hover {
  color: #555;
}

.size-chart-table {
  display: block;
  width: 720px;
  background: var(--content-bg);
  margin: 0 auto;
  text-align: left;
  font-size: 20px;
  position: relative;
}

.size-chart-table h3 {
  color: #000;
  font-size: var(--font-size-27);

  margin: 0 0 17px 0;
  text-transform: uppercase;
}

.size-chart-table table {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  width: 100%;
  border-collapse: collapse;
}

.size-chart-table table th {
  font-weight: 750;
  font-family: "Calibre";
  padding: 0 0 0 0.5em;
}

.size-chart-table table td {
  font-size: 17px;
  text-align: center;
  padding: 0.5em 0.25em;
  text-transform: uppercase;
}

.size-chart-table table tr.us {
  background: #000;
  color: #fff;
}

.add-to-cart-form .lbl-left {
  display: inline-block;
  padding: 0.25rem 0 0.35rem 0;
  text-transform: uppercase;
  margin-right: 0.25rem;
  font-weight: 300;
}

.add-to-cart-form input[type="text"] {
  font-family: "Calibre";
  font-weight: 300;
  border: 1px solid #ddd;
  font-size: 17px;
  text-align: center;
  background-color: #fff;
  padding: 0.45rem 0;
  min-width: 35px;
}

/* end product pdp */

@media only screen and (min-width: 320px) and (max-width: 900px) {
  .pdp .descwrapper {
    padding: 0;
  }

  .pdp .title h1 {
    padding: 0 0 17px 0;
  }

  .pdp-misc {
    padding: 0 17px;
  }

  .size-button-tooltip {
    display: none !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 1210px) {
  .pdp .product-single {
    gap: 34px;
    margin-bottom: 55px;
  }

  main.pdp .product-single .imgs-col .wp-block-sfdg-row-slider {
    --sfdg-rowslider-bleed-fraction: 0.85 !important;
  }
}

@media only screen and (min-width: 320px) and (max-width: 900px) {
  .pdp #add-to-cart {
    max-width: 100%;
  }

  .pdp .imgs-col {
    position: relative !important;
  }

  .pdp .desc-col {
    height: unset;
    max-height: unset;
  }

  main.pdp .product-single .desc-col {
    padding: 0 var(--theme-content-padding);
  }

  .pdp .product-single {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: space-between;
    gap: 17px;
    margin-bottom: 34px;
  }

  .pdp-misc .other-prods .slick-prev,
  .pdp-misc .other-prods .slick-next {
    top: 28%;
  }

  .pdp-misc .other-prods .slick-next {
    right: 17px;
    width: 50px;
    text-align: right;
  }

  .pdp-misc .other-prods .slick-next:before {
    display: block;
  }

  .pdp-misc .other-prods .slick-prev {
    left: 17px;
    width: 50px;
    text-align: left;
  }

  .pdp-misc .other-prods .slick-prev:before {
    display: block;
  }

  .pdp .desc-col {
    padding-top: 0;
  }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  main.pdp .product-single .imgs-col .wp-block-sfdg-row-slider {
    --sfdg-rowslider-bleed-fraction: 0 !important;
  }

  .pdp #product-header .pnav {
    width: 100%;
    text-align: left;
    float: none;
    margin: 0 0 17px 0;
  }

  .pdp #product-header {
    margin: 0;
    display: none;
  }

  .pdp .imgs-col .slick-dots {
    position: absolute;
    bottom: 1.75rem;
    text-align: right;
    padding-right: 1.5rem;
    top: unset;
  }

  .pdp .descwrapper {
    padding: 0;
  }

  .pdp .desc-col {
    width: 100%;
    padding-top: 0.5rem;
  }

  .pdp .desc-col .title h1 {
    max-width: 100%;
  }

  .pdp #designer {
    display: none;
  }

  .pdp .tags div {
    font-size: 0.6em;
  }

  .pdp #add-to-cart {
    max-width: 100%;
  }

  .size-chart-table {
    width: 310px;
    padding: 0.1em 0.25em;
    font-size: 14px;
  }
}
