.directory-product-image {
  position:relative;
  background:#fff!important;
}

.boerda-3d-view-mark {
  position:absolute;
  z-index:2;
  bottom:14px;
  right:14px;
  width:132px!important;
  max-width:44%!important;
  height:auto!important;
  object-fit:contain;
  filter:drop-shadow(0 5px 10px rgba(5,55,103,.16));
  pointer-events:none;
}
.boerda-3d-card { box-shadow:0 13px 36px rgba(10,74,132,.09); }
.boerda-3d-card .directory-product-image { background:#fff!important; }
.boerda-details-link {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #bfd8fb!important;
  color:#0872e5!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(12,104,198,.04);
  transform:translateY(0);
  transition:transform .2s ease;
}
.boerda-details-link span { display:inline-block; font-size:17px; line-height:1; transition:transform .2s ease; }
.boerda-details-link:hover {
  border-color:#0b75d3!important;
  color:#fff!important;
  background:#0b75d3!important;
  box-shadow:0 10px 22px rgba(11,117,211,.2);
  transform:translateY(-2px);
}
.boerda-details-link:hover span { transform:translateX(4px); }
.boerda-details-link:active { box-shadow:0 4px 10px rgba(11,117,211,.14); transform:translateY(0) scale(.98); }
.boerda-details-link:focus-visible { outline:3px solid rgba(35,135,233,.24); outline-offset:3px; }
.boerda-quote-link {
  transform:translateY(0);
  transition:transform .2s ease!important;
}
.boerda-quote-link:hover {
  filter:brightness(1.06);
  box-shadow:0 11px 24px rgba(11,117,211,.25)!important;
  transform:translateY(-2px);
}
.boerda-quote-link:active { filter:brightness(.98); box-shadow:0 4px 10px rgba(11,117,211,.16)!important; transform:translateY(0) scale(.98); }
.boerda-quote-link:focus-visible { outline:3px solid rgba(35,135,233,.24); outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
  .boerda-details-link,.boerda-details-link span,.boerda-quote-link { transition:none!important; }
  .boerda-details-link:hover,.boerda-details-link:active,.boerda-quote-link:hover,.boerda-quote-link:active { transform:none; }
}

.product-detail-gallery[data-boerda3d-ready='true'] {
  position:relative;
  overflow:hidden;
  border:1px solid #d8e4ed;
  background:#f8fbfd;
  box-shadow:0 18px 44px rgba(20,68,108,.09);
}

.boerda-media-switch {
  min-height:58px;
  display:flex;
  align-items:center;
  gap:5px;
  padding:9px 11px;
  border-bottom:1px solid #dce7ef;
  background:#fff;
}

.boerda-media-switch button {
  height:38px;
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 14px;
  border:1px solid transparent;
  border-radius:8px;
  color:#587086;
  background:transparent;
  cursor:pointer;
  font:inherit;
  font-size:11px;
  font-weight:850;
}

.boerda-media-switch button:hover { color:#0868bc; background:#f0f7fd; }
.boerda-media-switch button.active { border-color:#b9d9f2; color:#056bc3; background:#eaf5ff; }
.boerda-cube-icon { width:26px; height:26px; display:grid; place-items:center; border-radius:7px; color:#fff; background:#0877d5; font-size:9px; font-weight:900; }
.boerda-cad-status { display:flex; align-items:center; gap:6px; margin-left:auto; color:#0c795f; font-size:9px; font-weight:850; text-transform:uppercase; }
.boerda-cad-status i,.boerda-detail-3d-chip i { width:8px; height:8px; border-radius:50%; background:#11aa78; box-shadow:0 0 0 4px rgba(17,170,120,.11); }

.boerda-3d-stage {
  position:relative;
  height:552px;
  overflow:hidden;
  background:radial-gradient(circle at 50% 42%,#fff,#eef4f8 58%,#dce6ed);
}

.boerda-3d-stage iframe { position:absolute; z-index:2; inset:0; width:100%; height:100%; display:block; border:0; background:transparent; }
.boerda-3d-poster { position:absolute; z-index:1; inset:0; display:grid; place-items:center; overflow:hidden; transition:opacity .2s ease; }
.boerda-3d-poster::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(247,251,254,.05),rgba(221,234,244,.56)); pointer-events:none; }
.boerda-3d-poster-media { position:absolute; inset:0; display:grid; place-items:center; }
.boerda-3d-poster-media picture { display:contents; }
.boerda-3d-poster-media img { width:100%; height:100%; box-sizing:border-box; object-fit:contain; padding:38px; filter:saturate(.92) contrast(.98); }
.boerda-3d-load-button { position:relative; z-index:2; display:flex; align-items:center; gap:12px; max-width:330px; min-height:66px; padding:12px 18px; border:1px solid rgba(139,190,229,.82); border-radius:12px; color:#114c7c; background:rgba(255,255,255,.94); box-shadow:0 14px 36px rgba(18,77,123,.18); cursor:pointer; text-align:left; transition:transform .18s ease,box-shadow .18s ease; }
.boerda-3d-load-button:hover { transform:translateY(-2px); box-shadow:0 18px 42px rgba(18,77,123,.23); }
.boerda-3d-load-button:focus-visible { outline:3px solid rgba(8,119,213,.3); outline-offset:3px; }
.boerda-3d-load-button > span:last-child { display:grid; gap:3px; }
.boerda-3d-load-button b { font-size:13px; }
.boerda-3d-load-button small { color:#647d91; font-size:9px; line-height:1.35; }
.boerda-3d-load-button:disabled { cursor:wait; opacity:.72; }
.boerda-3d-loading { position:absolute; z-index:3; inset:0; display:none; place-content:center; justify-items:center; gap:12px; color:#3c5c75; background:rgba(239,246,251,.74); font-size:11px; pointer-events:none; }
.boerda-3d-loading span { width:32px; height:32px; border:3px solid #d3e1eb; border-top-color:#0b76d2; border-radius:50%; animation:boerda-spin .8s linear infinite; }
.boerda-3d-stage.loading .boerda-3d-loading { display:grid; }
.boerda-3d-stage.loading .boerda-3d-poster { opacity:.4; pointer-events:none; }
.boerda-3d-stage.loaded .boerda-3d-loading,
.boerda-3d-stage.loaded .boerda-3d-poster { display:none; }
.boerda-3d-help { display:none; }
.boerda-3d-help span { padding:5px 7px; border:1px solid rgba(197,215,228,.8); border-radius:6px; color:#60788b; background:rgba(255,255,255,.82); font-size:7px; font-weight:750; backdrop-filter:blur(7px); }

.boerda-3d-mode > .product-main-image,
.boerda-3d-mode > .product-variant-thumb-strip,
.boerda-3d-mode > .product-thumb-strip,
.boerda-3d-mode > .product-video-card { display:none!important; }
.boerda-photo-mode > .boerda-3d-stage { display:none!important; }

.boerda-detail-3d-chip {
  width:max-content;
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:7px 10px;
  border:1px solid #c5dfef;
  border-radius:999px;
  color:#0870c5;
  background:#f0f8fe;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
}

.boerda-finish-selector {
  margin:20px 0 22px;
  padding:13px;
  border:1px solid #d7e4ee;
  border-radius:10px;
  background:#f8fbfd;
}

.boerda-finish-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom:10px; }
.boerda-finish-heading span small,.boerda-finish-heading span b { display:block; }
.boerda-finish-heading span small { margin-bottom:3px; color:#315f84; font-size:7px; font-weight:850; letter-spacing:1.2px; }
.boerda-finish-heading span b { color:#123e63; font-size:12px; }
.boerda-finish-heading em { color:#7c91a3; font-size:8px; font-style:normal; }
.boerda-finish-note { margin:8px 0 0; color:#506779; font-size:10px; line-height:1.45; }
.boerda-finish-options { display:grid; grid-template-columns:1fr 1fr; gap:8px; }

.boerda-finish-options button {
  position:relative;
  min-width:0;
  min-height:52px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 18px;
  align-items:center;
  gap:8px;
  padding:8px 9px;
  border:1px solid #d3e1eb;
  border-radius:8px;
  color:#315671;
  background:#fff;
  cursor:pointer;
  font:inherit;
  text-align:left;
  transition:transform .18s ease;
}

.boerda-finish-options button:hover { border-color:#8fc4eb; background:#f6fbff; }
.boerda-finish-options button.active { border-color:#0877d5; background:#eef7ff; box-shadow:0 0 0 1px #0877d5; }
.boerda-finish-options button > i { width:18px; height:18px; border:1px solid rgba(87,106,121,.2); border-radius:50%; box-shadow:inset 0 1px 1px rgba(255,255,255,.9),0 2px 5px rgba(35,65,90,.12); }
.boerda-finish-silver { background:linear-gradient(135deg,#8b949c 0%,#fff 48%,#aab2b8 100%); }
.boerda-finish-gold { background:linear-gradient(135deg,#a96900 0%,#ffd86a 48%,#b87505 100%); }
.boerda-finish-copper { background:linear-gradient(135deg,#8f3f1f 0%,#efad77 48%,#a94f29 100%); }
.boerda-finish-brass { background:linear-gradient(135deg,#9a6508 0%,#efd06b 48%,#b27a10 100%); }
.boerda-finish-options button span { min-width:0; }
.boerda-finish-options button span b,.boerda-finish-options button span small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.boerda-finish-options button span b { color:#173f60; font-size:10px; }
.boerda-finish-options button span small { margin-top:3px; color:#506779; font-size:7px; }
.boerda-finish-options button > strong { color:#0877d5; font-size:12px; opacity:0; text-align:center; }
.boerda-finish-options button.active > strong { opacity:1; }

@keyframes boerda-spin { to { transform:rotate(360deg); } }

@media (max-width:900px) {
  .boerda-3d-stage { height:460px; }
}

@media (max-width:600px) {
  .boerda-media-switch { min-height:52px; padding:7px; }
  .boerda-media-switch button { height:36px; padding:0 10px; font-size:9px; }
  .boerda-media-switch button:nth-of-type(2) { padding:0 8px; }
  .boerda-cube-icon { width:23px; height:23px; }
  .boerda-cad-status { display:none; }
  .boerda-detail-3d-chip {
    width:fit-content;
    max-width:calc(100vw - 64px);
    box-sizing:border-box;
    border-radius:14px;
    font-size:8px;
    line-height:1.4;
    letter-spacing:.65px;
    white-space:normal;
  }
  .boerda-detail-3d-chip i { flex:0 0 auto; }
  .boerda-3d-stage { height:360px; }
  .boerda-3d-poster-media img { padding:24px; }
  .boerda-3d-load-button { width:calc(100% - 44px); max-width:300px; min-height:60px; padding:10px 13px; }
  .boerda-3d-load-button b { font-size:11px; }
  .boerda-3d-load-button small { font-size:8px; }
  .boerda-3d-help { display:none; }
  .boerda-3d-view-mark { right:10px; bottom:10px; width:120px!important; max-width:46%!important; height:auto!important; }
  .boerda-finish-selector {
    width:calc(100vw - 96px);
    max-width:280px;
    margin:16px 0 18px;
    padding:10px;
    box-sizing:border-box;
  }
  .boerda-finish-heading em { display:none; }
  .boerda-finish-options { grid-template-columns:1fr; gap:7px; }
  .boerda-finish-options button { grid-template-columns:18px minmax(0,1fr) 14px; gap:6px; min-height:48px; padding:7px; }
  .boerda-finish-options button > i { width:16px; height:16px; }
  .boerda-finish-options button span b { font-size:9px; }
}
