<!-- ✅ Title: Accessory Checkbox Styling (Same as Download Panel) -->

  .accessory-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
  }

  .accessory-checkbox:hover {
    border-color: #888;
  }

  .accessory-checkbox .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .accessory-checkbox.active {
    background-color: #c0392b; /* DUVA red */
    border-color: #c0392b;
  }

  .accessory-checkbox.active .checkmark {
    opacity: 1;
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
  }

<!-- ✅ End Accessory Checkbox Styling -->

<!-- === PDF Accessories Styling === -->

  .pdf-accessory-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 12px;
  }

  .pdf-accessory-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .pdf-accessory-title {
    font-weight: 600;
    font-size: 14px;
    color: #111;
  }

  .pdf-accessory-code {
    font-size: 13px;
    color: #c0392b;
    margin-top: 2px;
  }

  .pdf-accessory-desc {
    font-size: 12px;
    color: #444;
    margin-top: 4px;
  }

  .pdf-accessory-item > div {
    display: block;
  }

<!-- === End PDF Accessories Styling === -->

  /* === Download Checkbox Styling === */
  .download-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
  }

  /* === Hover Effect === */
  .download-checkbox:hover {
    border-color: #888;
  }

  /* === Checkmark Styling (Hidden by Default) === */
  .download-checkbox .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  /* === Active State Styling === */
  .download-checkbox.active {
    background-color: #c0392b; /* red on select */
    border-color: #c0392b;
  }

  .download-checkbox.active .checkmark {
    opacity: 1;
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
  }


  .thumbnail-image {
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.thumbnail-image:hover {
  border-color: #999;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08); /* subtle glow */
  transform: scale(1.02); /* gentle zoom */
}

.thumbnail-image.is-active {
  border-color: #c0392b;
  box-shadow: none;
  transform: none;
}

.thumbnail-image.is-active:hover {
  border-color: #c0392b; /* keep red even on hover */
  box-shadow: none; /* no glow on selected */
  transform: none; /* no scale on selected */


  /* === Thumbnail Image Styling === */
  .thumbnail-image {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  /* === Thumbnail Hover Effect === */
  .thumbnail-image:hover {
    border-color: #999;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08); /* subtle glow */
    transform: scale(1.02); /* gentle zoom */
  }

  /* === Active Thumbnail State === */
  .thumbnail-image.is-active {
    border-color: #c0392b;
    box-shadow: none;
    transform: none;
  }

  .thumbnail-image.is-active:hover {
    border-color: #c0392b; /* keep red even on hover */
    box-shadow: none;      /* no glow on selected */
    transform: none;       /* no scale on selected */
  }

  /* === Webflow Lightbox Close Button === */
  .w-lightbox-close {
    background-color: transparent !important;
    color: white !important;
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 20px;
    right: 20px;
  }

  /* === Webflow Lightbox Arrows === */
  .w-lightbox-left,
  .w-lightbox-right {
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .w-lightbox-left::before,
  .w-lightbox-right::before {
    color: white !important;
    font-size: 24px;
  }


  /* === Lightbox Image Size === */
  .w-lightbox-frame,
  .w-lightbox-img {
    width: 600px !important;
    height: 600px !important;
    object-fit: contain;
    margin: 0 auto;
  }

  /* === Lightbox Navigation Arrows Styling (Bottom, Bold, Red) === */
  .w-lightbox-left,
  .w-lightbox-right {
    bottom: 40px !important;
    top: auto !important;
    background-color: #C0392B !important;
    width: 48px;
    height: 48px;
    font-weight: bold;
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white !important;
  }

  .w-lightbox-left::before,
  .w-lightbox-right::before {
    color: white !important;
    font-size: 24px;
    font-weight: 700;
  }

  /* === Lightbox Close Button Styling (Square with Border) === */
  .w-lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white !important;
    border-radius: 0 !important; /* Square corners */
    color: white !important;
    font-size: 20px;
    font-weight: bold;
    z-index: 9999;
  }


  /* === Specs Grid Layout === */
  .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    align-items: start;
  }

  .specs-grid > .spec-row {
    align-self: start;
  }

  .spec-row {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    width: 100%;
    transition: all 0.3s ease;
  }

  /* === Dropdown Wrapper === */
  .dropdown-wrapper {
    position: relative;
    width: 100%;
  }

  /* === Dropdown Field (Top Section) === */
  .dropdown-field {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
  }

  .selected-value {
    font-size: 18px;
    font-weight: bold;
    color: #111;
  }

  /* === Dropdown Arrow Animation === */
  .dropdown-arrow {
    transition: transform 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
  }

  .dropdown-wrapper.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-wrapper.disabled .dropdown-arrow {
    display: none !important;
  }

  /* === Dropdown Options Menu === */
  .dropdown-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 100%;
    display: none;
    flex-direction: column;
    padding: 8px 0;
  }

  .dropdown-option {
    padding: 10px 12px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .dropdown-option:hover {
    background-color: #f0f0f0;
  }

  /* === Divider Line Below Dropdown === */
  .download-divider {
    margin-top: 4px;
    border-bottom: 1px solid #ddd;
    display: block;
  }



  /* === Download Checkbox Styling === */
  .download-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease;
  }

  .download-checkbox:hover {
    border-color: #888;
  }

  .download-checkbox .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 5px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: translate(-50%, -60%) rotate(-45deg) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .download-checkbox.active {
    background-color: #c0392b;
    border-color: #c0392b;
  }

  .download-checkbox.active .checkmark {
    opacity: 1;
    transform: translate(-50%, -60%) rotate(-45deg) scale(1);
  }

  /* === Thumbnail Image Styling === */
  .thumbnail-image {
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    transition: border 0.3s ease;
    cursor: pointer;
  }

  .thumbnail-image.is-active {
    border: 1px solid #c0392b;
  }

  /* === Webflow Lightbox Styling (Close Button + Arrows) === */
  .w-lightbox-close {
    background-color: transparent !important;
    color: white !important;
    width: 36px;
    height: 36px;
    font-size: 24px;
    top: 20px;
    right: 20px;
  }

  .w-lightbox-left,
  .w-lightbox-right {
    background-color: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .w-lightbox-left::before,
  .w-lightbox-right::before {
    color: white !important;
    font-size: 24px;
  }

  /* === Lightbox Frame Size + Enhanced Arrows === */
  .w-lightbox-frame,
  .w-lightbox-img {
    width: 600px !important;
    height: 600px !important;
    object-fit: contain;
    margin: 0 auto;
  }

  .w-lightbox-left,
  .w-lightbox-right {
    bottom: 40px !important;
    top: auto !important;
    background-color: #C0392B !important;
    width: 48px;
    height: 48px;
    font-weight: bold;
    border-radius: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white !important;
  }

  .w-lightbox-left::before,
  .w-lightbox-right::before {
    font-weight: 700;
  }

  .w-lightbox-close {
    width: 44px;
    height: 44px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white !important;
    border-radius: 0 !important;
    color: white !important;
    font-size: 20px;
    font-weight: bold;
    z-index: 9999;
  }

  /* === Specs Grid + Dropdown Styling === */
  .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    align-items: start;
  }

  .specs-grid > .spec-row {
    align-self: start;
  }

  .spec-row {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    width: 100%;
    transition: all 0.3s ease;
  }

  .dropdown-wrapper {
    position: relative;
    width: 100%;
  }

  .dropdown-field {
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
  }

  .selected-value {
    font-size: 18px;
    font-weight: bold;
    color: #111;
  }

  .dropdown-arrow {
    transition: transform 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
  }

  .dropdown-wrapper.open .dropdown-arrow {
    transform: rotate(180deg);
  }

  .dropdown-wrapper.disabled .dropdown-arrow {
    display: none !important;
  }

  .dropdown-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 100%;
    display: none;
    flex-direction: column;
    padding: 8px 0;
  }

  .dropdown-option {
    padding: 10px 12px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .dropdown-option:hover {
    background-color: #f0f0f0;
  }

  /* === Divider Below Dropdown === */
  .download-divider {
    margin-top: 4px;
    border-bottom: 1px solid #ddd;
    display: block;
  }

<!-- === Simple Thumbnail-to-Main Image Script (No Active Highlight) === -->

<!-- === Accessories Dropdown Styling (Final Clean Fix) === -->

  /* Collapsed State */
  .accessories-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  /* Open State */
  .accessories-section.open .accessories-wrapper {
    max-height: 1000px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    padding: 20px;
  }

  /* Arrow Rotation */
  .accessories-arrow {
    transition: transform 0.3s ease;
  }

  .accessories-arrow.rotated {
    transform: rotate(180deg);
  }
/* === Accessory Image Wrapper === */
.accessory-image {
  width: 72px;
  height: 72px;
  overflow: hidden; /* prevents zoom spill */
  border-radius: 6px;
}

/* === Accessory Image Container === */
.accessory-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

/* === Zoomed Image === */
.accessory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform-origin: center center;
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
}

<!-- === End Accessories Dropdown Styling === -->

  /* === Make sure .pdf-content is visible and printable === */
  .pdf-content {
    display: block !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    z-index: auto !important;
    background: white !important;
    color: black !important;
  }

  .pdf-content * {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }