/* =========================
   Product Grid (for your markup)
   ========================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}

@media (max-width: 992px){
  .product-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px){
  .product-grid{ grid-template-columns:1fr; }
}

/* kill any legacy float/width rules */
.product-grid .item.item-thumbnail{
  width:auto !important;
  float:none !important;
  margin:0 !important;
}

/* Card */
.product-grid .item-thumbnail{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
  display:flex;
  flex-direction:column;
  height:100%;
  transition: transform .12s ease, box-shadow .12s ease;
}

.product-grid .item-thumbnail:hover{
  transform: translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

/* Image well (your <a class="item-image">) */
.product-grid a.item-image{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  height:420px;      /* was 320px */
  padding:20px;
  text-decoration:none;
  overflow:hidden;
}

.product-grid a.item-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  transition: transform .2s ease;
}

.product-grid .item-thumbnail:hover a.item-image img{
  transform: scale(1.05);
}

.product-grid a.item-image:focus-visible{
  outline:3px solid rgba(0,0,0,.25);
  outline-offset:2px;
}

/* discount badge (only exists in non-desk section) */
.product-grid .discount{
  position:absolute;
  top:10px;
  left:10px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(0,0,0,.75);
  color:#fff;
}

/* Info */
.product-grid .item-info{
  padding:16px 16px 18px;
  gap:12px;
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
}

.product-grid .item-title{
  margin:0;
  font-size:16px;
  line-height:1.3;
}
.product-grid .item-title a{
  text-decoration:none;
  color:inherit;
}

.product-grid .item-desc{
  font-size:13px;
  opacity:.8;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:4;
  min-height:5.2em;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.product-grid .item-price{ font-weight:800; }
.product-grid .item-discount-price{
  text-decoration:line-through;
  opacity:.6;
  font-size:13px;
}

/* Your headers */
.series-block{ margin:18px 0 28px; }
.series-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.series-header h5{ margin:0; font-size:16px; font-weight:600; }
.vendor-header{ margin:8px 0 16px; }
.vendor-name{ font-weight:700; font-size:18px; }

/* Tags used in grid + detail */
.item-image { position: relative; display:block; }
.product-tags{
  position:absolute;
  top:10px;
  right:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
  z-index:5;
  pointer-events:none;
}
.product-tag{
  font-weight:700;
  letter-spacing:.06em;
  padding:7px 10px;
  border-radius:999px;
  box-shadow:0 10px 22px rgba(0,0,0,.14);
}

.product-tag.bg-success{
  /* box-shadow: 0 0 0 3px rgba(25,135,84,.15), 0 10px 22px rgba(0,0,0,.14); */
}

.prod-card:hover .product-tag{
  transform: translateY(-2px);
  transition: 0.15s ease;
}


/* ============================
   PRODUCT DETAIL (merged/clean)
   ============================ */

.pd-wrap{
  margin-top:60px;
  margin-bottom:60px;
}

.pd-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

/* Left media area */
.pd-media{
  position:relative;
  background:#f8fafc;     /* subtle “image well” */
  padding:14px;
}

/* Zoom container */
.pd-zoom-wrap{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  cursor: zoom-in;
}

/* Hero image */
.pd-hero{
  width:100%;
  height:420px;
  object-fit:contain;
  display:block;
  transition: transform .12s ease;
  transform-origin:center center;
  will-change:transform;
}

/* hover zoom only for real mouse/trackpad devices */
@media (hover:hover) and (pointer:fine){
  .pd-zoom-wrap:hover .pd-hero{
    transform: scale(1.8);
  }
}

.pd-zoom-wrap.zoomed{ cursor: zoom-out; }

/* thumbs row */
.pd-thumbs{
  padding:12px;
  display:flex;
  gap:10px;
  overflow:auto;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.06);
}

.pd-thumb{
  border:1px solid rgba(0,0,0,.10);
  border-radius:12px;
  background:#fff;
  padding:6px;
  cursor:pointer;
  flex:0 0 auto;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.pd-thumb:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,.08);
}

.pd-thumb img{
  width:74px;
  height:56px;
  object-fit:contain;
  display:block;
}

.pd-thumb.active{
  border-color:#0d6efd;
  box-shadow:0 10px 20px rgba(13,110,253,.18);
}

/* tags inside detail media (reuse same tag styles, just position) */
.pd-media .product-tags{
  top:14px;
  right:14px;
}

/* Right-side info (optional helper class if you want it) */
.pd-info{ padding:18px; }

