/* ENG HOME · Dritarja e shportës (#eg-cart-drawer) + ikona e shportës, me ngjyrat e menysë (6.11.2026) */
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer {
  --sd-ink: #1c1917;
  --sd-muted: #78716c;
  --sd-soft: #f6f6f6;
  --sd-line: #eeeeee;
  --sd-red: #c4271f;
  padding: 0 !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(28, 25, 23, .16) !important;
  color: var(--sd-ink) !important;
  font-family: var(--f-ui, "Manrope", system-ui, sans-serif) !important;
  overflow: hidden auto !important;
  overscroll-behavior: contain !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer:not([hidden]) {
  animation: sd-hyrja .32s cubic-bezier(.22, 1, .36, 1);
}
@keyframes sd-hyrja {
  from { opacity: 0; transform: translateY(-10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* koka */
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 18px 18px 14px 22px !important;
  border: 0 !important;
  background: #fff !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-head strong {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  color: var(--sd-ink) !important;
  font: 500 26px/1.1 var(--f-disp, "Newsreader", Georgia, serif) !important;
  letter-spacing: -.01em !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-head strong::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--sd-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4271f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / 19px no-repeat;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-close {
  display: grid !important;
  place-items: center !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  outline: 0 !important;
  background: var(--sd-soft) !important;
  box-shadow: none !important;
  color: var(--sd-ink) !important;
  font: 400 24px/1 system-ui, sans-serif !important;
  cursor: pointer !important;
  transition: background .2s ease, transform .25s ease !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-close:hover {
  background: #ececec !important;
  transform: rotate(90deg) !important;
}

/* trupi */
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-body {
  margin: 0 !important;
  padding: 4px 18px 18px !important;
  border: 0 !important;
  background: #fff !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer :is(.eg-cart-drawer-items, .eg-cart-items) {
  display: grid !important;
  gap: 8px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-items {
  max-height: 46vh !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item {
  display: grid !important;
  grid-template-columns: 68px minmax(0, 1fr) auto !important;
  grid-template-areas: "img info price" "img act price" !important;
  align-items: start !important;
  column-gap: 14px !important;
  row-gap: 6px !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--sd-soft) !important;
  box-shadow: none !important;
  animation: sd-artikulli .35s ease both;
}
@keyframes sd-artikulli {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-image {
  grid-area: img !important;
  width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #fff !important;
  overflow: hidden !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-image :is(a, img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-info {
  grid-area: info !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 2px 0 0 !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: var(--sd-ink) !important;
  font: 700 13.5px/1.35 var(--f-ui, "Manrope", sans-serif) !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-actions {
  grid-area: act !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-qty {
  margin: 0 !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--sd-muted) !important;
  font: 700 11.5px/1 var(--f-ui, "Manrope", sans-serif) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-remove-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--sd-muted) !important;
  font: 700 12px/1 var(--f-ui, "Manrope", sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-remove-btn:hover {
  color: var(--sd-red) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-prices {
  grid-area: price !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 4px 0 0 !important;
  text-align: right !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-item-prices strong {
  color: var(--sd-ink) !important;
  font: 500 19px/1 var(--f-disp, "Newsreader", Georgia, serif) !important;
  white-space: nowrap !important;
}

/* totalet */
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-totals {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-totals {
  display: grid !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 4px 16px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 11px 0 !important;
  border: 0 !important;
  border-bottom: 1px dashed var(--sd-line) !important;
  background: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row:last-child {
  border-bottom: 0 !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row span {
  color: var(--sd-muted) !important;
  font: 600 13px/1.2 var(--f-ui, "Manrope", sans-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row strong {
  color: var(--sd-ink) !important;
  font: 800 14px/1.2 var(--f-ui, "Manrope", sans-serif) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row.eg-cart-total-final {
  padding: 14px 0 12px !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row.eg-cart-total-final span {
  color: var(--sd-ink) !important;
  font: 800 14px/1 var(--f-ui, "Manrope", sans-serif) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-total-row.eg-cart-total-final strong {
  color: var(--sd-ink) !important;
  font: 500 32px/1 var(--f-disp, "Newsreader", Georgia, serif) !important;
  letter-spacing: -.01em !important;
}

/* butonat */
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 10px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  font: 800 14px/1 var(--f-ui, "Manrope", sans-serif) !important;
  letter-spacing: .01em !important;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-btn {
  border: 0 !important;
  background: var(--sd-ink) !important;
  box-shadow: 0 10px 24px rgba(28, 25, 23, .18) !important;
  color: #fff !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-btn::after {
  content: "→";
  font-size: 17px;
  transition: transform .2s ease;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-btn:hover {
  background: var(--sd-red) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 28px rgba(196, 39, 31, .25) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-btn:hover::after {
  transform: translateX(3px);
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-cart-drawer-wa {
  border: 1.5px solid var(--sd-line) !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--sd-ink) !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-cart-drawer-wa svg {
  width: 19px !important;
  height: 19px !important;
  color: #1f8f4e !important;
  stroke: #1f8f4e !important;
}
html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-actions > a.eg-cart-drawer-wa:hover {
  border-color: #1f8f4e !important;
  background: #f1faf4 !important;
}

/* telefon: fletë poshtë kokës, me fund të rrumbullakët dhe sfond të errësuar */
@media (max-width: 900px) {
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer {
    border: 0 !important;
    border-radius: 0 0 26px 26px !important;
    max-height: calc(100dvh - 80px) !important;
    box-shadow: 0 30px 60px rgba(28, 25, 23, .18), 0 0 0 100vmax rgba(28, 25, 23, .32) !important;
  }
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer:not([hidden]) {
    animation: sd-poshte .34s cubic-bezier(.22, 1, .36, 1);
  }
  @keyframes sd-poshte {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: none; }
  }
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-head {
    padding: 16px 16px 12px 20px !important;
  }
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-panel-head strong {
    font-size: 24px !important;
  }
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-drawer-body {
    padding: 2px 16px calc(18px + env(safe-area-inset-bottom)) !important;
  }
  html body.enghome-body #eg-cart-drawer#eg-cart-drawer#eg-cart-drawer .eg-cart-items {
    max-height: 38vh !important;
  }

  /* ikona e shportës: numri brenda butonit, pa rrethin e vjetër */
  html body.enghome-body.enghome-body .eg-premium-header.eg-premium-header .eg-cart-btn.eg-cart-btn {
    position: relative !important;
    box-shadow: none !important;
    outline: 0 !important;
  }
  html body.enghome-body.enghome-body .eg-premium-header.eg-premium-header .eg-cart-btn.eg-cart-btn .eg-cart-badge {
    position: absolute !important;
    top: 4px !important;
    right: 2px !important;
    left: auto !important;
    display: grid !important;
    place-items: center !important;
    min-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #c4271f !important;
    box-shadow: none !important;
    color: #fff !important;
    font: 800 10px/1 var(--f-ui, "Manrope", sans-serif) !important;
    transform: none !important;
  }
  html body.enghome-body.enghome-body .eg-premium-header.eg-premium-header .eg-cart-btn.eg-cart-btn .eg-cart-badge[hidden] {
    display: none !important;
  }
}
@media (hover: none) {
  html body.enghome-body.enghome-body .eg-premium-header.eg-premium-header .eg-action-btn.eg-action-btn:focus-visible {
    box-shadow: none !important;
  }
}

/* telefon: kur shporta (ose llogaria) është e hapur, faqja prapa s'lëviz (6.11 14:35) */
@media (max-width: 900px) {
  html:has(body.eg-panel-lock),
  html body.enghome-body.eg-panel-lock {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }
  html body.enghome-body .eg-panel-backdrop {
    touch-action: none !important;
    overscroll-behavior: none !important;
  }
}
