/* Desktop product summary; all checkout controls remain the original controls. */
.gstore-desktop-summary-v10{display:none}
@media (min-width:1101px), (min-width:901px) and (orientation:landscape){
  body.gstore-desktop-summary-ready-v10 .gstore-product-layout-v8{
    grid-template-areas:"detail buy"!important;
    grid-template-rows:auto!important;
  }
  body.gstore-desktop-summary-ready-v10 .gstore-product-layout-v8::before{grid-row:1!important}
  body.gstore-desktop-summary-ready-v10 .gstore-product-desktop-title-v8,
  body.gstore-desktop-summary-ready-v10 .gstore-product-buy-heading-v8{display:none!important}
  body.gstore-desktop-summary-ready-v10 .gstore-product-desktop-breadcrumb-v8{margin:clamp(16px,calc(100dvh - 584px),40px) 0 10px!important}
  body.gstore-desktop-summary-ready-v10 .gstore-product-layout-v8 > .section{padding-top:16px!important}
  body.gstore-desktop-summary-ready-v10 #buybox{
    top:var(--gstore-desktop-top-v10,84px)!important;
    padding:10px 12px!important;
    align-self:start!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-desktop-summary-v10{
    display:flex!important;align-items:center;gap:12px;margin:0 0 8px;padding:0 0 8px;
    border-bottom:1px solid #e5eaf0;min-width:0;
  }
  .gstore-desktop-summary-v10 .gstore-desktop-image-button-v10{
    display:block;position:relative;flex:0 0 80px;width:80px;height:80px;padding:0;
    border:0;border-radius:10px;background:transparent;cursor:zoom-in;color:inherit;
  }
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-desktop-summary-v10 .gallery{
    display:block!important;position:static!important;grid-area:auto!important;
    width:100%!important;max-width:none!important;height:100%!important;margin:0!important;
    border-radius:10px!important;box-sizing:border-box!important;
  }
  .gstore-desktop-summary-v10 .gallery img{object-fit:contain!important}
  .gstore-desktop-image-button-v10::after{
    content:"＋";position:absolute;right:3px;bottom:3px;width:18px;height:18px;
    display:grid;place-items:center;border-radius:5px;background:rgba(15,23,42,.78);color:#fff;
    font:700 15px/1 system-ui;pointer-events:none;
  }
  .gstore-desktop-image-button-v10:disabled{cursor:default}
  .gstore-desktop-image-button-v10:disabled::after{display:none}
  .gstore-desktop-image-button-v10:focus-visible{outline:3px solid #1677ff;outline-offset:3px}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-desktop-summary-v10 .title-row{
    display:flex!important;flex:1;min-width:0;gap:4px!important;margin:0!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-desktop-summary-v10 .title{
    font-size:16px!important;line-height:1.45!important;font-weight:750!important;margin:0!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-desktop-summary-v10 .auto-tag{
    font-size:10px!important;padding:2px 6px!important;line-height:1.3!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox > .price-inline-box{padding:6px 8px!important;margin-bottom:6px!important}
  body.gstore-desktop-summary-ready-v10 #buybox > .buy-box{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-payment-shell-v3{margin-top:10px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-payment-group-head-v3{margin-bottom:7px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .pay-grid{gap:10px 12px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .pay-item{min-height:34px!important;padding:3px 7px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .pay-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .field label.pay-item{margin:0!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-payment-group-recommended-v3 .gstore-payment-sub-v3{display:none!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-payment-group-v3 + .gstore-payment-group-v3{padding-top:12px!important;margin-top:12px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .field{margin-bottom:5px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .checkout-grid{gap:0 6px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-order-info-note-title-v2{display:none!important}
  body.gstore-desktop-summary-ready-v10 #buybox .gstore-order-info-note-value-v2{overflow-wrap:anywhere}
  body.gstore-desktop-summary-ready-v10 #buybox .actions{margin-top:5px!important}
  body.gstore-desktop-summary-ready-v10 #buybox .qty-only{
    display:flex!important;align-items:center!important;justify-self:end!important;gap:8px!important;
    max-width:174px!important;margin:0 0 5px auto!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox .qty-only > label{flex:0 0 auto;margin:0!important}
  body.gstore-desktop-summary-ready-v10 #buybox .qty-only .qty-box{flex:1;min-width:0}
  /* Fit the full form, including shipping and email, in shorter desktop windows. */
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-desktop-image-button-v10{width:64px;height:64px;flex-basis:64px}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-desktop-summary-v10 .title{font-size:14px!important;line-height:1.35!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-shell-v3{margin-top:6px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-sub-v3{display:none!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .pay-item{min-height:34px!important;padding:4px 6px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-group-head-v3{min-height:18px!important;margin-bottom:4px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-group-mark-v3{width:18px!important;height:18px!important;min-width:18px!important;flex-basis:18px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-group-head-v3,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-group-mark-v3,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-zero-fee-v3{height:18px!important;min-height:18px!important;box-sizing:border-box!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .pay-grid{gap:7px 9px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .gstore-payment-group-v3 + .gstore-payment-group-v3{padding-top:7px!important;margin-top:7px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .field{margin-bottom:4px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .checkout-grid > .field:not(.gstore-order-info-note-field-v2){
    display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0;
  }
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .checkout-grid > .field > label{
    flex:0 0 auto;margin:0!important;font-size:11px!important;
  }
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .checkout-grid .text-input{flex:1;min-width:0;padding:0 7px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .checkout-grid .inline-error{flex:0 0 100%;box-sizing:border-box}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .variant-select,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .text-input,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .qty-input,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .qty-btn{height:30px!important;min-height:30px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-fit-v10="1"] .btn{height:36px!important;min-height:36px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10]{padding:8px 10px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .gstore-desktop-image-button-v10{width:54px;height:54px;flex-basis:54px}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .gstore-desktop-summary-v10{margin-bottom:5px!important;padding-bottom:5px!important;gap:8px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] > .price-inline-box{padding:4px 6px!important;margin-bottom:4px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .field{margin-bottom:3px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .pay-item{min-height:28px!important;padding:3px 5px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .pay-icon{width:20px!important;height:20px!important;flex-basis:20px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .gstore-payment-shell-v3{margin-top:0!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .pay-grid{gap:5px 7px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .gstore-payment-group-v3 + .gstore-payment-group-v3{padding-top:4px!important;margin-top:4px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .variant-select,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .text-input,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .qty-input,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .qty-btn{height:28px!important;min-height:28px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .row-2 > .field{display:flex;align-items:center;gap:5px;min-width:0}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .row-2 > .field > label{flex:0 0 auto;margin:0!important;font-size:11px!important}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .row-2 .variant-select,
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .row-2 .qty-box{flex:1;min-width:0}
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-tight-v10] .row-2{grid-template-columns:minmax(0,1fr) 144px!important}
  /* Emergency accessibility fallback for exceptional zoom, validation text, or very short windows. */
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-overflow-v10]{
    max-height:var(--gstore-desktop-space-v10)!important;overflow-y:auto!important;overscroll-behavior:contain;
    scrollbar-width:thin;
  }
  body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-overflow-v10] .actions{
    position:sticky;bottom:-10px;padding:6px 0;background:#fff;z-index:3;
  }
  html[data-theme="dark"] .gstore-desktop-summary-v10{border-color:#263444!important}
  html[data-theme="dark"] body.gstore-desktop-summary-ready-v10 #buybox[data-gstore-overflow-v10] .actions{background:#101923}
}
@media (min-width:1101px) and (max-width:1439px), (min-width:901px) and (max-width:1439px) and (orientation:landscape){
  /* Keep the existing right-edge support controls clear at laptop widths too. */
  body.gstore-product-page-mobile-drawer-v1.gstore-desktop-summary-ready-v10 .container,
  body.gstore-product-page-mobile-drawer-v1.gstore-desktop-summary-ready-v10 #gstoreProductFullGlobalHeaderV4{
    width:calc(100% - 64px)!important;max-width:none!important;margin-left:0!important;margin-right:64px!important;
  }
}
.gstore-product-image-dialog-v10{
  position:fixed;inset:0;margin:auto;padding:0;border:0;background:transparent;
  max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:visible;
}
.gstore-product-image-dialog-v10::backdrop{background:rgba(3,9,18,.8)}
.gstore-product-image-dialog-v10 img{
  display:block;width:min(800px,calc(100vw - 32px),calc(100dvh - 72px));height:auto;
  max-width:100%;max-height:calc(100dvh - 72px);object-fit:contain;border-radius:12px;
}
.gstore-product-image-dialog-v10 button{
  position:absolute;right:6px;top:6px;display:grid;place-items:center;width:36px;height:36px;
  border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(15,23,42,.85);
  color:#fff;cursor:pointer;font:24px/1 system-ui;
}
