/* ===================================
   SELECT2 OVERRIDES
   =================================== */

.select2-container--default {
  background-color: white !important;
  color: black !important;
}

.select2-selection__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.67px !important;
  width: 13.33px !important;
  top: 17px !important;
  right: 9.33px !important;
}

.select2-dropdown {
  border: 1px solid #ddd !important;
  z-index: 1 !important;
}

.select2-container .select2-selection--single {
  box-sizing: content-box;
}

.select2-container--open {
  box-shadow: none !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
}

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px !important;
  }

.select2-container--default .select2-results__option ul {
  margin: 0;
  padding-left: 20px;
}

.select2-container--default .select2-results__option li {
  list-style-type: disc;
  margin-left: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-width: 0 !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 2px solid #000000 !important;
  border-bottom: 2px solid #000000 !important;
  transform: rotate(45deg) !important;
  position: static !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #808080;
}

/* ===================================
   PRODUCT OVERVIEW STYLES
   =================================== */

.product-essential .product-details-overview-grid .overview {
  border: 0px !important;
}

  .product-essential .product-details-overview-grid .overview h3 {
    background-color: white !important;
    color: #444444;
    font-size: 24px !important;
  }

.overview .product-first-qty-input,
.variant-overview .product-first-qty-input {
  width: 109px !important;
}

.product-first-overview .banner-text {
  margin: 20px 0;
}

.product-first-overview .banner-image {
  max-width: 100%;
  height: auto;
}

.product-first-overview .line-spacing {
  line-height: 1.6;
}

.most-popular-text {
  color: #36d07b;
}

.imgSquarDropdownOption .most-popular-text {
  font-size: 12px;
  padding-left: 5px;
}

.overview-buttons {
  margin-bottom: 20px !important;
}

.center-1 {
  margin-bottom: 0 !important;
}

/* ===================================
   LOADING PLACEHOLDERS
   =================================== */

.faux-text {
  background: #dddddd;
  border-radius: 4px;
  height: 20px;
  margin-bottom: 5px;
}

  .faux-text.short {
    width: 75%;
  }

.placeholder {
  max-width: 400px;
}

.shimmer {
  overflow: hidden;
  position: relative;
}

  .shimmer::before {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    width: 100%;
    z-index: 1;
    animation: shimmer 1s infinite;
  }

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ===================================
   ATTRIBUTES SKELETON LOADER
   =================================== */

:root {
  --bas-skeleton-loader-bg-color: #e5e7eb;
}

.attributes.bas-loading,
.attributes-container.bas-loading {
  overflow: hidden;
}

/* Override global .bas-loading spinner - we use skeleton instead */
.attributes.bas-loading::after,
.attributes-container.bas-loading::after {
  display: none;
}

/* Hide dl from layout flow entirely during loading */
.attributes.bas-loading dl,
.attributes-container.bas-loading dl {
  visibility: hidden;
  position: absolute;
  height: 0;
  overflow: hidden;
}

/* Show skeleton placeholder */
.attributes.bas-loading .attributes-skeleton,
.attributes-container.bas-loading .attributes-skeleton {
  display: block;
}

/* Skeleton placeholder - reserves space during loading */
.attributes-skeleton {
  display: none;
  border: none;
  box-shadow: none;
  outline: none;
}

.attributes-skeleton .skeleton-group {
  margin-bottom: 16px;
}

