/* OAP Grouped Parts Listing v1.1.1 */
:root { --oap-gp-blue-1: #0a5d8f; --oap-gp-blue-2: #0b8ec7; --oap-gp-accent: #f5a623; --oap-gp-offset: 20px; --oap-gp-rail-w: 132px; }
.oap-gp-hidden { display: none !important; }
.oap-gp { display: grid; grid-template-columns: var(--oap-gp-rail-w) minmax(0, 1fr); gap: 28px; align-items: start; }
.oap-gp-main { min-width: 0; grid-column: 2; }
.oap-gp-rail { grid-area: 1 / 1; }
.oap-gp-section { margin: 0 0 40px; }
.oap-gp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 18px; background: linear-gradient(90deg, var(--oap-gp-blue-1), var(--oap-gp-blue-2)); color: #fff; font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: .04em; border-left: 5px solid var(--oap-gp-accent); border-radius: 4px; scroll-margin-top: var(--oap-gp-offset); }
.oap-gp-head-count { font-size: 13px; font-weight: 500; letter-spacing: 0; opacity: .85; white-space: nowrap; }
.oap-gp-section ul.products { margin-bottom: 0; }
@media (min-width: 992px) {
  .oap-gp-section ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .oap-gp-section ul.products > li { width: auto !important; max-width: none !important; margin: 0 !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .oap-gp-section ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.oap-gp-section ul.products .product .post-inner { justify-content: flex-start !important; }
.oap-gp-section ul.products .product .post-inner > .post-image { margin-bottom: 0 !important; }
.oap-gp-section ul.products .product .post-title { min-height: 40px; }
.oap-gp-section ul.products .product .price-button-wrapp { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; min-height: 0 !important; }
.oap-gp-section ul.products .product .price-button-wrapp .price { flex: 1 1 auto; min-width: 0; margin: 0 !important; }
.oap-gp-section ul.products .product .price-button-wrapp .price,
.oap-gp-section ul.products .product .price-button-wrapp .price * { white-space: nowrap; }
.oap-gp-section ul.products .product .price-button-wrapp a.add_to_cart_button { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; height: 28px !important; margin: 0 !important; padding: 0 12px !important; }
.oap-gp-section ul.products .product .price-button-wrapp .added_to_cart { display: none !important; }
.oap-gp-section ul.products .product .price-button-wrapp .zero-price-notice { flex: 0 1 auto; min-width: 0; white-space: normal; text-align: right; line-height: 1.2; }
.oap-gp-empty { margin: 0; color: #666; }
.oap-gp-rail { position: sticky; top: var(--oap-gp-offset); max-height: calc(100vh - var(--oap-gp-offset) - 12px); overflow: hidden auto; background: linear-gradient(180deg, var(--oap-gp-blue-1), var(--oap-gp-blue-2)); border-right: 4px solid var(--oap-gp-accent); border-radius: 4px; scrollbar-width: thin; }
.oap-gp-nav-list { list-style: none; margin: 0; padding: 0; }
.oap-gp-rail .oap-gp-nav-item { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.oap-gp-rail .oap-gp-link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; color: #fff; text-decoration: none; transition: background .2s; }
.oap-gp-rail .oap-gp-label { display: block; font-size: 12px; line-height: 1.3; font-weight: 600; text-align: center; word-break: normal; overflow-wrap: anywhere; }
.oap-gp-rail .oap-gp-count { opacity: .85; font-weight: 500; }
.oap-gp-rail .oap-gp-img { width: 64px; height: 64px; object-fit: contain; background: #fff; border: 2px solid transparent; border-radius: 4px; padding: 3px; filter: brightness(.7) saturate(.6); transition: filter .2s, border-color .2s, box-shadow .2s; }
.oap-gp-rail .oap-gp-link:hover { background: rgba(255, 255, 255, .08); }
.oap-gp-rail .oap-gp-link:hover .oap-gp-img { filter: brightness(.9) saturate(.85); }
.oap-gp-rail .oap-gp-link.is-active { background: rgba(255, 255, 255, .18); }
.oap-gp-rail .oap-gp-link.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--oap-gp-accent); border-radius: 0 3px 3px 0; }
.oap-gp-rail .oap-gp-link.is-active .oap-gp-img { filter: none; border-color: var(--oap-gp-accent); box-shadow: 0 0 0 3px rgba(245, 166, 35, .35), 0 0 14px rgba(255, 255, 255, .55); }
.oap-gp-link.is-empty { opacity: .55; }
.oap-gp-bar-slot { display: none; }
@media (max-width: 991px) {
  .oap-gp { display: block; }
  .oap-gp-main { grid-column: auto; }
  .oap-gp-rail { display: none; }
  .oap-gp-bar-slot { display: block; margin: 0 0 16px; }
  .oap-gp-bar { background: #fff; border-bottom: 3px solid var(--oap-gp-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
  .oap-gp-bar.is-fixed { position: fixed; left: 0; right: 0; z-index: 90; }
  .oap-gp-bar .oap-gp-nav-list { display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; scroll-snap-type: x; scrollbar-width: none; }
  .oap-gp-bar .oap-gp-nav-list::-webkit-scrollbar { display: none; }
  .oap-gp-bar .oap-gp-nav-item { flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
  .oap-gp-bar .oap-gp-link { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 6px 4px; border: 2px solid transparent; border-radius: 6px; color: #222; text-decoration: none; text-align: center; transition: background .2s, border-color .2s; }
  .oap-gp-bar .oap-gp-img { width: 44px; height: 44px; object-fit: contain; filter: brightness(.8) saturate(.6); transition: filter .2s; }
  .oap-gp-bar .oap-gp-label { font-size: 11px; line-height: 1.25; font-weight: 600; }
  .oap-gp-bar .oap-gp-count { color: #777; font-weight: 500; }
  .oap-gp-bar .oap-gp-link.is-active { background: #eaf5fb; border-color: var(--oap-gp-blue-2); }
  .oap-gp-bar .oap-gp-link.is-active .oap-gp-img { filter: none; }
  .oap-gp-head { font-size: 15px; padding: 10px 14px; }
}
@media (max-width: 767px) {
  .oap-gp-section ul.products .product .price-button-wrapp { width: calc(40% - 20px) !important; max-width: calc(40% - 20px) !important; right: auto !important; gap: 4px !important; align-items: flex-end !important; }
  .oap-gp-section ul.products .product .price-button-wrapp .price { display: flex !important; flex: 0 1 auto !important; flex-direction: column !important; flex-wrap: nowrap !important; align-items: flex-start !important; gap: 0 !important; height: auto !important; max-height: none !important; overflow: visible !important; line-height: 1.15 !important; }
  .oap-gp-section ul.products .product .price-button-wrapp .price del { font-size: 11px !important; line-height: 1.2 !important; }
  .oap-gp-section ul.products .product .price-button-wrapp .price ins { font-size: 13px !important; line-height: 1.2 !important; }
  .oap-gp-section ul.products .product .price-button-wrapp a.add_to_cart_button { height: 24px !important; padding: 0 8px !important; font-size: 10px !important; }
  .oap-gp-section ul.products .product .price-button-wrapp a.add_to_cart_button::before { display: none !important; }
  .oap-gp-section ul.products .product .price-button-wrapp .zero-price-notice { font-size: 10px !important; }
}
@media (max-width: 359px) {
  .oap-gp-section ul.products .product .price-button-wrapp a.add_to_cart_button { padding: 0 6px !important; font-size: 9px !important; }
}