.pd-title{
  font-weight:800;
  letter-spacing:-.02em;
  margin:0 0 10px;
  line-height:1.15;
}

.pd-short{
  color:#333;
  font-size:1.05rem;
  margin-bottom:14px;
}

.pd-msrp{
  display:block;
  font-size:14px;
  color:#777;
  text-decoration:line-through;
  margin-bottom:0px;
}

.pd-price{
  display:block;
  font-size:1.6rem;
  font-weight:850;
  color:#111;
}

/* CTA buttons area */
.pd-actions .btn{ width:100%; }

.pd-meta{
  color:#666;
  font-size:.92rem;
  margin-bottom:10px;
}

/* Responsive tweaks */
@media (max-width: 991px){
  .pd-hero{ height:320px; }
}

@media (max-width: 575px){
  .pd-hero{ height:280px; }
  .pd-thumb img{ width:64px; height:48px; }
}

.pd-hl-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:14px 14px 10px;
  background:#fff;
}

.pd-hl-title{
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#1b2a4e; /* Voigo deep blue vibe */
  margin-bottom:10px;
}

.pd-hl-table{
  width:100%;
  border-collapse:collapse;
}

.pd-hl-table tr{
  border-bottom:1px solid rgba(0,0,0,.06);
}

.pd-hl-table tr:last-child{
  border-bottom:none;
}

.pd-hl-bullet{
  width:18px;
  padding:8px 6px 8px 0;
  font-weight:900;
  color:#1b2a4e;
  vertical-align:top;
}

.pd-hl-text{
  padding:8px 0;
  font-size:14px;
  color:#222;
  line-height:1.25;
}

.pd-perks{
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}

.pd-perks-head{ margin-bottom: 14px; }
.pd-perks-q{
  font-size: 13px;
  font-weight: 800;
  color: #555;
  margin-bottom: 6px;
}

.pd-perks-line{
  display:flex;
  align-items:baseline;
  gap:16px;
  flex-wrap:wrap;
}

.pd-perks-phone{
  font-size: 22px;
  font-weight: 850;
  color: #111;
  text-decoration:none;
}

.pd-perks-expert{
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  color: #0d6efd;
}
.pd-perks-expert:hover{ text-decoration: underline; }
.pd-perks-arrow{ font-size: 18px; vertical-align: -2px; }

.pd-perks-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.pd-perk{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items:start;
}

.pd-perk-ico{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.18);
  display:grid;
  place-items:center;
  color:#6b7280;
  background:#fff;
}

.pd-perk-title{
  font-size: 13px;
  font-weight: 850;
  color:#111;
  margin-top:2px;
  margin-bottom:3px;
}

.pd-perk-desc{
  font-size: 13px;
  color:#555;
  line-height:1.25;
}

@media (max-width: 991px){
  .pd-perks-grid{ grid-template-columns: 1fr; }
}

/* Breadcrumb / Back Bar */

.pd-breadcrumb-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px;
  font-size:13px;
  color:#666;
}

.pd-breadcrumb-left{}

.pd-back-btn{
  text-decoration:none;
  font-weight:600;
  color:#0d6efd;
}

.pd-back-btn:hover{
  text-decoration:underline;
}

.pd-breadcrumb-right{
  display:flex;
  gap:6px;
  align-items:center;
}

.pd-breadcrumb-right a{
  text-decoration:none;
  color:#666;
}

.pd-breadcrumb-right a:hover{
  text-decoration:underline;
  color:#000;
}

.pd-current{
  color:#111;
  font-weight:600;
}

/* Mobile stack */
@media (max-width: 768px){
  .pd-breadcrumb-wrap{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}

/* ---- Product Tabs ---- */
.pd-tabpanel { display:none; }
.pd-tabpanel.is-active { display:block; }

.pd-tabs { margin-top: 18px; }
.pd-tablist {
  display: flex; flex-wrap: wrap; gap: 8px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
}
.pd-tabbtn{
  appearance:none; border:1px solid #e5e5e5;
  background:#fff; color:#111;
  padding:8px 12px; border-radius: 10px;
  font-size: 13px; cursor:pointer;
}
.pd-tabbtn:hover { border-color:#cfcfcf; }
.pd-tabbtn[aria-selected="true"]{
  border-color:#111;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  font-weight: 600;
}
.pd-tabpanel{
  display:none;
  padding: 14px 2px 2px 2px;
}
.pd-tabpanel.is-active{ display:block; }

.pd-block-title{
  font-size: 16px;
  margin: 0 0 10px 0;
}
.pd-bullets{ margin: 0; padding-left: 18px; }
.pd-bullets li{ margin: 6px 0; }

.pd-downloads a{ display:inline-block; margin: 6px 10px 0 0; }

.pd-related-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 980px){
  .pd-related-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px){
  .pd-related-grid{ grid-template-columns: 1fr; }
}

.pd-related-card{
  border:1px solid #e6e6e6;
  border-radius: 12px;
  background:#fff;
  padding: 10px;
}
.pd-related-card img{
  width:100%; height:auto; display:block;
  border-radius: 10px;
  border:1px solid #f0f0f0;
}
.pd-related-name{ margin: 10px 0 6px 0; font-size: 13px; font-weight: 600; }
.pd-related-price{ font-size: 13px; }

.pd-associated-section {
    margin-top: 40px;
}

.pd-associated-header {
    margin-bottom: 18px;
}

.pd-associated-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.pd-associated-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pd-associated-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.pd-associated-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: #d8dde6;
}