.attributes-skeleton .skeleton-label {
  margin-bottom: 8px;
  height: 28px;
  width: 70%;
  border-radius: 4px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.attributes-skeleton .skeleton-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Image squares style */
.attributes-skeleton .skeleton-options.skeleton-image-squares {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.attributes-skeleton .skeleton-options.skeleton-image-squares .skeleton-option {
  height: 112px;
  border-radius: 8px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Color squares style */
.attributes-skeleton .skeleton-options.skeleton-color-squares .skeleton-option {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Button/radio list style (Size, etc.) */
.attributes-skeleton .skeleton-options.skeleton-buttons {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.attributes-skeleton .skeleton-options.skeleton-buttons .skeleton-option {
  height: 40px;
  border-radius: 6px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

@media (min-width: 576px) {
  .attributes-skeleton .skeleton-options.skeleton-image-squares {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1001px) {
  .attributes-skeleton .skeleton-options.skeleton-image-squares {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .attributes-skeleton .skeleton-options.skeleton-image-squares {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   ATTRIBUTE ITEMS - BASE STYLES
   =================================== */

.pff-above-the-fold-container {
  gap: 16px;
}

.attribute-item {
  flex-direction: column;
  align-items: flex-start !important;
}

/* Override conflicting pff styles using higher specificity */
.pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap:16px;
}

  .pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked .attribute-item__label {
    position: static;
    left: auto;
    top: auto;
    pointer-events: auto;
    width: 100%;
    margin-bottom: 8px;
  }

  .pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked .attribute-item__dropdown {
    width: 100%;
  }

.attribute-item__label {
  margin-bottom: 8px;
  width: 100%;
}

  .attribute-item__label .text-prompt {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    display: inline-block;
    color: #000000;
    line-height: 28px;
  }

.text-prompt .text-prompt-base {
  font-weight: 700;
}

.text-prompt .text-prompt-selected {
  font-weight: 400;
  font-size: 16px
}

.attribute-item__dropdown {
  width: 100%;
}

  /* ===================================
   ORIENTATION RADIO LIST
   =================================== */

  .attribute-item__dropdown .orientation-switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
  }

.orientation-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.orientation-selection {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 8px;
  flex: 1 1 0;
  height: 52px;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orientation-radio:checked + .orientation-selection {
  border-color: #000000;
  gap: 8px;
  border-radius: 4px;
  border-width: 3px;
  padding: 10px;
}

  .orientation-radio:checked + .orientation-selection .orientation-icon {
    border-color: #ffffff;
  }

.orientation-selection:hover {
  border-color: #888888;
}

.orientation-radio:checked + .orientation-selection:hover {
  border-color: #000000;
}

.orientation-icon {
  box-sizing: border-box;
  width: 20px;
  height: 32px;
  border: 2.5px solid #CCCCCC;
  border-radius: 5px;
  transition: border-color 0.2s ease;
  display: none;
}

.orientation-radio:checked + .orientation-selection .orientation-icon {
  border-color: #000000;
}

.orientation-icon.horizontal {
  transform: rotate(90deg);
  display: block;
}

.orientation-icon.vertical {
  transform: rotate(0deg);
  display: block;
}

/* When 4 or more items, fix each at 25% width */
.orientation-switch:has(.orientation-selection:nth-of-type(4)) .orientation-selection {
  flex: 0 0 calc(25% - 6px);
  max-width: calc(25% - 6px);
}

.orientation-label {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  color: #333333;
  white-space: nowrap;
}

/* ===================================
   IMAGE SQUARES GRID
   =================================== */

.image-squares-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 680px;
}

.image-square-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.image-square-tile {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #FFFFFF;
  border-radius: 6px;
  background: #fff;
  min-width: 80px;
}

  .image-square-tile img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    display: block;
  }

.image-square-radio:checked + .image-square-tile {
  border: 3px solid #333333;
}

.image-square-tile:hover {
  border-color: #888888;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-square-radio:checked + .image-square-tile:hover {
  border-color: #000000;
}

.image-square-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #333333;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-wrap: auto;
  max-width: 100%;
  padding: 0 4px 4px;
}

/* ===================================
   PRICE & QUANTITY SECTION - ECP
   =================================== */

.price-section-ecp {
  margin-bottom: 20px;
}

.price-display-ecp {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.price-current-ecp {
  font-size: 24px;
  font-weight: 700;
  color: #E50085;
}

.price-ea-text {
  font-size: 20px;
  color: #333;
  font-weight: 700;
}

.price-old-ecp {
  font-size: 16px;
  color: #BFBEBE;
  text-decoration: line-through;
}

  .price-old-ecp::after {
    content: " each";
  }

.discount-badge-ecp {
  background: #20B4E7;
  color: white;
  padding: 4px 8px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
}

.qty-action-section-ecp {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 14px;
}

.discount-badge-ecp .discount-percentage::after {
  content: " off";
}

.qty-action-row-ecp {
  display: flex;
  gap: 8px;
  height: 48px;
}

.qty-input-wrapper-ecp {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  background: white;
}

.qty-label-ecp {
  display: flex;
  font-size: 14px;
  color: #757575;
  font-weight: 700;
  line-height: 20px;
}

.qty-input-ecp {
  width: 49px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
  height: 44px;
  font-family: 'Open Sans';
  color: #333333;
}

  .qty-input-ecp::-webkit-outer-spin-button,
  .qty-input-ecp::-webkit-inner-spin-button {
    opacity: 1;
    transition: opacity 0.2s;
  }

  .qty-input-ecp:hover::-webkit-outer-spin-button,
  .qty-input-ecp:hover::-webkit-inner-spin-button,
  .qty-input-ecp:focus::-webkit-outer-spin-button,
  .qty-input-ecp:focus::-webkit-inner-spin-button {
    opacity: 1;
  }

  .qty-input-ecp:focus {
    outline: none;
  }

.start-designing-btn-ecp {
  flex: 1;
  background: #E50085;
  border: 2px solid #E50085;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}

  .start-designing-btn-ecp:hover {
    background: #d00077;
  }

.shipping-disclaimer-ecp {
  font-size: 12px;
  color: #333;
  line-height: 16px;
  text-align: left;
}

.pff-above-the-fold-container .carousel-container .main-img-container {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .pff-above-the-fold-container .carousel-container .main-img-container .main-img, .pff-above-the-fold-container .carousel-container .main-img-container .main-video {
    min-height: 350px;
  }

  .image-square-tile {
    min-width: 60px;
    max-width: 102px;
  }

  .pff-above-the-fold-container .carousel-container {
    padding-bottom: 48px;
    border-bottom: 1px solid #e5e5e5;
  }

  .product-title-section .product-title {
    font-size: 30px;
  }
}

/* Product title section - shows above images on mobile/tablet */
.product-title-section {
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

  .product-title-section .product-title {
    margin: 0;
  }

.product-title {
  font-weight: 700;
}

/* Desktop title inside options-container - hidden on mobile */
.product-title-desktop {
  display: none;
}

/* Desktop: Hide mobile title, show desktop title */
@media (min-width: 1001px) {
  .product-title-section {
    display: none;
  }

  .product-title-desktop {
    display: block;
  }
}

/* ===================================
   PAGE LAYOUT - MOBILE FIRST
   =================================== */

.page-product-first-options .container.z-index-fix.container--designer.container--designs {
  max-width: 95% !important;
  padding-left: 15px;
  padding-right: 15px;
}

#main_container:has(.page-product-first-options) {
  max-width: 100% !important;
}

.product-details-page {
  max-width: unset !important;
  padding-top: 1em !important;
}

.product-details-page .page-body {
  margin-left: auto;
  margin-right: auto;
  max-width: 1700px;
}

/* ===================================
   TABLET BREAKPOINT (768px+)
   =================================== */

@media (min-width: 768px) {
  .pff-above-the-fold-container {
    max-width: 90%;
  }

  .page-product-first-options .container.z-index-fix.container--designer.container--designs {
    max-width: 100% !important;
  }

  .pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked .attribute-item__label {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .attribute-item__label {
    margin-bottom: 6px;
  }

  .attribute-item__dropdown {
    width: 100%;
  }

  .orientation-switch {
    max-width: 100%;
    flex-direction: column;
    height: auto;
    gap: 12px;
  }

  .orientation-selection {
    width: 100%;
    min-height: 52px;
  }

  .image-squares-grid {
    max-width: 100%;
    justify-content: flex-start;
  }

  .image-square-tile {
    min-width: 70px;
    max-width: 100px;
  }
}

/* Tablet range - 2 orientation items per row */
@media (min-width: 769px) and (max-width: 1000px) {
  .page-product-first-options .pff-above-the-fold-container {
    gap: 16px;
  }

  .pff-above-the-fold-container .carousel-container .main-img-container .main-img,
  .pff-above-the-fold-container .carousel-container .main-img-container .main-video {
    min-height: 500px;
  }

  .pff-above-the-fold-container .carousel-container .thumb-item-preview {
    width: 90px;
    height: 90px;
  }

  .pff-above-the-fold-container .carousel-container {
    padding-bottom: 35px;
    border-bottom: 1px solid #e5e5e5;
  }

  .orientation-selection {
    flex: 0 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
  }
}

/* ===================================
   DESKTOP BREAKPOINT (1001px+)
   =================================== */

@media (min-width: 1001px) {
  /* Override overflow-x:hidden on body and .master-wrapper-page so position:sticky works on carousel */
  .html-product-first-options body {
    overflow-x: clip;
  }

  .html-product-first-options .master-wrapper-page {
    overflow-x: clip;
  }

  /* Page layout - full width */
  .pff-above-the-fold-container {
    max-width: 100%;
    align-items: flex-start;
  }

    .pff-above-the-fold-container .carousel-container {
      position: sticky;
      top: 20px;
      overflow: hidden;
      margin-right: 15px;
      align-self: flex-start;
    }

      .pff-above-the-fold-container .carousel-container .thumb-item-preview {
        width: 90px;
        height: 90px;
      }

      .pff-above-the-fold-container .carousel-container .thumb-item {
        flex-shrink: 0;
      }

      .pff-above-the-fold-container .carousel-container .picture-thumbs {
        overflow: hidden;
        justify-content: flex-start;
      }

    .pff-above-the-fold-container .options-container .product-title {
      line-height: 2.75rem;
    }

    .pff-above-the-fold-container .reviews-rating {
      border-bottom: 1px solid #e5e5e5;
    }

  .product-details-page {
    padding-top: 2.5em !important;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 16px !important;
  }

  .attribute-item__label .text-prompt {
    font-size: 20px;
  }

  .text-prompt .text-prompt-selected {
    font-size: 18px
  }

  .page-product-first-options .carousel-container .main-img-wrapper-ecp {
    padding: 0px 20px;
  }

  .page-product-first-options .pff-above-the-fold-container .carousel-container .main-img-container {
    border-radius: 12px;
    overflow: hidden;
  }

  .pff-above-the-fold-container .carousel-container .main-img-container .main-img, .pff-above-the-fold-container .carousel-container .main-img-container .main-video {
    min-height: 600px;
  }

  /* Options container - scrollable */
  .page-product-first-options .pff-above-the-fold-container .options-container {
    overflow-y: auto;
    padding-right: 12px;
    /* hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
    /* hide scrollbar */
    .page-product-first-options .pff-above-the-fold-container .options-container::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }
}

/* Desktop - smaller screens */
@media (min-width: 1001px) and (max-width: 1200px) {
  .page-product-first-options .carousel-container .main-img-wrapper-ecp {
    padding: 12px 32px;
  }
}

/* ===================================
   LARGE DESKTOP (1200px+)
   =================================== */

@media (min-width: 1200px) {
  .page-product-first-options.page .container-xl.z-index-fix.container--designer,
  .page-product-first-options.page .container-lg.z-index-fix.container--designer,
  .page-product-first-options.page .container-md.z-index-fix.container--designer,
  .page-product-first-options.page .container-sm.z-index-fix.container--designer,
  .page-product-first-options.page .container.z-index-fix.container--designer.container--designs,
  .page-product-first-options .container-xl,
  .page-product-first-options .container-lg,
  .page-product-first-options .container-md,
  .page-product-first-options .container-sm,
  .page-product-first-options .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ===================================
   MOBILE BREAKPOINTS
   =================================== */

@media (max-width: 480px) {
  .pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked {
    margin-bottom: 24px;
    gap:8px;
  }

    .pff-above-the-fold-container .attributes-container .attribute-item.attribute-item--stacked .attribute-item__label {
      margin-bottom: 4px;
    }

  .attribute-item {
    margin-bottom: 24px;
  }

  .attribute-item__label {
    margin-bottom: 4px;
  }

  .orientation-switch {
    gap: 8px;
  }

  .orientation-selection {
    padding: 8px;
    gap: 6px;
  }

  .orientation-label {
    font-size: 14px;
    line-height: 28px;
  }

  .orientation-icon {
    width: 18px;
    height: 28px;
    border-width: 2px;
  }

  .image-squares-grid {
    gap: 6px;
  }

  .image-square-label {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .orientation-selection {
    min-height: 48px;
    padding: 6px;
  }

  .orientation-label {
    font-size: 13px;
  }

  .image-squares-grid {
    gap: 4px;
  }

  .image-square-tile {
    min-width: 50px;
    max-width: 90px;
  }

  .image-square-radio:checked + .image-square-tile {
    padding: 9px;
  }

  .image-square-label {
    font-size: 9px;
  }
}


/*styles form product tab manager plugin*/

#speedtabs {
  margin-top: 20px;
  border: none;
  background: #fff;
}

.fns-speedtabs .ui-tabs-nav {
  display: flex;
  border: none;
  background: #fff;
  border-bottom: 1px solid #d3d3d3;
}

  .fns-speedtabs .ui-tabs-nav li {
    font-size: 14px;
    flex: 1;
    font-family: "Open Sans";
    text-align: center;
    color: #a9a9a9;
    font-weight: bold;
    padding: 15px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color .3s;
    background-color: #fff;
    white-space: unset;
  }

.fns-speedtabs .ui-state-default a, .fns-speedtabs .ui-state-default a:link,
.fns-speedtabs .ui-state-default a:visited, .fns-speedtabs a.ui-button, .fns-speedtabs a:link.ui-button,
.fns-speedtabs a:visited.ui-button, .fns-speedtabs .ui-button {
  color: #a9a9a9;
}

.fns-speedtabs .ui-tabs-nav li a {
  border: none !important;
}

.fns-speedtabs .ui-tabs-nav li:hover {
  background-color: #ddd !important;
}


.fns-speedtabs .ui-tabs-anchor {
  font-size: 20px;
  padding: 15px;
}

@media (min-width: 901px) {
  .fns-speedtabs .ui-tabs-nav li,
  .fns-speedtabs .ui-tabs-nav li a {
    font-size: 20px !important;
    margin: 0px !important;
  }

  .pff-below-the-fold-container .section--summary__copy .copy-summary {
    font-size: 16px !important;
  }
}

.fns-speedtabs .ui-tabs-nav li a {
  padding: 15px !important;
  font-size: 14px;
}

.fns-speedtabs .ui-tabs-nav li.ui-state-active {
  background-color: #fff !important;
  color: #20B4E7;
  border-bottom: 4px solid #20B4E7 !important;
}

  .fns-speedtabs .ui-tabs-nav li.ui-state-active a {
    background-color: #fff !important;
    color: #20B4E7;
  }

.section-container .frequently-asked-questions .group .question .text {
  font-size: 24px !important;
}

.section-container {
  padding: 0px !important;
}

  .section-container .section {
    max-width: 100% !important;
  }

  .section-container .frequently-asked-questions .group .question .chevron {
    font-size: 42px !important;
  }

/* Fix mobile scroll lock when Select2 dropdown is open */
@media (max-width: 900px) {
  .master-wrapper-page {
    overflow-y: auto !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .section-container .frequently-asked-questions .group .question .text {
    font-size: 18px !important;
  }
}

.dpm-image-squares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  gap: 10px;
  box-sizing: border-box;
}

.dpm-image-square-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dpm-image-square-tile {
  position: relative;
  width: 180px;
  height: 213px;
  background: #fff;
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.15s ease;
}


  .dpm-image-square-tile:hover {
    border-color: #888;
  }

  .dpm-image-square-tile img {
    width: 160px;
    height: 160px;
    object-fit: cover;
  }

  .dpm-image-square-tile span {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    text-align: center;
  }

.dpm-image-square-radio:checked + .dpm-image-square-tile {
  border: 3px solid #333333;
  padding: 8px;
}

  .dpm-image-square-radio:checked + .dpm-image-square-tile::after {
    border: 3px solid #333;
    border-radius: 6px;
    pointer-events: none;
    
  }


@media (max-width: 480px) {
  .dpm-image-squares-grid {
    grid-template-columns: repeat(auto-fill, 170px);
  }
  .dpm-image-square-tile {
    width: 170px;
    height: 203px;
  }
  .dpm-image-square-tile img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 380px) {
  .dpm-image-squares-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .dpm-image-square-tile {
    width: 100%;
    height: auto;
    padding: 8px;
  }
  
    .dpm-image-square-tile img {
      width: 100%;
      aspect-ratio: 1 / 1;
      height: auto;
    }

    .dpm-image-square-tile span {
      font-size: 14px;
      margin-top: 8px;
    }
}

@media(min-width: 768px) {
  .skeleton-group-item {
    margin-bottom: 16px;
    flex-direction: row
  }

  .skeleton-group__label {
    width: 25%;
    margin-bottom: 0;
    margin-top: .8rem;
  }
}

.skeleton-group__label {
  position: relative;
  z-index: 1;
  text-align: left;
  pointer-events: auto;
  font-size: 12px
}

.skeleton-group-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.skeleton-kiited-option {
  height: 40px !important;
  width: 40px !important;
}

.skeleton-kitted-checkbox-options {
  flex-direction: column;
  display: flex;
  width: 72px;
  height: 64px;
  border-radius: 6px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}


.attributes-skeleton .skeleton-single-line {
  width: 100% !important;
  height: 43px;
  border-radius: 4px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-radio-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 8px;
  width: 100%;
  height: auto;
  flex-wrap: wrap;
}
.skeleton-radio-list-item {
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  height: 52px;
  flex: 1 1 0;
  display: flex;
  border-radius:4px;
  width: 100%;
}

.skeleton-radio-list:has(.skeleton-radio-list-item:nth-of-type(4)) .skeleton-radio-list-item {
  flex: 0 0 calc(25% - 6px);
  max-width: calc(25% - 6px);
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  height: 52px;
  border-radius: 4px;
}

.dpm-image-sqaure-skeleton-option {
  width: 180px;
  height: 213px;
  background-color: var(--bas-skeleton-loader-bg-color);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 4px;
}

@media (max-width: 480px) {
  .dpm-image-sqaure-skeleton-option {
    width: 170px !important;
    height: 203px !important;
  }
}
 
  .image-sqaure-skeleton-option {
    display: flex;
    flex-direction: column;
    min-width: 70px;
    max-width: 100px;
    background-color: var(--bas-skeleton-loader-bg-color);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    height: 94px;
    width: 94px;
    border-radius: 4px;
  }

  .attribute-item-skeleton-label {
    top: initial;
    left: initial;
    position: relative;
    width: 25%;
  }

  @media (max-width: 480px) {
    .dpm-image-sqaure-skeleton-option {
      width: 150px;
      height: 150px;
    }
  }

.carousel-container.is-sticky {
  position: fixed;
  top: 120px;
  z-index: 10;
}

.carousel-container.is-bottom {
  position: absolute;
  bottom: 0;
  top: auto;
}


/* ===================================
   THUMBNAIL OWL CAROUSEL NAV
   =================================== */

.picture-thumbnail-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 0 30px;
  box-sizing: border-box;
}

.picture-thumbnail-wrapper > .owl-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.picture-thumbnail-wrapper > .owl-nav button {
  pointer-events: auto;
  position: absolute;
  width: 27px;
  height: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.picture-thumbnail-wrapper > .owl-nav button img.carousel-arrow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.picture-thumbnail-wrapper > .owl-nav button:hover {
  background-color: rgba(224, 246, 255, 0.8);
  border-radius: 4px;
}

.picture-thumbnail-wrapper > .owl-nav button.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.picture-thumbnail-wrapper > .owl-nav .owl-prev {
  left: 0;
}

.picture-thumbnail-wrapper > .owl-nav .owl-next {
  right: 0;
}

.picture-thumbs-owl .owl-stage {
  display: flex !important;
  align-items: center;
}

.picture-thumbs-owl .owl-item {
  flex: 0 0 auto;
}

.picture-thumbnail-wrapper.few-items {
  padding: 0 30px;
}

.picture-thumbnail-wrapper.few-items > .owl-nav {
  left: 50%;
  right: auto;
  width: calc(var(--thumb-row-width, 0px) + 60px);
  transform: translateX(-50%);
}

.picture-thumbnail-wrapper.few-items .picture-thumbs-owl .owl-stage-outer {
  display: flex;
  justify-content: center;
}

.picture-thumbnail-wrapper.few-items .picture-thumbs-owl .owl-stage {
  justify-content: center;
}
