/* JSI Single Product Designer 1.0 */
.single-product div.product .jsi-spd-gallery{float:left;width:48%;display:flex;gap:14px;align-items:flex-start;margin-bottom:30px;box-sizing:border-box}
.single-product div.product .summary.entry-summary{float:right;width:49%;box-sizing:border-box}
.jsi-spd-thumbs{width:82px;max-height:560px;overflow-y:auto;display:flex;flex-direction:column;gap:9px;flex-shrink:0;scrollbar-width:thin}
.jsi-spd-thumb{padding:4px!important;margin:0!important;width:74px;min-height:74px;background:#fff!important;border:1px solid #e4e8ed!important;border-radius:8px!important;cursor:pointer;flex-shrink:0}
.jsi-spd-thumb.is-active,.jsi-spd-thumb:hover{border-color:#f97316!important}
.jsi-spd-thumb img{width:100%;height:64px;object-fit:contain;display:block}
.jsi-spd-main{flex:1;min-width:0;position:relative;border:1px solid #e8edf2;border-radius:12px;overflow:hidden;background:#fff}
.jsi-spd-zoom{display:block;cursor:zoom-in}
.jsi-spd-main-image{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;display:block}
.jsi-spd-zoom-label{display:block;text-align:center;font-size:12px;color:#687484;padding:6px}
.jsi-spd-share{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 16px;font-size:13px}
.jsi-spd-share a,.jsi-spd-share button{color:#0b2b50!important;background:none!important;border:0!important;padding:0!important;font-size:13px;cursor:pointer;text-decoration:underline}
.jsi-spd-copy-status{font-size:12px;color:#16803b}
.jsi-spd-payment{clear:both;border:1px dashed #cbd5e1;border-radius:8px;padding:13px 16px;margin:16px 0;color:#0b2b50;background:#fafbfc}
.jsi-spd-payment p{font-size:13px;margin:4px 0 0;color:#687484}
.jsi-spd-shipping{color:#167c42;font-weight:600;font-size:14px;margin:15px 0 20px}
.jsi-spd-info h2,.jsi-spd-delivery h2{font-size:22px;color:#0b2b50;margin:18px 0 12px}
.jsi-spd-accordion{border-bottom:1px solid #e5e9ee}
.jsi-spd-accordion summary{cursor:pointer;list-style:none;padding:15px 24px 15px 0;font-size:15px;font-weight:600;color:#0b2b50;position:relative}
.jsi-spd-accordion summary::-webkit-details-marker{display:none}
.jsi-spd-accordion summary:after{content:'+';position:absolute;right:4px;top:11px;font-size:23px;font-weight:400;color:#f97316}
.jsi-spd-accordion[open] summary:after{content:'−'}
.jsi-spd-accordion-body{padding:0 8px 14px 0;font-size:14px;line-height:1.75;color:#425466}
.jsi-spd-delivery{clear:both;margin:32px 0 35px;padding-top:12px}
.single-product .related.products{clear:both}
@media(max-width:921px){.single-product div.product .jsi-spd-gallery,.single-product div.product .summary.entry-summary{float:none;width:100%}.jsi-spd-thumbs{width:70px;max-height:450px}.jsi-spd-thumb{width:65px;min-height:65px}.jsi-spd-thumb img{height:55px}}
@media(max-width:600px){.single-product div.product .jsi-spd-gallery{flex-direction:column-reverse;gap:10px}.jsi-spd-thumbs{width:100%;max-height:none;overflow-x:auto;overflow-y:hidden;flex-direction:row}.jsi-spd-thumb{width:65px;min-width:65px}.jsi-spd-main{width:100%}.jsi-spd-info h2,.jsi-spd-delivery h2{font-size:19px}}

/* v1.1: larger gallery, hidden scrollbars, vertical controls */
@media(min-width:922px){.single-product div.product .jsi-spd-gallery{width:calc(48% + 10px)}.single-product div.product .summary.entry-summary{width:calc(49% - 10px)}}
.jsi-spd-thumbs-wrap{width:88px;flex:0 0 88px;display:flex;flex-direction:column;gap:6px;align-items:center;min-width:0}
.jsi-spd-thumbs{width:100%;max-height:580px;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;align-items:center}
.jsi-spd-thumbs::-webkit-scrollbar{display:none}
.jsi-spd-scroll{width:76px;min-height:27px;padding:3px!important;line-height:1!important;background:#f5f7fa!important;color:#0b2b50!important;border:1px solid #dce2e9!important;border-radius:6px!important;cursor:pointer}
.jsi-spd-scroll:hover{background:#f97316!important;color:#fff!important}
.jsi-spd-share .jsi-spd-instagram{color:#c13584!important}
@media(max-width:921px){.jsi-spd-thumbs-wrap{width:76px;flex-basis:76px}.jsi-spd-thumbs{max-height:440px}.jsi-spd-scroll{width:65px}}
@media(max-width:600px){.jsi-spd-thumbs-wrap{width:100%;flex-basis:auto;flex-direction:row}.jsi-spd-thumbs{max-height:none;flex-direction:row;overflow-x:auto;overflow-y:hidden;justify-content:flex-start}.jsi-spd-scroll{width:28px;min-width:28px;min-height:60px}.jsi-spd-up{transform:rotate(-90deg)}.jsi-spd-down{transform:rotate(-90deg)}}

/* v1.1 mobile gallery layout correction: keep desktop layout untouched */
@media (max-width: 600px) {
  body.single-product div.product .jsi-spd-gallery {
    display:flex !important;
    flex-direction:column-reverse !important;
    gap:12px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    float:none !important;
    box-sizing:border-box !important;
    overflow:visible !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-main {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:0 1 auto !important;
    height:auto !important;
    box-sizing:border-box !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-main-image {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:420px !important;
    aspect-ratio:1/1;
    object-fit:contain !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-thumbs-wrap {
    display:grid !important;
    grid-template-columns:34px minmax(0,1fr) 34px !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:0 0 auto !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-thumbs {
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    max-height:none !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-behavior:smooth;
    scrollbar-width:none !important;
    box-sizing:border-box !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-thumb {
    flex:0 0 66px !important;
    width:66px !important;
    min-width:66px !important;
    min-height:66px !important;
    box-sizing:border-box !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-thumb img {
    width:100% !important;
    height:56px !important;
    object-fit:contain !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-scroll {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:static !important;
    transform:none !important;
    margin:0 !important;
    padding:0 !important;
    width:34px !important;
    min-width:34px !important;
    max-width:34px !important;
    height:44px !important;
    min-height:44px !important;
    box-sizing:border-box !important;
    z-index:1 !important;
    font-size:0 !important;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-scroll::before {
    content:'';
    display:block;
    width:8px;
    height:8px;
    border-top:2px solid currentColor;
    border-right:2px solid currentColor;
  }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-up::before { transform:rotate(-135deg);margin-left:4px; }
  body.single-product div.product .jsi-spd-gallery .jsi-spd-down::before { transform:rotate(45deg);margin-right:4px; }
}