.pd-associated-imagewrap {
    background: #f8f9fb;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.pd-associated-image {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.pd-associated-body {
    padding: 14px 14px 16px;
}

.pd-associated-category {
    font-size: 12px;
    line-height: 1.3;
    color: #6b7280;
    margin-bottom: 6px;
}

.pd-associated-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    margin-bottom: 10px;
}

.pd-associated-msrp {
    font-size: 13px;
    color: #98a2b3;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.pd-associated-price {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

/* Bigger product cards */
.product-grid .item-thumbnail{
    min-height: 200px;
}

/* Larger image container */
.product-grid .item-thumbnail .item-image{
    height: 200px;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Make image scale nicely */
.product-grid .item-thumbnail .item-image img{
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .pd-associated-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pd-associated-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-associated-title {
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    .pd-associated-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px){
  .product-grid a.item-image{
    height:360px;
  }
}

@media (max-width: 768px){
  .product-grid a.item-image{
    height:300px;
    padding:16px;
  }
}

.pd-docs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pd-doc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e9ecef;
}

.pd-doc-row:last-child {
    border-bottom: 0;
}

.pd-doc-main {
    flex: 1 1 auto;
    min-width: 0;
}

.pd-doc-title {
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.4;
}

.pd-doc-title a {
    text-decoration: none;
}

.pd-doc-title a:hover {
    text-decoration: underline;
}

.pd-doc-meta {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
}

.pd-doc-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #343a40;
}

.pd-doc-action {
    flex: 0 0 auto;
}

.pd-doc-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    background: #e7f1ff;
    color: #0d6efd;
}

.pd-docs-empty {
    padding: 8px 0;
}

.doc-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    border: 1px solid #666;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.doc-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.doc-inline-fields {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}

.doc-inline-field {
    min-width: 74px;
}

.doc-inline-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.doc-inline-visible {
    min-width: 70px;
    text-align: center;
}

.doc-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group > label:first-child {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #1d1d1d;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.category-check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filter-check.category-check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #6f6f6f;
    transition: color 0.2s ease;
}

.filter-check.category-check:hover {
    color: #2b8eff;
}

.filter-check.category-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #2b8eff; /* Voigo blue */
    cursor: pointer;
    flex-shrink: 0;
}

.filter-check.category-check span,
.filter-check.category-check strong {
    line-height: 1.3;
}

.category-all {
    margin-bottom: 18px !important;
    padding-bottom: 18px;
    border-bottom: 1px solid #d9d9d9;
}

@media (max-width: 767px) {
    .store-mobile-hide {
        display: none;
    }

    .store-sidebar {
        margin-bottom: 20px;
    }

    .store-sidebar-title {
        display: none;
    }
}

.pd-related-mobile {
    display: none;
}

@media (max-width: 767px) {
    .pd-product-layout {
        display: flex;
        flex-direction: column;
    }

    .pd-left-col,
    .pd-right-col {
        display: contents;
    }

    .pd-hero-block {
        order: 1;
    }

    .pd-info-block {
        order: 2;
    }

    .pd-tabs-block {
        order: 3;
    }

    .pd-accessories-block {
        order: 4;
    }

    .pd-related-mobile {
        display: block;
        order: 5;
        margin-top: 28px;
    }

    .pd-related-desktop {
        display: none;
    }

    .pd-associated-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pd-associated-card {
        width: 100%;
    }

    .pd-associated-imagewrap {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .pd-info-block {
        margin-top: 0 !important;
    }

    .pd-tabs-block {
        margin-top: 20px;
    }

    .pd-associated-title {
        font-size: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}