/* ==========================================================================
   RARE SEASON — shporta, checkout, pagesa dhe llogaria
   Vazhdim i style.css; perdor te njejtat variabla te :root
   ========================================================================== */

/* --------------------------------------------------------------------------
   Paneli i shportes
   -------------------------------------------------------------------------- */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(440px, 92vw);
  height: 100%;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-drawer__foot {
  border-top: 1px solid var(--line);
  padding: 22px 28px 28px;
}

.cart-viewall {
  display: block;
  text-align: center;
  font-size: 11px;
  margin-top: 14px;
}

.cart-note {
  font-size: 10px;
  color: var(--ink-faint);
  line-height: 1.7;
  margin: 8px 0 16px;
}

.cart-empty {
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
  padding: 44px 0 26px;
}

/* Nje rresht produkti */

.cart-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row--lg { grid-template-columns: 110px 1fr auto; }

.cart-row__media {
  display: block;
  background: var(--tile);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.cart-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-row__brand {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.cart-row__name {
  font-size: 12px;
  margin: 4px 0 2px;
}

.cart-row__meta {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
}

.cart-row__end {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cart-row__price {
  font-size: 12px;
  margin: 0;
  white-space: nowrap;
}

.cart-row__remove {
  font-size: 10px;
  color: var(--ink-faint);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.cart-row__remove:hover { color: var(--ink); }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 12px;
  font-size: 11px;
}

.qty button {
  font-size: 14px;
  line-height: 1;
  color: var(--ink-soft);
  width: 12px;
}

.qty button:hover { color: var(--ink); }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Kokat e faqeve te brendshme
   -------------------------------------------------------------------------- */

.page-head {
  text-align: center;
  padding: 46px var(--gutter) 0;
}

.page-head h1 {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  margin: 0;
}

.page-head p {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

/* --------------------------------------------------------------------------
   Faqja e shportes
   -------------------------------------------------------------------------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding: 40px var(--gutter) 20px;
}

.cart-side {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  padding: 26px;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.checkout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  padding: 40px var(--gutter) 20px;
}

.checkout__step { margin-bottom: 44px; }

.checkout__step-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  margin: 0 0 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checkout__step-title span {
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-faint);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-bottom-color: #a33; }

.field.is-invalid span { color: #a33; }

/* Zgjedhjet me radio */

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 16px 18px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}

.choice:hover { border-color: var(--line-strong); }

.choice:has(input:checked) { border-color: var(--ink); }

.choice input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  flex: none;
  margin: 0;
}

.choice input:checked {
  border-color: var(--ink);
  background: radial-gradient(circle, var(--ink) 0 3.5px, transparent 3.5px);
}

.choice__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.choice__name { font-size: 12px; }

.choice__note {
  font-size: 10px;
  color: var(--ink-soft);
}

.choice__price {
  font-size: 12px;
  white-space: nowrap;
}

.payment-hint {
  font-size: 11px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--tile);
  padding: 14px 16px;
  margin: 14px 0 0;
}

/* Permbledhja anesore */

.summary {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  padding: 26px;
}

.summary h2 {
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sum-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
}

.sum-row__media {
  position: relative;
  background: var(--tile);
  aspect-ratio: 4 / 5;
}

.sum-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sum-row__qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.sum-row__body p { margin: 0; }

.tot-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--ink-soft);
  padding: 6px 0;
}

.tot-row--grand {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 13px;
  color: var(--ink);
}

.summary [data-summary-totals] { margin-top: 14px; }

.summary .btn-solid { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Pagesa me kripto
   -------------------------------------------------------------------------- */

.pay {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding: 40px var(--gutter) 20px;
}

.pay__qr {
  border: 1px solid var(--line);
  padding: 18px;
}

.pay__qr svg {
  width: 100%;
  height: auto;
}

.coin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.coin-tab {
  flex: 1;
  border: 1px solid var(--line);
  padding: 12px 10px;
  font-size: 12px;
  line-height: 1.3;
  transition: border-color var(--dur) var(--ease);
}

.coin-tab span {
  display: block;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.coin-tab:hover { border-color: var(--line-strong); }
.coin-tab.is-active { border-color: var(--ink); }

.pay__amount {
  font-size: 21px;
  margin: 0 0 4px;
}

.pay__network {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.pay__addr {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.pay__addr code {
  flex: 1;
  font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;
  font-size: 11px;
  word-break: break-all;
  line-height: 1.6;
}

.pay__copy {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}

.pay__copy:hover {
  background: var(--ink);
  color: #fff;
}

.pay__countdown {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.pay__steps {
  list-style: none;
  counter-reset: step;
  margin: 30px 0 0;
  padding: 0;
}

.pay__steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 14px 30px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.pay__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 9px;
  line-height: 17px;
  text-align: center;
  color: var(--ink);
}

.pay__warn {
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 16px;
  margin: 26px 0 0;
  font-size: 11px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Konfirmimi
   -------------------------------------------------------------------------- */

.confirm {
  max-width: 620px;
  margin-inline: auto;
  padding: 50px var(--gutter) 20px;
  text-align: center;
}

.confirm__mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
}

.confirm h1 {
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  margin: 0 0 12px;
}

.confirm__lead {
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 0 0 34px;
}

.confirm__box {
  border: 1px solid var(--line);
  padding: 26px;
  text-align: left;
  margin-bottom: 20px;
}

.confirm__box h2 {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 400;
  margin: 0 0 14px;
}

.confirm__box p {
  font-size: 12px;
  line-height: 1.85;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Llogaria
   -------------------------------------------------------------------------- */

.gate {
  max-width: 420px;
  margin-inline: auto;
  padding: 40px var(--gutter) 20px;
}

.gate__tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.gate__tabs button {
  font-size: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  color: var(--ink-soft);
}

.gate__tabs button.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.gate__error {
  font-size: 11px;
  color: #a33;
  min-height: 16px;
  margin: 6px 0 0;
}

.gate__note {
  font-size: 10px;
  line-height: 1.75;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 16px;
}

.account {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  padding: 40px var(--gutter) 20px;
}

.account__side {
  position: sticky;
  top: 96px;
}

.account__who {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.account__who strong {
  display: block;
  font-size: 13px;
  font-weight: 400;
}

.account__who span {
  font-size: 11px;
  color: var(--ink-soft);
}

.account__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.account__nav button {
  font-size: 12px;
  padding: 8px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
}

.account__nav button.is-active,
.account__nav button:hover { color: var(--ink); }

.account__nav button.is-active { border-bottom-color: var(--ink); }

.account__subtitle {
  font-size: 12px;
  font-weight: 400;
  margin: 30px 0 18px;
}

.order-card {
  border: 1px solid var(--line);
  padding: 22px;
  margin-bottom: 14px;
}

.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.order-card__head p { margin: 0; }

.order-card__items {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.order-thumb {
  width: 56px;
  aspect-ratio: 4 / 5;
  background: var(--tile);
  overflow: hidden;
}

.order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card__foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 12px;
}

.badge {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

.badge--confirmed { border-color: var(--ink); }

.badge--verifying,
.badge--awaiting-payment {
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.addr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.addr-card {
  border: 1px solid var(--line);
  padding: 20px;
}

.addr-card p {
  font-size: 12px;
  line-height: 1.85;
  margin: 0 0 12px;
}

.addr-form { max-width: 420px; }

.btn-pill--sm {
  font-size: 10px;
  padding: 8px 16px;
  margin-top: 10px;
}

/* Ngjyra e zgjedhur te faqja e produktit */

.swatch {
  cursor: pointer;
  padding: 0;
}

.swatch.is-selected {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .cart-layout,
  .checkout,
  .pay,
  .account { grid-template-columns: 1fr; }

  .cart-side,
  .summary,
  .account__side { position: static; }

  .account__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .pay__qr { max-width: 300px; }
}

@media (max-width: 620px) {
  .field-row,
  .addr-grid { grid-template-columns: 1fr; }

  .cart-row,
  .cart-row--lg { grid-template-columns: 64px 1fr; }

  .cart-row__end {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
  }

  .cart-drawer__head,
  .cart-drawer__body,
  .cart-drawer__foot { padding-inline: 20px; }
}

/* ==========================================================================
   SHIRITI I NGJITUR I BLERJES (vetem ne telefon)

   Rri poshte ekranit ndersa vizitori rrjedh fotot, dhe terhiqet kur butoni i
   vertete kthehet ne pamje — qe te mos kete dy butona te njejte njeheresh.
   ========================================================================== */

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: var(--bg);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform .4s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.buybar.is-on { transform: none; }

.buybar[hidden] { display: none; }

.buybar__info {
  padding: 11px 16px 10px;
}

.buybar__brand {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.buybar__name {
  font-size: 13px;
  line-height: 1.35;
  margin: 3px 0 2px;

  /* Emrat e gjate nuk e rrisin kurre shiritin. */
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.buybar__price {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.buybar__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.buybar__btn {
  min-height: 52px;
  padding: 15px 10px;
  font-size: 12px;
  letter-spacing: .05em;
  text-align: center;
  background: var(--bg);
  color: var(--ink);
  transition: opacity var(--dur) var(--ease);
}

.buybar__btn + .buybar__btn { border-left: 1px solid var(--line); }

.buybar__btn--solid {
  background: var(--ink);
  color: #fff;
}

.buybar__btn:active { opacity: .7; }

.buybar__btn[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

/* Kur hapet menuja, kerkimi ose shporta, shiriti terhiqet. */
body:has(.scrim.is-open) .buybar { transform: translateY(105%); }

/* Ne ekrane te medhenj paneli i produktit eshte gjithmone i dukshem. */
@media (min-width: 1001px) {
  .buybar { display: none; }
}

/* --------------------------------------------------------------------------
   Disponueshmeria
   Nje shenje e vogel, e qete — jo etikete zbritjeje. Ngjyra dallon nisjen e
   menjehershme nga ajo me porosi, por te dyja rrine brenda paletes se faqes.
   -------------------------------------------------------------------------- */

.badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--bg);
  margin: 0 0 8px;
  white-space: nowrap;
}

.badge--stock { border-color: #cfe0d3; color: #3f6b4c; }
.badge--order { border-color: var(--line-strong); color: var(--ink-soft); }

.pcard__body .badge { margin-bottom: 7px; }

/* --------------------------------------------------------------------------
   Butonat e faqes se produktit
   -------------------------------------------------------------------------- */

.btn-outline {
  display: block;
  width: 100%;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
  text-align: center;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: .05em;
  margin-top: 9px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline:disabled { opacity: .4; cursor: default; }
.btn-outline:disabled:hover { background: var(--bg); color: var(--ink); }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  text-align: center;
  padding: 13px 20px;
  font-size: 12px;
  letter-spacing: .05em;
  margin-top: 9px;
  transition: border-color var(--dur) var(--ease);
}

.btn-whatsapp:hover { border-color: var(--ink); }
.btn-whatsapp .ico { width: 15px; height: 15px; stroke-width: 1.4; }

/* --------------------------------------------------------------------------
   Faqet e redaktueshme
   -------------------------------------------------------------------------- */

.cms__heading {
  font-size: 15px;
  font-weight: 400;
  margin: 34px 0 12px;
}

.cms__heading:first-child { margin-top: 0; }

.cms p {
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.cms__image {
  width: 100%;
  height: auto;
  margin: 26px 0;
}

.cms .accordion { margin-top: 4px; }

.cms__missing {
  font-size: 12px;
  color: var(--ink-faint);
}

/* Linku brenda shiritit te njoftimit */
.announce__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
