/* ══ PAGES.CSS — dodatni stilovi za sve stranice izvan shopa ══ */

/* HTML5 `hidden` atribut mora pobijediti `display: flex/grid/block` koje
   postavljamo niže (npr. .product-stock, .product-actions). Bez !important
   pravila ispod, element s `hidden` ostaje vidljiv. */
[hidden] { display: none !important; }


/* ── AUTH ── */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.auth-card {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
}
.auth-card--wide { max-width: 560px; }
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-title { font-family: var(--f-display); font-size: 2rem; margin-bottom: 8px; text-align: center; }
.auth-sub   { text-align: center; color: var(--ink-soft); margin-bottom: 24px; }
.auth-form  { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.auth-divider { text-align: center; color: var(--ink-faint); margin: 16px 0; font-size: .85rem; position: relative; }
.auth-divider span { background: var(--paper-warm); padding: 0 10px; position: relative; z-index: 1; }
.auth-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--border); }
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background .15s, border-color .15s;
}
.btn-google:hover { background: var(--paper); border-color: var(--ink-faint); }
.btn-google-icon { width: 18px; height: 18px; flex-shrink: 0; }
.auth-footer { text-align: center; color: var(--ink-soft); font-size: .9rem; }
.auth-footer a { color: var(--sea); }
.password-input-wrap { position: relative; }
.password-input-wrap input { width: 100%; padding-right: 44px; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }

