/* AdeptDEV Product Components — extracted from product.twig without cascade changes.
   Internal signature: AdeptDEV — https://t.me/adeptdevs */

#product-product .adev-price-stock-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,248px);align-items:center;gap:20px;margin:0 0 12px}
    #product-product .adev-price-stock-row>.product-price{min-width:0;margin-bottom:0!important}
    #product-product .adev-store-stock-trigger{appearance:none;-webkit-appearance:none;width:100%;min-height:62px;border:1.5px solid rgba(236,102,8,.42);border-radius:18px;background:linear-gradient(135deg,#fff 0%,#fffaf5 100%);box-shadow:0 10px 28px rgba(55,54,54,.07);display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:10px;padding:9px 11px;text-align:left;color:#373636;cursor:pointer;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease}
    #product-product .adev-store-stock-trigger:hover{transform:translateY(-2px);border-color:#ec6608;background:#fff7ef;box-shadow:0 15px 34px rgba(236,102,8,.14)}
    #product-product .adev-store-stock-trigger:focus-visible{outline:3px solid rgba(236,102,8,.2);outline-offset:3px}
    #product-product .adev-store-stock-trigger__icon{width:42px;height:42px;border-radius:13px;background:#ec6608;color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(236,102,8,.25)}
    #product-product .adev-store-stock-trigger__icon svg{width:23px;height:23px}
    #product-product .adev-store-stock-trigger__copy{display:flex;flex-direction:column;min-width:0;line-height:1.1}
    #product-product .adev-store-stock-trigger__copy strong{font-size:13px;font-weight:850;letter-spacing:-.01em;white-space:normal}
    #product-product .adev-store-stock-trigger__copy small{margin-top:5px;color:#8a837f;font-size:11px;font-weight:650}
    #product-product .adev-store-stock-trigger__arrow{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#ec6608;border:1px solid rgba(236,102,8,.2);font-size:17px;transition:transform .24s ease}
    #product-product .adev-store-stock-trigger:hover .adev-store-stock-trigger__arrow{transform:translateX(2px)}

    html.adev-store-stock-lock,body.adev-store-stock-lock{overflow:hidden!important;overscroll-behavior:none}
    body.adev-store-stock-lock #nxHeader,
    body.adev-store-stock-lock #nxStickyShell,
    body.adev-store-stock-lock #nxStickyCore,
    body.adev-store-stock-lock .nx-header,
    body.adev-store-stock-lock .nx-sticky-shell,
    body.adev-store-stock-lock .nx-sticky-core,
    body.adev-store-stock-lock [id*='jivo'],
    body.adev-store-stock-lock [class*='jivo'],
    body.adev-store-stock-lock #nanu-support{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
    .adev-store-stock-modal[hidden]{display:none!important}
    .adev-store-stock-modal{--ass-orange:#ec6608;--ass-ink:#373636;--ass-muted:#817a76;position:fixed;inset:0;isolation:isolate;z-index:2147483500;display:grid;place-items:center;padding:24px;overflow:hidden;opacity:0;visibility:hidden;transition:opacity .24s ease,visibility .24s ease}
    .adev-store-stock-modal.is-open{opacity:1;visibility:visible}
    .adev-store-stock-modal__backdrop{position:absolute;inset:0;background:rgba(20,18,17,.48);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
    .adev-store-stock-modal__panel{position:relative;width:min(930px,100%);max-height:min(820px,calc(100dvh - 48px));margin:0 auto;overflow:hidden;border:1px solid rgba(255,255,255,.75);border-radius:30px;background:linear-gradient(180deg,#fff 0%,#fffdfa 100%);box-shadow:0 35px 110px rgba(20,18,17,.28);transform:translateY(18px) scale(.985);transition:transform .3s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column}
    .adev-store-stock-modal.is-open .adev-store-stock-modal__panel{transform:none}
    .adev-store-stock-modal__head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;padding:26px 28px 18px;border-bottom:1px solid #f0ece8}
    .adev-store-stock-modal__kicker{display:inline-flex;align-items:center;gap:8px;color:var(--ass-orange);font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
    .adev-store-stock-modal__kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ass-orange);box-shadow:0 0 0 5px rgba(236,102,8,.11)}
    .adev-store-stock-modal__title{margin:8px 0 5px;color:var(--ass-ink);font-size:clamp(22px,3vw,31px);line-height:1.05;letter-spacing:-.035em;font-weight:900}
    .adev-store-stock-modal__subtitle{margin:0;color:var(--ass-muted);font-size:13px;line-height:1.5}
    .adev-store-stock-modal__close{appearance:none;border:0;background:#f7f3ef;color:#373636;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;cursor:pointer;transition:background .2s ease,transform .2s ease}
    .adev-store-stock-modal__close:hover{background:#ffede0;transform:rotate(4deg)}
    .adev-store-stock-modal__close svg{width:20px;height:20px}
    .adev-store-stock-product{margin:16px 28px 0;padding:14px;border:1px solid #f0e7df;border-radius:20px;background:linear-gradient(135deg,#fff8f1,#fff);display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px}
    .adev-store-stock-product__image{width:58px;height:58px;border-radius:15px;background:#fff;border:1px solid #eee8e3;display:grid;place-items:center;overflow:hidden}
    .adev-store-stock-product__image img{width:100%;height:100%;object-fit:contain;padding:4px}
    .adev-store-stock-product__copy{min-width:0}
    .adev-store-stock-product__copy strong{display:block;color:var(--ass-ink);font-size:13px;line-height:1.3;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .adev-store-stock-product__copy span{display:block;margin-top:5px;color:#948d88;font-size:11px;font-weight:650}
    .adev-store-stock-product__total{min-width:110px;padding:9px 12px;border-radius:14px;background:#fff;border:1px solid rgba(236,102,8,.16);text-align:right}
    .adev-store-stock-product__total span{display:block;color:#8a837f;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}
    .adev-store-stock-product__total strong{display:block;margin-top:3px;color:var(--ass-orange);font-size:18px;font-weight:900;letter-spacing:-.03em}
    .adev-store-stock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 28px 12px}
    .adev-store-stock-filters{display:flex;gap:7px;overflow:auto;scrollbar-width:none}
    .adev-store-stock-filters::-webkit-scrollbar{display:none}
    .adev-store-stock-filter{appearance:none;white-space:nowrap;border:1px solid #ebe5e0;background:#fff;color:#6f6864;border-radius:999px;padding:8px 13px;font-size:11px;font-weight:800;cursor:pointer;transition:.2s ease}
    .adev-store-stock-filter:hover{border-color:rgba(236,102,8,.4);color:#ec6608}
    .adev-store-stock-filter.is-active{border-color:#ec6608;background:#ec6608;color:#fff;box-shadow:0 8px 18px rgba(236,102,8,.17)}
    .adev-store-stock-refresh{appearance:none;border:0;background:transparent;color:#ec6608;display:inline-flex;align-items:center;gap:7px;padding:8px 2px;font-size:11px;font-weight:850;cursor:pointer;white-space:nowrap}
    .adev-store-stock-refresh svg{width:15px;height:15px;transition:transform .35s ease}
    .adev-store-stock-refresh.is-loading svg{animation:adevStoreStockSpin .8s linear infinite}
    @keyframes adevStoreStockSpin{to{transform:rotate(360deg)}}
    .adev-store-stock-modal__body{min-height:250px;overflow:auto;padding:2px 28px 18px;overscroll-behavior:contain}
    .adev-store-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .adev-store-stock-card{position:relative;min-width:0;border:1px solid #ece7e2;border-radius:19px;background:#fff;padding:15px 15px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;box-shadow:0 7px 20px rgba(44,39,35,.035);animation:adevStoreCardIn .32s both}
    @keyframes adevStoreCardIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
    .adev-store-stock-card[hidden]{display:none!important}
    .adev-store-stock-card__group{display:inline-flex;align-items:center;gap:5px;margin-bottom:6px;color:#aaa19b;font-size:9px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
    .adev-store-stock-card__group:before{content:"";width:5px;height:5px;border-radius:50%;background:#d6cec8}
    .adev-store-stock-card__name{margin:0;color:#373636;font-size:13px;line-height:1.25;font-weight:850}
    .adev-store-stock-card__address{margin:5px 0 0;color:#8c8580;font-size:10.5px;line-height:1.35}
    .adev-store-stock-card__availability{min-width:110px;text-align:right}
    .adev-store-stock-card__qty{display:block;color:#373636;font-size:18px;line-height:1;font-weight:900;letter-spacing:-.03em}
    .adev-store-stock-card__status{margin-top:7px;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;font-size:10px;font-weight:850;white-space:nowrap}
    .adev-store-stock-card__status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(142,135,130,.10)}
    .adev-store-stock-card.is-in .adev-store-stock-card__status{color:#299764}.adev-store-stock-card.is-in .adev-store-stock-card__status:before{box-shadow:0 0 0 4px rgba(41,151,100,.11)}
    .adev-store-stock-card.is-low .adev-store-stock-card__status{color:#d98a16}.adev-store-stock-card.is-low .adev-store-stock-card__status:before{box-shadow:0 0 0 4px rgba(217,138,22,.11)}
    .adev-store-stock-card.is-out .adev-store-stock-card__status{color:#c94a4a}.adev-store-stock-card.is-out .adev-store-stock-card__status:before{box-shadow:0 0 0 4px rgba(201,74,74,.11)}
    .adev-store-stock-card.is-unknown .adev-store-stock-card__status{color:#8e8782}
    .adev-store-stock-card.is-unknown{background:linear-gradient(135deg,#fff,#fbfaf9)}
    .adev-store-stock-card.is-unknown .adev-store-stock-card__qty{color:#aaa39f}
    .adev-store-stock-empty{padding:42px 16px;text-align:center;color:#807873;font-size:13px;font-weight:700}
    .adev-store-stock-skeleton{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .adev-store-stock-skeleton i{height:92px;border-radius:19px;background:linear-gradient(90deg,#f7f3ef 20%,#fff 50%,#f7f3ef 80%);background-size:220% 100%;animation:adevStoreShimmer 1.15s linear infinite}
    @keyframes adevStoreShimmer{to{background-position:-220% 0}}
    .adev-store-stock-modal__foot{display:flex;align-items:center;gap:10px;padding:15px 24px 20px;border-top:1px solid #f1ece8;background:#fffdfa!important;color:#817a76;font-size:10.5px;line-height:1.45}
    .adev-store-stock-modal__foot svg{flex:0 0 auto;width:17px;height:17px;color:#ec6608}
    .adev-store-stock-updated{margin-left:auto;white-space:nowrap;color:#a29a95;font-weight:700}
    .adev-store-stock-modal__foot [data-adev-store-stock-note]{display:flex;align-items:flex-start;flex:1 1 auto;min-width:0;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#fff4e7 0%,#fffaf5 100%)!important;border:1px solid rgba(236,102,8,.18);box-shadow:0 10px 26px rgba(236,102,8,.08);color:#8b6849;font-size:11px;font-weight:700;line-height:1.45}
    .adev-store-stock-modal__foot .adev-store-stock-updated{flex:0 0 auto;align-self:center;padding:10px 12px;border-radius:12px;background:#f8f3ee;color:#9a918b}
    @media(max-width:760px){
      #product-product .adev-price-stock-row{grid-template-columns:1fr;gap:10px}
      #product-product .adev-store-stock-trigger{min-height:58px;grid-template-columns:40px minmax(0,1fr) 28px}
      .adev-store-stock-modal{padding:0;place-items:end center;overflow:hidden}
      .adev-store-stock-modal__panel{width:100%;max-height:90dvh;border-radius:26px 26px 0 0;border-left:0;border-right:0;border-bottom:0;transform:translateY(28px)}
      .adev-store-stock-modal__head{padding:20px 17px 14px;gap:12px}
      .adev-store-stock-modal__title{font-size:23px}
      .adev-store-stock-modal__subtitle{font-size:12px}
      .adev-store-stock-modal__close{width:41px;height:41px;border-radius:13px}
      .adev-store-stock-product{margin:12px 17px 0;grid-template-columns:52px minmax(0,1fr);gap:11px;padding:11px}
      .adev-store-stock-product__image{width:52px;height:52px}
      .adev-store-stock-product__total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;min-width:0;text-align:left;padding:9px 11px}
      .adev-store-stock-product__total strong{margin:0;font-size:16px}
      .adev-store-stock-toolbar{padding:13px 17px 10px;align-items:flex-start}
      .adev-store-stock-refresh span{display:none}
      .adev-store-stock-refresh{padding:8px}
      .adev-store-stock-modal__body{padding:2px 17px 15px;min-height:220px}
      .adev-store-stock-grid,.adev-store-stock-skeleton{grid-template-columns:1fr}
      .adev-store-stock-card{padding:14px;border-radius:17px}
      .adev-store-stock-modal__foot{padding:12px 17px 16px;align-items:flex-start;background:#fffdfa!important}
      .adev-store-stock-updated{display:none}.adev-store-stock-modal__foot [data-adev-store-stock-note]{padding:11px 12px;border-radius:14px;font-size:10.5px}
    }
    /* AdeptDEV v8.45 — centered quantity control — https://t.me/adeptdevs */
    #product-product .product-quantity .quantity{
      display:grid!important;
      grid-template-columns:36px 42px 36px!important;
      align-items:center!important;
      justify-content:center!important;
      justify-items:center!important;
      column-gap:0!important;
      padding-left:8px!important;
      padding-right:8px!important;
    }
    #product-product .product-quantity .quantity .minus,
    #product-product .product-quantity .quantity .plus{
      position:static!important;
      inset:auto!important;
      float:none!important;
      display:grid!important;
      place-items:center!important;
      width:36px!important;
      min-width:36px!important;
      height:100%!important;
      margin:0!important;
      padding:0!important;
      transform:none!important;
      line-height:1!important;
    }
    #product-product .product-quantity .quantity #input-quantity{
      position:static!important;
      float:none!important;
      display:block!important;
      width:42px!important;
      min-width:42px!important;
      max-width:42px!important;
      margin:0!important;
      padding:0!important;
      text-align:center!important;
      text-indent:0!important;
      transform:none!important;
      box-sizing:border-box!important;
    }
    #product-product .product-quantity .quantity .minus svg,
    #product-product .product-quantity .quantity .plus svg{display:block;margin:auto!important}

    @media(prefers-reduced-motion:reduce){.adev-store-stock-modal,.adev-store-stock-modal__panel,.adev-store-stock-trigger,.adev-store-stock-card,.adev-store-stock-skeleton i{transition:none!important;animation:none!important}}