/* ── FORMS ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { 
   
  /* font-size: .85rem;  */
  margin-top: 1rem; 
  font-weight: 500; 
  color: var(--ink-soft); 
  letter-spacing: .03em; 
}
.form-label-link { float: right; color: var(--sea); font-weight: 400; }
.form-group input,
.form-group select,
.form-group textarea { padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; background: white; font-family: var(--f-body); font-size: 1rem; transition: border-color .2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-pale); }
.form-error { color: #c0392b; font-size: .82rem; }
.form-hint  { color: var(--ink-faint); font-size: .82rem; }
.form-check { flex-direction: row; align-items: center; gap: 10px; }
.btn-full { width: 100%; text-align: center; }
.btn-primary:disabled {
  opacity: .72;
  cursor: wait;
  pointer-events: none;
}
#loginSubmitBtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── PAGE CONTENT ── */
.page-content { max-width: 1200px; margin: 0 auto; padding: 40px 32px 80px; }
.page-hero { margin-bottom: 48px; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 680px; }

.cjenik-page .page-hero { margin-bottom: 28px; }
.cjenik-actions { margin: 0 0 36px; }
.cjenik-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 6px;
  font-family: var(--f-heading);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.cjenik-download:hover {
  background: var(--sea-deep);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(63,122,138,.28);
}
.cjenik-download:active { transform: translateY(0); }

/* ── PRODUCT PAGE ── */
.product-page { max-width: 1200px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.product-cover-wrap { position: relative; }
/* aspect-ratio + object-fit rezerviraju prostor prije nego se slika učita
   (izbjegava CLS) bez obzira na stvarni omjer naslovnice; contain (umjesto
   cover) da se korica ne izreže. */
.product-cover { width: 100%; max-width: 380px; aspect-ratio: 2 / 3; object-fit: contain; background: var(--paper-warm); display: block; }
.product-cover--vinyl {
  aspect-ratio: 1 / 1;
  max-width: 380px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.product-cover--vinyl-10 { max-width: 317px; }
.product-cover--vinyl-7 { max-width: 222px; }
.product-page--vinyl .product-thumb { width: 60px; height: 60px; }
.product-condition-badge { position: absolute; top: 12px; left: 12px; background: var(--paper-warm); border: 1px solid var(--border); padding: 4px 10px; border-radius: 4px; font-family: var(--f-mono); font-size: .75rem; }
.product-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.product-thumb { width: 60px; height: 80px; object-fit: cover; border-radius: 3px; cursor: pointer; opacity: .7; transition: opacity .2s; border: 2px solid transparent; }
.product-thumb:hover { opacity: 1; border-color: var(--sea-deep); }
.product-thumb-active { opacity: 1; border-color: var(--sea); }
.product-cat-label a { font-family: var(--f-mono); font-size: .78rem; color: var(--sea); letter-spacing: .06em; text-transform: uppercase; }
.product-title { 
  font-family: var(--f-display); 
  font-size: clamp(1.6rem, 3vw, 2.4rem); 
  margin: 8px 0; 
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.product-author { font-family: var(--f-author); font-size: 1rem; color: var(--ink-soft); margin-bottom: 20px; }
.product-author a { color: var(--sea); }
.product-author a:hover,
.product-details-table a:hover { text-decoration: underline; }
.product-details-table a { color: var(--sea); text-decoration: none; }
.product-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.product-price { font-family: var(--f-heading); font-size: 2rem; font-weight: 700; }
.product-old-price { text-decoration: line-through; color: var(--ink-faint); font-size: 1.1rem; }
.product-anchor-price { flex-basis: 100%; font-size: .85rem; color: var(--ink-faint); font-weight: 500; }
.product-discount-badge { background: #c0392b; color: white; padding: 2px 8px; border-radius: 4px; font-family: var(--f-mono); font-size: .8rem; }
.product-stock { display: flex; align-items: center; gap: 8px; font-family: var(--f-heading); font-size: .85rem; margin-bottom: 24px; }
.in-stock  { color: #2a6a3a; }
.product-stock.in-stock {
  display: inline-flex;
  padding: 6px 14px 6px 10px;
  color: var(--ink);
  font-weight: 600;
  background: rgba(78,193,194,.14);
  border-radius: 999px;
}
.product-stock.in-stock[hidden] { display: none; }
.product-stock.in-stock i { color: #4ec1c2; font-size: 1.05em; }
.out-of-stock { color: #c0392b; }
/* ── Product actions (qty + add-to-cart + wishlist) ── */
.product-actions {
  --pa-h: 48px;
  --pa-radius: 8px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.product-actions-in,
.product-actions-out { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }

/* ── Vendor delivery notice ── */
.product-vendor-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 24px;
  margin-top: -12px;
  background: var(--sea-wash, #f0f8fa);
  border: 1px solid var(--sea-pale, #deeef2);
  border-radius: 8px;
  font-family: var(--f-heading);
  font-size: .85rem;
  color: var(--ink);
}
.product-vendor-notice i { color: var(--sea); margin-top: 2px; }
.product-vendor-notice-sub { font-size: .78rem; color: var(--ink-faint); margin-top: 2px; }
.product-vendor-notice--own {
  background: color-mix(in srgb, #5b6b5e 8%, var(--paper, #fff));
  border-color: color-mix(in srgb, #5b6b5e 22%, var(--border, #e5e5e5));
}
.product-vendor-notice--own i { color: #5b6b5e; }

.product-alt-offers {
  margin: 0 0 28px;
  padding: 16px;
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 12px;
  background: color-mix(in srgb, var(--paper, #fff) 92%, var(--sea-wash, #f0f8fa));
}
.product-alt-offers-hd h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 750;
}
.product-alt-offers-hd p {
  margin: 0 0 12px;
  font-size: .8rem;
  color: var(--ink-faint);
  line-height: 1.45;
}
.product-alt-offers-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-alt-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper, #fff);
  border: 1px solid var(--border, #e5e5e5);
}
.product-alt-offer.is-out { opacity: .72; }
.product-alt-offer-main { min-width: 0; flex: 1; }
.product-alt-offer-seller {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .86rem;
  font-weight: 700;
}
.product-alt-offer-seller i { color: var(--sea); font-size: .8rem; }
.product-alt-offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 3px;
  font-size: .74rem;
  color: var(--ink-faint);
}
.product-alt-offer-meta .is-in { color: #16a34a; font-weight: 650; }
.product-alt-offer-meta .is-out { color: #b91c1c; font-weight: 650; }
.product-alt-offer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.product-alt-offer-price {
  font-size: .95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.product-alt-offer-old {
  margin-left: 4px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--ink-faint);
  text-decoration: line-through;
}
.product-alt-offer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--sea);
  color: var(--sea);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.product-alt-offer-btn:hover {
  background: var(--sea-deep);
  color: #fff;
}
@media (max-width: 560px) {
  .product-alt-offer {
    flex-direction: column;
    align-items: stretch;
  }
  .product-alt-offer-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Quantity selector */
.qty-selector {
  display: inline-flex;
  align-items: stretch;
  height: var(--pa-h);
  background: var(--paper);
  border: 1px solid var(--border);
  /* border-radius: var(--pa-radius); */
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(26,26,24,0.02);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.qty-selector:focus-within {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px var(--sea-pale);
}
.qty-selector .qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
  transition: background .15s ease, color .15s ease;
}
.qty-selector .qty-btn:hover { background: var(--paper-warm); color: var(--ink); }
.qty-selector .qty-btn:active { background: var(--paper-mid); }
.qty-selector .qty-btn:disabled { color: var(--ink-faint); cursor: not-allowed; background: transparent; }
.qty-selector input {
  width: 44px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  background: transparent;
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: .95rem;
  font-weight: 500;
  padding: 0 4px;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add-to-cart — primary */
.btn-add-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--pa-h);
  padding: 0 26px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  /* border-radius: var(--pa-radius); */
  font-family: var(--f-button, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background .25s ease, color .25s ease, border-color .25s ease,
              transform .15s ease, box-shadow .2s ease;
}
.btn-add-cart::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #4ec1c2;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}
.btn-add-cart i { font-size: .95rem; transition: transform .25s ease; }
.btn-add-cart:hover:not(.btn-add-cart--notify),
.btn-add-cart:active:not(.btn-add-cart--notify),
.btn-add-cart.is-added:not(.btn-add-cart--notify) {
  background-color: #4ec1c2;
  color: var(--ink);
  border-color: #4ec1c2;
}
.btn-add-cart:hover:not(.btn-add-cart--notify) {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(78,193,194,.75);
}
.btn-add-cart:hover i { transform: scale(1.12); }
.btn-add-cart:active:not(.btn-add-cart--notify) { transform: translateY(0); box-shadow: none; }
.btn-add-cart:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--sea-pale), 0 0 0 4px #4ec1c2; }
.btn-add-cart.is-added::before { opacity: 1; }
.btn-add-cart.is-added i { animation: buyPop .4s ease; }
@keyframes buyPop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.btn-add-cart:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Notify variant — softer, secondary */
.btn-add-cart--notify {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-add-cart--notify::before { background: var(--sea-wash); }
.btn-add-cart--notify:hover { color: var(--sea-deep); border-color: var(--sea-deep); }
.btn-add-cart--notify:hover::before { opacity: 1; }
.btn-add-cart--notify:hover i { transform: scale(1.08); }

/* Wishlist */
.btn-wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--pa-h);
  height: var(--pa-h);
  padding: 0;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: var(--pa-radius);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .15s ease;
}
.btn-wishlist:hover { border-color: #c2416a; color: #c2416a; transform: translateY(-1px); }
.btn-wishlist:active { transform: translateY(0); }
.btn-wishlist-on {
  color: #c2416a;
  background: rgba(194, 65, 106, .08);
  border-color: rgba(194, 65, 106, .4);
}
.btn-wishlist-on:hover { color: #a02d52; background: rgba(194, 65, 106, .14); border-color: #c2416a; }

@media (max-width: 520px) {
  .product-actions { --pa-h: 46px; gap: 8px; }
  .btn-add-cart { padding: 0 18px; font-size: .8rem; letter-spacing: .06em; flex: 1; }
  .btn-add-cart--notify { flex: 1; }
}
.product-details-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 24px; }
.product-details-table th { text-align: left; color: var(--ink-faint); font-family: var(--f-mono); font-weight: 500; padding: 6px 0; width: 130px; font-size: .82rem; letter-spacing: .03em; }
.product-details-table td { padding: 6px 0; border-bottom: 1px solid var(--border-soft); }
.product-description { margin-bottom: 24px; }
.product-description h3 { font-family: var(--f-heading); font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.btn-preview { display: inline-flex; align-items: center; gap: 8px; color: var(--sea); font-size: .9rem; border: 1px solid var(--sea-pale); padding: 8px 16px; border-radius: 6px; }

/* ── WAITLIST ── */

.waitlist-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.waitlist-form { display: flex; gap: 12px; margin-top: 20px; }
.waitlist-form input { flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--f-body); }
.waitlist-form button { background: var(--sea-deep); color: white; padding: 10px 24px; border-radius: 6px; font-family: var(--f-heading); white-space: nowrap; }
@media (max-width: 768px){
  .waitlist-form { display: flex; flex-direction: column; }
}
/* ── CHECKOUT ── */
.checkout-page { max-width: 1100px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.checkout-title { font-family: var(--f-display); font-size: 2rem; margin-bottom: 32px; }
.checkout-section { background: white; border-radius: 8px; padding: 28px; margin-bottom: 20px; }
.checkout-section-title { font-family: var(--f-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 20px; }
.checkout-login-hint { font-size: .9rem; color: var(--ink-soft); margin-bottom: 16px; }
.checkout-login-hint a { color: var(--sea); }
.delivery-options, .payment-options { display: flex; flex-direction: column; gap: 10px; }
.delivery-option, .payment-option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; font-family: var(--f-mono); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; transition: border-color .2s; }
.delivery-option:has(input:checked), .payment-option:has(input:checked) { border-color: var(--sea); background: var(--sea-wash); }
.delivery-option-inner { display: flex; flex: 1; justify-content: space-between; align-items: center; }
.delivery-name, .payment-option span { font-family: var(--f-mono); font-weight: 500; font-size: .9rem; }
.delivery-time { color: var(--ink-faint); font-size: .82rem; }
.delivery-price { font-weight: 600; font-size: .9rem; }
.payment-option-inner { display: flex; align-items: center; gap: 12px; }
.checkout-terms { margin-bottom: 24px; font-size: .88rem; font-family: var(--f-mono); }
.checkout-terms a { color: var(--sea); }

.checkout-consents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 20px;
}
.co-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: .86rem;
  line-height: 1.4;
  color: var(--ink-soft);
  user-select: none;
}
.co-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--sea);
}
.co-consent a { color: var(--sea); text-underline-offset: 2px; }
.co-consent-error {
  color: #ef4444;
  font-size: .8rem;
}
.btn-place-order { width: 100%; background: var(--ink);
  color: var(--paper);
  padding: 16px 32px;
  border-radius: 8px;
  font-family: var(--f-mono); font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s, opacity .2s; }
.btn-place-order:hover,
.btn-place-order:focus-visible,
.co-sticky-submit:hover,
.co-sticky-submit:focus-visible { background: #4ec1c2; color: var(--ink); box-shadow: 0 10px 22px -10px rgba(78,193,194,.7); }
.btn-place-order:active,
.co-sticky-submit:active { background: #4ec1c2; color: var(--ink); transform: translateY(1px); }
.btn-place-order i,
.co-sticky-submit i { transition: transform .2s; }
.btn-place-order:hover i,
.co-sticky-submit:hover i { transform: translateX(4px); }

/* ── Submit button loading/disabled state ── */
.btn-place-order .btn-label-idle,
.co-sticky-submit .btn-label-idle { display: inline-flex; align-items: center; gap: 10px; }
.btn-place-order .btn-label-busy,
.co-sticky-submit .btn-label-busy { display: none; align-items: center; gap: 10px; }
.btn-place-order.is-loading .btn-label-idle,
.co-sticky-submit.is-loading .btn-label-idle { display: none; }
.btn-place-order.is-loading .btn-label-busy,
.co-sticky-submit.is-loading .btn-label-busy { display: inline-flex; }
.btn-place-order:disabled,
.co-sticky-submit:disabled { cursor: not-allowed; opacity: .85; }
.btn-place-order.is-loading,
.co-sticky-submit.is-loading { background: #4ec1c2; color: var(--ink); opacity: .92; }
.btn-place-order.is-loading:hover,
.co-sticky-submit.is-loading:hover { background: #4ec1c2; color: var(--ink); }

.btn-spinner {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spinner-rotate .7s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spinner-rotate { to { transform: rotate(360deg); } }
.order-summary { background: var(--paper-warm); border-radius: 8px; padding: 28px; position: sticky; top: calc(var(--header-h, 80px) + 20px); }
.order-summary h2 { font-family: var(--f-display); font-size: 1.4rem; margin-bottom: 20px; }
.order-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.order-item { display: flex; gap: 14px; align-items: flex-start; }
.order-item-img { position: relative; flex-shrink: 0; }
.order-item-img img { width: 56px; height: 76px; object-fit: cover; border-radius: 3px; }
.order-item-qty { position: absolute; top: -6px; right: -6px; background: var(--ink); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-family: var(--f-heading); }
.order-item-title { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.order-item-author { font-size: .82rem; color: var(--ink-soft); }
.order-item-vendor {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sea-wash, #f0f8fa);
  border: 1px solid var(--sea-pale, #deeef2);
  font-size: .72rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.order-item-vendor i { font-size: .66rem; color: var(--sea); }
.order-item-vendor-own { background: var(--paper-mid, #f6f4ee); border-color: var(--border); }
.order-item-vendor-own i { color: var(--ink-faint); }
.order-item-price { margin-left: auto; font-family: var(--f-heading); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.order-totals { display: flex; flex-direction: column; gap: 10px; }
.order-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-soft); }
.order-total { font-family: var(--f-heading); font-size: 1.1rem; font-weight: 700; color: var(--ink); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.free-shipping-bar { margin-top: 20px; font-size: .85rem; }
.fsb-track { height: 4px; background: var(--paper-mid); border-radius: 2px; margin-top: 8px; }
.fsb-fill  { height: 100%; background: var(--sea); border-radius: 2px; transition: width .4s; }
.free-shipping-achieved { color: #2a6a3a; font-size: .85rem; margin-top: 16px; }
.vendor-parcel-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-top: 14px;
  background: var(--sea-wash, #f0f8fa);
  border: 1px solid var(--sea-pale, #deeef2);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.vendor-parcel-notice i { color: var(--sea); margin-top: 2px; }
.vendor-parcel-notice strong { color: var(--ink); }

/* ── Narudžba: isti urednički izgled kao ostatak shopa ── */
.checkout-page {
  max-width: 1180px;
  padding: 28px 32px 72px;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .82fr);
  gap: 16px 36px;
}
.checkout-heading {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
  font-family: var(--f-display);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.checkout-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 22px 24px 18px;
  margin-bottom: 12px;
}
.checkout-section-title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.checkout-form-col { counter-reset: co-step; }
.checkout-section-title::before {
  counter-increment: co-step;
  content: counter(co-step, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--sea-deep);
}
.checkout-form-col .form-group input,
.checkout-form-col .form-group select,
.checkout-form-col .form-group textarea {
  border-radius: 0;
  background: var(--paper);
  border-color: rgba(26,26,24,.16);
}
.checkout-form-col .form-group input,
.checkout-form-col .form-group select { min-height: 46px; }
.checkout-form-col .form-group textarea { min-height: 92px; }
.checkout-form-col .form-group input:focus,
.checkout-form-col .form-group select:focus,
.checkout-form-col .form-group textarea:focus {
  border-color: var(--sea-deep);
  box-shadow: 0 0 0 3px var(--sea-pale);
}
.delivery-option, .payment-option {
  font-family: var(--f-heading);
  border-radius: 0;
  background: var(--paper);
}
.delivery-name, .payment-option span { font-family: var(--f-heading); font-size: 16px; }
.delivery-option:has(input:checked),
.payment-option:has(input:checked) {
  border-color: var(--ink);
  background: var(--sea-wash);
  box-shadow: inset 3px 0 0 var(--sea-deep);
}
.btn-place-order {
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--f-button, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.order-summary {
  border: 1px solid var(--border);
  border-radius: 2px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.order-summary h2 { font-size: 28px; font-weight: 500; }
.order-item-title { font-family: var(--f-display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.order-item-author { font-family: var(--f-body); font-style: italic; }
.order-total { font-family: var(--f-display); font-size: 26px; font-weight: 600; align-items: baseline; }



/* ── SUCCESS PAGE ── */
.success-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.success-inner { text-align: center; max-width: 500px; }
.success-icon { font-size: 4rem; color: #2a6a3a; margin-bottom: 24px; }
.success-inner h1 { font-family: var(--f-display); font-size: 2.5rem; margin-bottom: 16px; }
.success-order-num { font-family: var(--f-mono); font-size: 1rem; color: var(--ink-soft); margin-bottom: 12px; }
.success-info { color: var(--ink-soft); margin-bottom: 32px; }
.success-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── ACCOUNT ── */
.account-page { max-width: 1200px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.account-nav { position: sticky; top: calc(var(--header-h, 80px) + 20px); }
.account-user { padding: 20px;  border-radius: 8px; margin-bottom: 12px; text-align: center; }
.account-avatar { font-size: 2.5rem; color: var(--sea); margin-bottom: 8px; }
.account-user-name { font-family: var(--f-heading); font-weight: 600; }
.account-user-email { font-size: .82rem; color: var(--ink-faint); font-family: var(--f-mono); }
.account-menu { display: flex; flex-direction: column; gap: 2px; }
.account-menu a, .account-logout { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 6px; color: var(--ink-soft); font-family: var(--f-heading); font-size: .9rem; transition: background .15s, color .15s; width: 100%; text-align: left; }
.account-menu a:hover, .account-logout:hover { background: var(--paper-mid); color: var(--ink); }
.account-menu a.active { background: var(--sea-pale); color: var(--sea); font-weight: 600; }
.account-menu .nav-badge {
  background: #10b981;
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  margin-left: auto;
  line-height: 1.4;
}
.account-content h1 { font-family: var(--f-display); font-size: 2rem; margin-bottom: 32px; }
.account-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.dashboard-card { border-radius: 8px; padding: 24px; display: flex; align-items: center; gap: 16px; position: relative; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.dashboard-card:hover { border-color: var(--sea-deep); box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.dc-icon { font-size: 2rem; color: var(--sea); }
.dc-number { font-family: var(--f-heading); font-size: 2rem; font-weight: 700; }
.dc-label  { font-size: .85rem; color: var(--ink-soft); }
.dc-link { position: absolute; bottom: 12px; right: 16px; font-size: .8rem; color: var(--sea); font-family: var(--f-mono); }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; font-family: var(--f-heading); font-size: .82rem; letter-spacing: .03em; color: var(--ink-faint); border-bottom: 2px solid var(--border); padding: 8px 12px; }
.orders-table td { padding: 12px; border-bottom: 1px solid var(--border-soft); font-size: .9rem; }
.order-status { padding: 3px 10px; border-radius: 4px; font-family: var(--f-mono); font-size: .75rem; }
.status-pending    { background: #fff3cd; color: #856404; }
.status-paid       { background: #d4edda; color: #155724; }
.status-processing { background: var(--sea-pale); color: var(--sea-deep); }
.status-shipped    { background: var(--sea-wash); color: var(--sea-deep); border: 1px solid var(--sea-pale); }
.status-delivered  { background: #d4edda; color: #155724; }
.status-cancelled  { background: #f8d7da; color: #721c24; }
.status-accepted   { background: var(--sea-pale); color: var(--sea-deep); }
.status-returned   { background: #f8d7da; color: #721c24; }

/* ── SELL PAGE ── */
.sell-page .sell-hero { margin-bottom: 40px; }
.sell-page .sell-hero h1 { font-family: var(--f-display); font-size: 3rem; }
.sell-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; }
.sell-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.sell-form { display: flex; flex-direction: column; gap: 20px; }
.sell-info-box { background: var(--paper-warm);border-radius: 8px; padding: 24px; margin-bottom: 16px; }
.sell-info-box h3 { font-family: var(--f-heading); font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.sell-info-box ul { padding-left: 20px; }
.sell-info-box li { margin-bottom: 6px; font-size: .9rem; color: var(--ink-soft); }
.sell-info-box p  { font-size: .9rem; color: var(--ink-soft); }
.sell-info-box a  { color: var(--sea); }

/* ── EVENTS ── */
.events-list { display: flex; flex-direction: column; gap: 32px; }
.event-full-card { display: grid; grid-template-columns: 320px 1fr; gap: 32px; background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.event-full-img img { width: 100%; height: 100%; object-fit: cover; }
.event-full-info { padding: 28px; }
.event-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.event-date-badge { text-align: center; background: var(--ink); color: white; border-radius: 6px; padding: 8px 14px; }
.ev-day   { display: block; font-family: var(--f-heading); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.ev-month { display: block; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.event-type-badge { background: var(--sea-pale); color: var(--sea); padding: 4px 12px; border-radius: 20px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.event-full-title { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 12px; }
.event-full-title a { color: inherit; }
.event-datetime, .event-location { font-family: var(--f-heading); font-size: .88rem; color: var(--ink-soft); margin-bottom: 6px; }
.event-datetime i, .event-location i { color: var(--sea); margin-right: 6px; }
.event-excerpt { margin: 16px 0; color: var(--ink-soft); font-size: .95rem; }
.event-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.event-free-badge { background: #d4edda; color: #155724; padding: 4px 12px; border-radius: 20px; font-family: var(--f-mono); font-size: .75rem; }
.event-ticket-price { font-family: var(--f-heading); font-weight: 600; }
.archive-promo { text-align: center; padding: 48px; background: var(--paper-warm); border-radius: 8px; margin-top: 48px; }

/* ── EVENT DETAIL ── */
/* Plakati najava su najčešće portretni i manji od širine sadržaja, pa se slika
   centrira u okviru i nikad ne rasteže preko svoje prirodne veličine. */
.event-detail-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 24px;
  /* background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: 8px; */
}
.event-detail-banner img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(26, 26, 24, .12);
}
@media (max-width: 640px) {
  .event-detail-banner { padding: 14px; margin-bottom: 24px; }
  .event-detail-banner img { max-height: 420px; }
}
.event-detail-header h1 { font-family: var(--f-display); font-size: 2.5rem; margin: 16px 0; }
.event-detail-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--ink-soft); font-family: var(--f-heading); font-size: .9rem; margin-bottom: 32px; }
.event-detail-meta i { color: var(--sea); margin-right: 6px; }
.event-detail-body { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.event-detail-body p { margin-bottom: 20px; }
.event-video { margin: 40px 0; }
.video-embed { position: relative; padding-top: 56.25%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; }

/* ── NEWS ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; margin-bottom: 48px; }
.news-card { background: white; overflow: hidden; transition: box-shadow .2s; }
/* .news-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); } */
.news-card-img-link img { width: 100%; height: 500px; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-category { font-family: var(--f-mono); font-size: .75rem; color: var(--sea); letter-spacing: .06em; text-transform: uppercase; }
.news-title { font-family: var(--f-display); font-size: 1.3rem; margin: 8px 0; line-height: 1.3; }
.news-title a { color: inherit; }
.news-meta { font-family: var(--f-heading); font-size: .82rem; color: var(--ink-faint); margin-bottom: 12px; }
.news-excerpt { color: var(--ink-soft); font-size: .9rem; margin-bottom: 16px; }
.news-read-more { color: var(--sea); font-family: var(--f-heading); font-size: .88rem; }
.article-page { max-width: 780px; margin: 0 auto; }
.article-header { margin-bottom: 32px; }
.article-header h1 { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0; }
.article-hero-img img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 8px; margin-bottom: 40px; }
.article-body { font-size: 1.05rem; line-height: 1.9; color: var(--ink); }
.article-body p { margin-bottom: 24px; }
.article-body h2, .article-body h3 { font-family: var(--f-display); margin: 32px 0 16px; }
.article-books { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 40px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; border-top: 1px solid var(--border); padding-top: 32px; }
.article-nav-prev, .article-nav-next { display: flex; flex-direction: column; gap: 4px; max-width: 45%; }
.article-nav-next { text-align: right; margin-left: auto; }
.article-nav span { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-faint); }
.article-nav strong { font-family: var(--f-display); font-size: 1rem; }

/* ── ABOUT ── */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; align-items: center; }
.about-hero-text h1 { font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 4rem); }
.about-tagline { font-size: 1.2rem; color: var(--sea); font-family: var(--f-display); font-style: italic; margin-bottom: 16px; }
.about-hero-img img { width: 100%; border-radius: 8px; }
.about-section { margin-bottom: 64px; }
.about-section h2 { font-family: var(--f-display); font-size: 2rem; margin-bottom: 32px; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.about-card { background: var(--paper-warm); border-radius: 8px; padding: 28px; }
.about-card-icon { font-size: 2rem; color: var(--sea); margin-bottom: 14px; }
.about-card h3 { font-family: var(--f-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.about-card p  { font-size: .9rem; color: var(--ink-soft); }
.about-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.contact-list i  { color: var(--sea); width: 20px; }
.about-social { display: flex; gap: 12px; margin-top: 20px; }
.social-link { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--f-heading); font-size: .85rem; transition: border-color .2s, color .2s; }
.social-link:hover { border-color: var(--sea-deep); color: var(--sea-deep); }
.map-placeholder { background: var(--paper-mid); border-radius: 8px; height: 280px; overflow: hidden; }
.map-placeholder iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--sea); font-family: var(--f-heading); }
.map-link i { font-size: 2.5rem; }
.about-map .map-link-sm { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }

/* ── CONTACT ── */
.contact-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 56px; }
.contact-quick-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper-warm); border: 1px solid transparent; border-radius: 10px;
  padding: 26px 24px 22px; color: inherit;
  transition: border-color .2s, background .2s, transform .2s;
}
a.contact-quick-card:hover { background: var(--sea-wash); border-color: var(--sea-light); transform: translateY(-2px); }
.cq-icon { font-size: 1.35rem; color: var(--sea); margin-bottom: 10px; }
.cq-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.cq-value { font-family: var(--f-display); font-size: 1.3rem; line-height: 1.25; word-break: break-word; }
.cq-note { font-size: .84rem; color: var(--ink-soft); margin-top: 6px; }

.contact-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.contact-panel { background: var(--paper-warm); border-radius: 10px; padding: 26px 28px; margin-bottom: 24px; }
.contact-panel:last-child { margin-bottom: 0; }
.contact-panel h2 {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 1.3rem; margin-bottom: 18px;
}
.contact-panel h2 i { font-size: .95rem; color: var(--sea); }
.contact-panel .hours-table + .contact-panel-note { margin-top: 16px; }
.contact-panel-note { font-size: .86rem; color: var(--ink-soft); line-height: 1.7; }
.contact-address { font-size: .95rem; line-height: 1.8; margin-bottom: 14px; }
.contact-panel .map-placeholder { height: 240px; margin-top: 20px; background: var(--paper-mid); }
.contact-panel .map-link-sm { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; }
.contact-panel .about-social { margin-top: 0; flex-wrap: wrap; }
.contact-links { list-style: none; display: flex; flex-direction: column; }
.contact-links li + li { border-top: 1px solid var(--border-soft); }
.contact-links a { display: block; padding: 11px 0; font-size: .92rem; color: var(--ink-soft); transition: color .2s, padding-left .2s; }
.contact-links a:hover { color: var(--sea); padding-left: 5px; }

.contact-info-box { background: var(--paper-warm); border-radius: 8px; padding: 20px 24px; margin-bottom: 16px; }
.contact-info-box h3 { font-family: var(--f-heading); font-size: .95rem; font-weight: 600; margin-bottom: 10px; }
.contact-info-box p { font-size: .9rem; color: var(--ink-soft); }
.contact-info-box a { color: var(--sea); }
.hours-table { width: 100%; font-size: .88rem; }
.hours-table td { padding: 4px 0; color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-family: var(--f-mono); }
.map-link-sm { color: var(--sea); font-size: .88rem; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; font-family: var(--f-heading); font-size: 1rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; color: var(--ink); }
.faq-q:hover { color: var(--sea); }
.faq-arrow { color: var(--sea); font-size: 1.2rem; flex-shrink: 0; }
.faq-a { display: none; padding: 0 0 20px; color: var(--ink-soft); line-height: 1.8; max-width: 720px; }
.faq-a.faq-a--open { display: block; }
.faq-a p { margin-bottom: .75rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ol, .faq-a ul { padding-left: 1.4rem; margin-bottom: .75rem; display: flex; flex-direction: column; gap: .6rem; }
.faq-a ol { list-style: decimal; }
.faq-a ul { list-style: disc; }
.faq-cta { margin-top: 40px; text-align: center; color: var(--ink-soft); }
.faq-cta a { color: var(--sea); }

/* ── PAYMENT INFO PAGE ── */
.payment-info-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .payment-info-layout { grid-template-columns: 1fr; } .payment-toc { display: none; } }
.payment-toc { position: sticky; top: 80px; background: var(--paper-warm); border: 1px solid var(--border); border-radius: 8px; padding: 20px; font-size: .875rem; }
.payment-toc-title { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); margin-bottom: 12px; font-weight: 600; }
.payment-toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.payment-toc a { color: var(--ink-soft); text-decoration: none; line-height: 1.4; display: block; }
.payment-toc a:hover { color: var(--sea); }
.payment-delivery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.payment-delivery-card { background: var(--paper-warm); border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; }
.payment-delivery-card h3 { font-size: .95rem; margin-bottom: 8px; }
.payment-delivery-card p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.payment-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.payment-table th { background: var(--paper-warm); text-align: left; padding: 10px 14px; border-bottom: 2px solid var(--border); font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.payment-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.payment-table tbody tr:last-child td { border-bottom: none; }
.payment-tables-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 20px 0; }
@media (max-width: 640px) { .payment-tables-row { grid-template-columns: 1fr; } }
.payment-highlight { background: #eaf5ed; border-left: 3px solid var(--sea); border-radius: 0 6px 6px 0; padding: 14px 18px; margin: 20px 0; font-size: .93rem; color: var(--ink); line-height: 1.7; }

/* ── LEGAL ── */
.legal-body { max-width: 780px; }
.legal-body h2 { font-family: var(--f-display); font-size: 1.4rem; margin: 40px 0 12px; border-top: 1px solid var(--border); padding-top: 32px; }
.legal-body h3 { font-family: var(--f-heading); font-size: 1.05rem; font-weight: 700; margin: 24px 0 10px; color: var(--ink); }
.legal-body p  { color: var(--ink-soft); font-size: .95rem; margin-bottom: 12px; line-height: 1.8; }
.legal-body ul, .legal-body ol { color: var(--ink-soft); font-size: .95rem; padding-left: 1.4rem; margin-bottom: 16px; display: flex; flex-direction: column; gap: .4rem; line-height: 1.7; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body a { color: var(--sea); }
.legal-lead { font-style: italic; color: var(--ink-faint) !important; }
.legal-infobox { background: var(--paper-warm); border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; margin: 20px 0 24px; }
.legal-infobox p { margin-bottom: 6px !important; font-size: .9rem !important; }
.legal-form-box { background: var(--paper-warm); border: 2px dashed var(--border); border-radius: 8px; padding: 28px 32px; margin: 24px 0; }
.legal-form-box p { margin-bottom: 14px !important; }
.legal-blank { display: inline-block; border-bottom: 1px solid var(--ink-faint); min-width: 180px; }

/* ── NAKLADA ── */
.naklada-hero { border-bottom: 1px solid var(--border); padding-bottom: 40px; margin-bottom: 48px; }
.naklada-hero h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 300; line-height: 1.1; margin-bottom: 16px; }

.featured-izdanje {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--paper-warm);
  padding: 40px;
  margin-bottom: 56px;
}

.btn-outline{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 11px 24px;
  border-radius: 6px;
  font-family: var(--f-heading);
  transition: all .2s;
}
.featured-izdanje-img { position: relative; }
.featured-izdanje-img img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  /* background: var(--paper-mid); */
  display: block;
}
.featured-izdanje-info { display: flex; flex-direction: column; gap: 0; }
.featured-label {
  font-family: var(--f-mono); font-size: .72rem; color: var(--sea);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.featured-izdanje h2 {
  font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300; line-height: 1.15; margin: 0 0 6px;
}
.featured-author {
  font-family: var(--f-author); font-size: .95rem;
  color: var(--ink-soft); margin-bottom: 20px; font-style: italic;
}
.featured-izdanje-info p {
  font-size: .95rem; line-height: 1.8; color: var(--ink-soft);
  margin-bottom: 24px;
  display: -webkit-box; -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; overflow: hidden;
}
.featured-price {
  font-family: var(--f-heading); font-size: 1.8rem; font-weight: 700;
  color: var(--ink); margin-bottom: 20px;
}
.featured-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.naklada-grid-title { margin-top: 56px; margin-bottom: 32px; }

.about-naklada {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 40px;
  margin-bottom: 64px;
}
.about-naklada h2 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 300; margin-bottom: 20px; }
.about-naklada p { color: var(--ink-soft); line-height: 1.85; margin-bottom: 14px; max-width: 680px; }

@media (max-width: 768px) {
  .featured-izdanje { grid-template-columns: 1fr; gap: 20px; padding: 0 0 24px; }
  .featured-izdanje-img { max-width: none; width: 100%; }
  .featured-izdanje-img img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
  .featured-izdanje-info { padding: 0 20px; }
  .about-naklada { gap: 28px; margin-bottom: 40px; }
}

/* ── WISHLIST EMPTY ── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 4rem; color: var(--ink-faint); margin-bottom: 20px; display: block; }
.empty-state h2 { font-family: var(--f-display); font-size: 1.8rem; margin-bottom: 12px; }
.empty-state p { color: var(--ink-soft); margin-bottom: 28px; }

/* ── PAGINATION ── */
.pagination-wrap { padding: 40px 0; display: flex; justify-content: center; max-width: 100%; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; max-width: 100%; }
.page-btn { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--f-heading); font-size: .9rem; color: var(--ink); transition: all .2s; }
.page-btn.active { background: var(--ink); color: white; border-color: var(--ink); }
.page-btn.disabled { color: var(--ink-faint); cursor: not-allowed; }
.page-btn:not(.disabled):not(.active):hover { border-color: var(--sea-deep); color: var(--sea-deep); }
.page-btn--gap-mobile { display: none; }

@media (max-width: 640px) {
  .pagination-wrap { padding: 24px 0; }
  .pagination { gap: 6px; padding: 0; }
  .page-btn { min-width: 36px; height: 36px; padding: 0 6px; font-size: .85rem; }
  .page-btn--far, .page-btn--gap { display: none; }
  .page-btn--gap-mobile { display: flex; min-width: 18px; padding: 0 2px; border-color: transparent; }
}

@media (max-width: 400px) {
  .pagination { gap: 4px; }
  .page-btn { min-width: 32px; height: 32px; padding: 0 4px; font-size: .8rem; }
}

/* ── BUTTONS ── */
/* .btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); padding: 12px 28px; border-radius: 6px; font-family: var(--f-heading); font-weight: 500; transition: background .2s; }
.btn-primary:hover { background: var(--sea-deep); }
.btn-outline  { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); color: var(--ink); padding: 12px 28px; border-radius: 6px; font-family: var(--f-heading); transition: all .2s; }
.btn-outline:hover { border-color: var(--sea-deep); color: var(--sea-deep); }
.btn-sm { padding: 6px 14px; font-size: .82rem; } */

/* ── ARCHIVE YEAR FILTER ── */
.archive-year-filter { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.year-btn { padding: 8px 20px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--f-mono); font-size: .85rem; transition: all .2s; }
.year-btn.active { background: var(--ink); color: white; border-color: var(--ink); }
.year-btn:hover:not(.active) { border-color: var(--sea-deep); color: var(--sea-deep); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .product-page, .account-page { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-hero, .contact-cols, .sell-content-grid, .about-contact-grid, .featured-izdanje { grid-template-columns: 1fr; }
  .contact-quick { gap: 12px; margin-bottom: 36px; }
  .contact-quick-card { padding: 20px 18px 18px; }
  .cq-value { font-size: 1.15rem; }
  .contact-panel { padding: 20px 18px; margin-bottom: 16px; }
  .contact-panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
  .contact-panel .map-placeholder { height: 150px; }
  .event-full-card { grid-template-columns: 1fr; }
  .event-full-img { display: none; }
  .page-content { padding: 24px 16px 60px; }
  .auth-card { padding: 32px 20px; }
}

/* ══════════════════════════════════════════
   CHECKOUT — MOBILE-FIRST RESPONSIVE DESIGN
   ══════════════════════════════════════════ */

/* Desktop: hide mobile-only elements; show summary body always */
.co-summary-toggle { display: none; }
.co-sticky-bar     { display: none; }

/* summary body always visible on desktop */
@media (min-width: 641px) {
  .co-summary-body { display: block !important; }
}

/* --- Tablet (≤900px) --- */
@media (max-width: 900px) {
  .checkout-page {
    grid-template-columns: 1fr;
    max-width: 640px;
    padding: 24px 20px 100px;
    gap: 0;
  }

  .checkout-form-col { order: 2; }
  .checkout-summary-col { order: 1; margin-bottom: 24px; }

  .order-summary {
    position: static;
    padding: 20px 22px;
    max-height: none;
  }
  .checkout-heading { font-size: 36px; }

  .checkout-section { padding: 20px; }
}

/* --- Mobile (≤640px) --- */
@media (max-width: 640px) {
  .checkout-page {
    padding: 0 0 120px;
    gap: 0;
  }

  /* ── Summary: collapsible panel at top ── */
  .checkout-summary-col {
    order: 1;
    background: var(--paper-warm);
    border-bottom: 2px solid var(--border);
    padding: 0;
  }

  .order-summary {
    position: static;
    background: transparent;
    border-radius: 0;
    padding: 16px;
  }

  .order-summary h2 { display: none; }

  /* Mobile toggle header for summary */
  .co-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--border);
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: .95rem;
  }
  .co-summary-toggle .co-sum-total {
    font-family: var(--f-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
  }
  .co-summary-toggle .co-sum-chevron {
    transition: transform .25s;
    color: var(--ink-soft);
    font-size: .8rem;
    margin-left: 8px;
  }
  .co-summary-toggle.open .co-sum-chevron { transform: rotate(180deg); }
  .co-summary-body { display: none; }
  .co-summary-body.open { display: block; padding: 0 16px 16px; }

  /* ── Form column ── */
  .checkout-form-col {
    order: 2;
    padding: 0 12px;
  }

  .checkout-section {
    padding: 18px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .checkout-section-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  /* Prevent iOS input zoom (16px minimum). Checkbox/radio ostaju kompaktni. */
  .checkout-form-col input:not([type="checkbox"]):not([type="radio"]),
  .checkout-form-col select,
  .checkout-form-col textarea {
    font-size: 16px !important;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .checkout-form-col label:not(.co-consent) {
    font-size: .82rem;
    margin-bottom: 5px;
  }

  /* Phone prefix row */
  .co-phone-prefix { gap: 8px; }
  .co-phone-prefix select { width: 84px; font-size: 15px !important; padding: 12px 6px; }

  /* ── Delivery options ── */
  .delivery-option {
    padding: 14px 12px;
    border-radius: 10px;
    gap: 10px;
    min-height: 56px;
  }

  .delivery-option input[type="radio"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--sea);
  }

  .delivery-option-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    flex: 1;
  }

  .delivery-name   { grid-column: 1; grid-row: 1; font-size: .88rem; }
  .delivery-time   { grid-column: 1; grid-row: 2; font-size: .75rem; color: var(--ink-faint); }
  .delivery-price  { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .9rem; font-weight: 700; white-space: nowrap; }

  /* ── Payment options ── */
  .payment-option {
    padding: 14px 12px;
    border-radius: 10px;
    min-height: 52px;
  }

  .payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--sea);
  }

  .payment-option-inner { gap: 10px; }
  .payment-option-inner i { font-size: 1.1rem; color: var(--ink-soft); width: 20px; text-align: center; }
  .payment-option span { font-size: .88rem; }

  /* ── Terms & submit ── */
  .checkout-terms { font-size: .84rem; }
  .checkout-terms label { display: flex; align-items: flex-start; gap: 10px; }
  .checkout-terms input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

  .checkout-consents { gap: 8px; margin: 8px 0 14px; }
  .checkout-form-col .co-consent {
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: .82rem;
    line-height: 1.4;
  }
  .checkout-form-col .co-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    padding: 0;
  }

  /* Hide default submit button — sticky bar takes over */
  .btn-place-order { display: none; }

  /* ── Sticky bottom bar ── */
  .co-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20000;
    background: white;
    border-top: 1px solid var(--border);
    padding: 12px 16px env(safe-area-inset-bottom, 12px);
    box-shadow: 0 -4px 24px rgba(0,0,0,.10);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .co-sticky-total {
    flex: 1;
    min-width: 0;
  }
  .co-sticky-total .co-st-label { font-size: .72rem; color: var(--ink-faint); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .5px; }
  .co-sticky-total .co-st-amount { font-family: var(--f-heading); font-weight: 700; font-size: 1.1rem; color: var(--ink); }

  .checkout-heading { font-size: 32px; margin: 0; padding: 18px 16px 4px; }
  .order-summary { max-height: none; overflow: visible; border: none; }
  .co-sticky-submit {
    flex-shrink: 0;
    background: var(--ink);
    color: var(--paper);
    padding: 14px 18px;
    border-radius: 0;
    font-family: var(--f-button, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
  }
  .co-sticky-submit:active { background: #4ec1c2; color: var(--ink); }

  /* ── Order items compact ── */
  .order-items { gap: 12px; margin-bottom: 16px; padding-bottom: 14px; }
  .order-item-img img { width: 48px; height: 64px; }
  .order-item-title { font-size: .85rem; }
  .order-item-price { font-size: .85rem; }

  /* ── GLS / BoxNow maps ── */
  #glsmap, #boxnowmap { height: 300px !important; min-height: 300px !important; border-radius: 10px; }

  /* ── Breadcrumb ── */
  .breadcrumb-bar { padding: 10px 14px; font-size: .78rem; }

  /* ── R1 / diff-ship panels ── */
  .co-r1-fields { padding: 12px 12px; }
  .co-diff-ship { padding: 14px 12px; }

  /* ── Dropdown suggestions ── */
  .pc-dropdown-item { padding: 12px 14px; }
  .pc-dropdown { border-radius: 0 0 8px 8px; }

  /* ── Free shipping bar ── */
  .free-shipping-bar { margin-top: 14px; font-size: .82rem; }
  .free-shipping-achieved { font-size: .82rem; }
}

/* --- Very small (≤380px) --- */
@media (max-width: 380px) {
  .checkout-section { padding: 14px 12px; border-radius: 10px; }
  .co-sticky-submit { padding: 13px 16px; font-size: .85rem; }
  .delivery-name { font-size: .82rem; }
}

/* ══════════════════════════════════════════
   ACCOUNT — MOBILE-FIRST RESPONSIVE DESIGN
   ══════════════════════════════════════════ */

/* Mobile-only / desktop-only helpers
   On desktop: hide .account-mobile-only, show .account-desktop-only as normal.
   On mobile (≤640px): swap. */
.account-mobile-only { display: none !important; }

/* --- Tablet & Mobile (≤900px) — full mobile-first redesign --- */
@media (max-width: 900px) {
  /* ── Page shell ── */
  .account-page {
    grid-template-columns: 1fr;
    padding: 0 0 96px;
    display: block;
    gap: 0;
    max-width: 100%;
    background: var(--paper);
  }
  .account-nav { position: static; top: auto; }

  /* Hide desktop-only artefacts, show mobile-only */
  .account-desktop-only { display: none !important; }
  .account-mobile-only { display: revert; }

  /* ── Compact user header (replaces sidebar avatar block) ── */
  .account-nav {
    background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    padding: 0;
  }
  .account-user {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin: 0;
    padding: 16px 16px 14px;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sea-pale);
    color: var(--sea);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
  }
  .account-user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .account-user-name {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-user-email {
    font-size: .78rem;
    color: var(--ink-faint);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Logout pill in user header */
  .account-user-logout {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--ink-soft);
    transition: background .15s, color .15s, border-color .15s;
  }
  .account-user-logout:hover,
  .account-user-logout:active { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

  /* ── Horizontal scrollable tab nav ── */
  .account-menu {
    flex-direction: row;
    gap: 6px;
    padding: 6px 12px 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .account-menu::-webkit-scrollbar { display: none; }

  .account-menu a {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--ink-soft);
    font-size: .85rem;
    font-weight: 500;
    gap: 8px;
    width: auto;
    line-height: 1;
  }
  .account-menu a i { font-size: .92rem; }
  .account-menu a.active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
  }
  .account-menu a:hover { background: var(--paper-warm); color: var(--ink); }
  .account-menu a.active:hover { background: var(--ink); color: #fff; }

  /* Hide the original full logout form button on mobile (use header icon) */
  .account-menu .account-logout-form { display: none; }

  /* Counter badge inside nav pill */
  .account-menu .nav-badge {
    background: var(--sea);
    color: #fff;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    margin-left: 2px !important;
  }
  .account-menu a.active .nav-badge { background: #fff; color: var(--ink); }

  /* ── Content ── */
  .account-content {
    padding: 18px 16px 8px;
  }
  .account-content h1 {
    font-size: 1.45rem;
    margin-bottom: 18px;
    line-height: 1.25;
  }
  .account-content h2 {
    font-size: 1.05rem;
    margin: 24px 0 12px;
  }

  /* ── Dashboard cards ── */
  .account-dashboard {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }
  .dashboard-card {
    padding: 16px 16px;
    border-radius: 12px;
    gap: 14px;
    align-items: center;
    min-height: 76px;
  }
  .dc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sea-pale);
    color: var(--sea);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  .dc-info { flex: 1; min-width: 0; }
  .dc-number { font-size: 1.5rem; line-height: 1.1; }
  .dc-label { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
  /* On mobile, the whole card is the link — replace small "Vidi sve →" text with a chevron */
  .dc-link {
    position: static;
    flex-shrink: 0;
    padding: 0;
    color: transparent;
    width: 16px;
    overflow: hidden;
  }
  .dc-link span { display: none; }
  .dc-link::after {
    content: "\f054"; /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .85rem;
    color: var(--ink-faint);
  }
  .dashboard-card:active { background: var(--paper-mid); }

  /* ── Recent orders ── */
  .recent-orders { margin-top: 4px; }
  .recent-orders h2 { margin-bottom: 10px; }

  /* ── Orders table → card list on mobile ── */
  .orders-table,
  .orders-table thead,
  .orders-table tbody,
  .orders-table tfoot,
  .orders-table tr,
  .orders-table th,
  .orders-table td {
    display: block;
    width: auto;
  }
  .orders-table thead { display: none; }
  .orders-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .orders-table tr {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 14px;
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .orders-table td {
    padding: 0;
    border: none;
    font-size: .9rem;
    color: var(--ink);
  }
  .orders-table td::before {
    content: attr(data-label);
    display: block;
    font-size: .7rem;
    color: var(--ink-faint);
    font-family: var(--f-mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
  /* No label on cells without data-label */
  .orders-table td:not([data-label])::before { content: none; }

  /* Action button cell — full width at bottom of card */
  .orders-table td[data-cell="actions"] {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .orders-table td[data-cell="actions"] a.btn-outline,
  .orders-table td[data-cell="actions"] a {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: .85rem;
    border: 1px solid var(--border);
    color: var(--ink);
  }

  /* Order number on its own row at top, full width */
  .orders-table td[data-cell="number"] {
    grid-column: 1 / -1;
    font-family: var(--f-mono);
    font-size: 1rem;
    font-weight: 700;
  }
  .orders-table td[data-cell="number"]::before { content: none; }
  /* Status pill stays right-aligned with the number */
  .orders-table tr { position: relative; }
  .orders-table td[data-cell="status"] {
    position: absolute;
    top: 14px;
    right: 14px;
  }
  .orders-table td[data-cell="status"]::before { content: none; }
  .orders-table td[data-cell="status"] .order-status { font-size: .72rem; padding: 4px 10px; }

  /* Empty state */
  .empty-state { padding: 48px 20px; }
  .empty-state i { font-size: 3rem; margin-bottom: 14px; }
  .empty-state h2 { font-size: 1.3rem; }

  /* ── Forms (profile, password) ── */
  .account-content .form-row { grid-template-columns: 1fr; gap: 0; }
  .account-content form {
    max-width: 100% !important;
    width: 100%;
  }
  .account-content .form-group input,
  .account-content .form-group select,
  .account-content .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    width: 100%;
  }
  .account-content .form-group label {
    font-size: .78rem;
    margin-top: 14px;
    margin-bottom: 4px;
  }
  .account-content .form-group:first-of-type label { margin-top: 0; }
  .account-content .btn-primary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: .82rem;
    border-radius: 10px;
    margin-top: 16px;
  }

  /* Alerts */
  .alert {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .88rem;
  }

  /* ── Address cards ── */
  .account-content .contact-info-box {
    max-width: 100% !important;
    padding: 14px 16px;
    border-radius: 10px;
  }
  .account-content .contact-info-box h3 { font-size: 1rem; margin-bottom: 6px; }
  .account-content .contact-info-box p  { font-size: .92rem; line-height: 1.55; }

  /* ── Order detail (account.order-show) ── */
  .account-content .order-detail-header {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px;
    margin-bottom: 18px !important;
  }
  .account-content .order-detail-header h1 {
    margin: 0;
    font-size: 1.3rem;
  }
  .account-content .order-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }
  .account-content .order-back-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 10px;
  }

  /* Inline action buttons (e.g. "Novi zahtjev za otkup") */
  .account-content > div > .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
  }

  /* ── Order-show: item card list ── */
  .order-items-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .order-item-row {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  .order-item-cover-wrap { flex-shrink: 0; }
  .order-item-cover {
    width: 52px;
    height: 76px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e5e2d8;
    background: #f3f1eb;
    display: block;
  }
  .order-item-body { flex: 1; min-width: 0; }
  .order-item-title-m {
    font-weight: 600;
    font-size: .94rem;
    line-height: 1.3;
    margin-bottom: 2px;
    word-wrap: break-word;
  }
  .order-item-author-m {
    font-size: .8rem;
    color: var(--ink-faint);
    margin-bottom: 8px;
  }
  .order-item-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: .88rem;
    color: var(--ink-soft);
    gap: 10px;
  }
  .order-item-line strong { color: var(--ink); font-size: .95rem; }

  .order-totals-mobile {
    background: var(--paper-warm);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
  }
  .otm-row {
    display: flex;
    justify-content: space-between;
    font-size: .92rem;
    color: var(--ink-soft);
  }
  .otm-total {
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
  }

  /* ── Coupons ── */
  .account-content .coupons-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .account-content .coupon-card {
    padding: 16px 16px;
    border-radius: 14px;
  }
  .account-content .coupon-value { font-size: 1.7rem; }
  .account-content .coupon-actions { flex-direction: column; gap: 8px; margin-top: 12px; }
  .account-content .coupon-btn { padding: 11px 14px; font-size: .88rem; border-radius: 10px; }
  .account-content .coupons-empty { padding: 36px 18px; border-radius: 12px; }
}

/* --- Very small phones (≤380px) --- */
@media (max-width: 380px) {
  .account-content { padding: 16px 12px 8px; }
  .account-content h1 { font-size: 1.3rem; }
  .account-user { padding: 14px 12px 12px; }
  .account-menu { padding: 6px 10px 10px; }
  .account-menu a { padding: 8px 12px; font-size: .82rem; }
  .dashboard-card { padding: 14px; min-height: 70px; }
  .dc-number { font-size: 1.35rem; }
  .orders-table tr { padding: 12px; }
}
