/* =========================================================
   ARTRISE ART — AUCTION LOT DETAIL PAGE (auctions/index.blade.php)
   Saare rules ".ar-lot-page" ke andar scoped hain.
   Colors / fonts ke variables artrise-theme.css (:root) se aate hain.
   Image zoom (#glasscase / zoomer) ki CSS ko chheda nahi gaya hai.
========================================================= */

.ar-lot-page {
  --lot-ink: var(--ar-ink, #141414);
  --lot-muted: var(--ar-muted, #4a4640);
  --lot-line: var(--ar-line, #dcd6cb);
  --lot-soft-line: #ebe6dd;
  --lot-gold: var(--ar-gold, #e5a918);
  --lot-gold-deep: var(--ar-gold-deep, #7a5908);
  --lot-serif: var(--ar-serif, 'Cormorant Garamond', Georgia, serif);
  --lot-sans: var(--ar-sans, 'Lato', sans-serif);

  background: #fff;
  color: var(--lot-ink);
  font-family: var(--lot-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.ar-lot-page a,
.ar-lot-page a:hover,
.ar-lot-page a:focus { text-decoration: none; }

.ar-lot-wrap {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

/* =========================================================
   TOP BAR
========================================================= */
.ar-lot-topbar {
  border-bottom: 1px solid var(--lot-soft-line);
  background: #fff;
}

.ar-lot-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.ar-lot-page .ar-lot-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lot-ink);
  transition: color 0.25s ease;
}
.ar-lot-page .ar-lot-back i { font-size: 15px; transition: transform 0.3s ease; }
.ar-lot-page .ar-lot-back:hover { color: var(--lot-gold-deep); }
.ar-lot-page .ar-lot-back:hover i { transform: translateX(-4px); }

.ar-lot-nav { display: flex; align-items: center; gap: 10px; }

.ar-lot-page .ar-lot-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 37px;
  padding: 0 16px;
  border: 1px solid var(--lot-soft-line);
  background: #fff;
  color: var(--lot-ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ar-lot-page .ar-lot-nav-btn i { font-size: 12px; }
.ar-lot-page a.ar-lot-nav-btn:hover { background: var(--lot-ink); border-color: var(--lot-ink); color: #fff; }
.ar-lot-page .ar-lot-nav-btn.disabled {
  color: #b9b3a9;
  cursor: not-allowed;
  pointer-events: none;
}

/* =========================================================
   MAIN GRID
========================================================= */
.ar-lot-main { padding: 56px 0 88px; }

.ar-lot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ---------- Left : image ---------- */
.ar-lot-media {
  position: relative;
  z-index: 20;            /* zoom wali image right card ke upar dikhe */
  border: 1px solid var(--lot-soft-line);
  background: #fff;
  padding: 30px 38px 28px;
}

.ar-lot-media-frame {
  border: 1px solid #f0ece5;
  background: #fff;
  padding: 0;
}

/* zoomer ki apni CSS same rahegi — yahan kuch bhi clip/resize nahi kiya */
.ar-lot-page .m-zoomer-box {
  position: relative;
  overflow: visible;
}
.ar-lot-page .ar-lot-media,
.ar-lot-page .ar-lot-media-frame,
.ar-lot-page .ar-lot-grid,
.ar-lot-page .ar-lot-main { overflow: visible; }

.ar-lot-page .ar-lot-media-hint {
  margin: 22px 0 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lot-muted);
  line-height: 1.4;
}
.ar-lot-page .ar-lot-media-hint i { margin-right: 6px; color: var(--lot-ink); }

/* ---------- Right : details ---------- */
.ar-lot-info {
  position: relative;
  z-index: 1;
  border: 1px solid var(--lot-soft-line);
  background: #fff;
  padding: 38px 40px 42px;
}

.ar-lot-page .ar-lot-badge {
  display: inline-block;
  padding: 9px 16px 8px;
  border: 1px solid var(--lot-line);
  font-family: var(--lot-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lot-ink);
  line-height: 1.2;
  margin-bottom: 22px;
}

.ar-lot-page .ar-lot-artist {
  font-family: var(--lot-serif);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--lot-ink);
  margin: 0 0 12px;
}

.ar-lot-page .ar-lot-years {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--lot-muted);
  margin-bottom: 14px;
}

.ar-lot-page .ar-lot-title {
  font-family: var(--lot-serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--lot-muted);
  line-height: 1.2;
}

.ar-lot-divider {
  height: 1px;
  background: var(--lot-soft-line);
  margin: 26px 0 24px;
}

/* Auction status box */
.ar-lot-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--lot-line);
  padding: 13px 16px;
  margin-bottom: 26px;
}
.ar-lot-status-label,
.ar-lot-status-timer {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lot-ink);
  line-height: 1.4;
}
.ar-lot-status-label i { margin-right: 8px; }
.ar-lot-status-timer .ar-timer-digits {
  font-weight: 700;
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
}

/* Specs table */
.ar-lot-page .ar-lot-specs { margin: 0 0 32px; }
.ar-lot-spec {
  display: grid;
  grid-template-columns: 141px 1fr;
  gap: 16px;
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--lot-soft-line);
}
.ar-lot-spec:last-child { border-bottom: 0; }
.ar-lot-page .ar-lot-spec dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lot-muted);
  padding-top: 3px;
  line-height: 1.5;
}
.ar-lot-page .ar-lot-spec dd {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--lot-ink);
  line-height: 1.55;
}

/* Labels */
.ar-lot-page .ar-lot-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lot-muted);
  margin-bottom: 10px;
}

/* Estimate */
.ar-lot-estimate,
.ar-lot-result {
  border-left: 3px solid var(--lot-ink);
  padding: 16px 0 18px 21px;
  margin-bottom: 24px;
}
.ar-lot-page .ar-lot-amount,
.ar-lot-page .ar-lot-result #maxbidAmount {
  font-family: var(--lot-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--lot-ink);
  margin: 0;
}
.ar-lot-page .ar-lot-result #maxbidAmount { display: block; }

/* Current bid */
.ar-lot-current {
  border: 1px solid var(--lot-line);
  background: #faf8f4;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.ar-lot-current-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ar-lot-current-row .ar-lot-label { margin: 0; }
.ar-lot-page .ar-lot-current #maxbidAmount {
  font-family: var(--lot-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--lot-ink);
  margin: 0;
}
.ar-lot-page .ar-lot-bidder {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

/* Place bid button (input) */
.ar-lot-page input.ar-lot-bid-btn {
  display: block;
  width: 100%;
  height: 55px;
  margin: 0;
  padding: 0 64px 0 25px;
  border: 1px solid var(--lot-ink);
  border-radius: 0;
  background-color: var(--lot-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h15M11 1.5L16 6l-5 4.5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  color: #fff;
  font-family: var(--lot-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, background-position 0.3s ease, box-shadow 0.3s ease;
}
.ar-lot-page input.ar-lot-bid-btn:hover {
  background-color: var(--lot-gold);
  border-color: var(--lot-gold);
  color: var(--lot-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h15M11 1.5L16 6l-5 4.5' fill='none' stroke='%23141414' stroke-width='2'/%3E%3C/svg%3E");
  background-position: right 20px center;
  box-shadow: 0 12px 26px rgba(229, 169, 24, 0.28);
}

/* Trust line */
.ar-lot-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-top: 1px solid var(--lot-soft-line);
  margin-top: 24px;
  padding-top: 20px;
  font-size: 13px;
  color: var(--lot-muted);
}
.ar-lot-trust i { color: var(--lot-ink); margin-right: 4px; }

/* =========================================================
   BID FORM (.m-out) — same markup, naya look
========================================================= */
.ar-lot-page .bid-box-area {
  background: #faf8f4;
  border: 1px solid var(--lot-line);
  padding: 26px 24px;
  margin: 18px 0 0;
}
.ar-lot-page .bid-box-area .login-popup-title {
  font-family: var(--lot-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--lot-ink);
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.ar-lot-page .bid-box-area .login-popup-title p {
  font-family: var(--lot-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--lot-muted);
  margin: 6px 0 0;
  line-height: 1.5;
  letter-spacing: 0;
}
.ar-lot-page .buying-selling-group { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ar-lot-page .buying-selling-group .login-popup-title { flex: 0 0 100%; }
.ar-lot-page .buying-selling {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--lot-line);
  border-radius: 0;
  background: #fff;
  color: var(--lot-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: none;
  transition: all 0.25s ease;
}
.ar-lot-page .buying-selling input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.ar-lot-page .buying-selling .radio-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--lot-muted);
  display: inline-block; position: relative;
}
.ar-lot-page .buying-selling:hover { border-color: var(--lot-ink); }
.ar-lot-page .buying-selling.active { background: var(--lot-ink); border-color: var(--lot-ink); color: #fff; box-shadow: none; }
.ar-lot-page .buying-selling.active .radio-dot { border-color: var(--lot-gold); }
.ar-lot-page .buying-selling.active .radio-dot::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--lot-gold);
}

.ar-lot-page .bid-box-area .form-group { margin: 16px 0 0; }
.ar-lot-page .bid-box-area .input-group { display: block; width: 100%; margin: 0; }
.ar-lot-page .bid-box-area .form-control {
  width: 100%;
  height: 48px;
  border: 1px solid var(--lot-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  padding: 0 16px;
  font-size: 15px;
  color: var(--lot-ink);
}
.ar-lot-page .bid-box-area .form-control:focus {
  border-color: var(--lot-gold);
  box-shadow: 0 0 0 3px rgba(229, 169, 24, 0.18);
}
.ar-lot-page #word {
  margin-top: 8px;
  font-family: var(--lot-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--lot-gold-deep);
  min-height: 1px;
}
.ar-lot-page .finalbidsubmit .checkbox { margin: 14px 0 0; font-size: 13px; }
.ar-lot-page .finalbidsubmit .checkbox a { color: var(--lot-muted); border-bottom: 1px solid var(--lot-gold); }
.ar-lot-page .finalbidsubmit br { display: none; }
.ar-lot-page .bid-submit {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 1px solid var(--lot-ink);
  border-radius: 0;
  background: var(--lot-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.ar-lot-page .bid-submit:hover:not([disabled]) { background: var(--lot-gold); border-color: var(--lot-gold); color: var(--lot-ink); }
.ar-lot-page .bid-submit[disabled] { opacity: 0.45; cursor: not-allowed; }

.ar-lot-page .alert { margin-top: 16px; border-radius: 0; }

/* =========================================================
   EXTRAS : CONDITION REPORT / REFERENCES / DESCRIPTION
========================================================= */
.ar-lot-extras {
  border-top: 1px solid var(--lot-soft-line);
  padding: 56px 0 72px;
}

.ar-lot-page .ar-lot-condition {
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}
.ar-lot-page .ar-lot-condition .btn-success {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 24px;
  border: 1px solid var(--lot-ink);
  border-radius: 0;
  background: transparent;
  color: var(--lot-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: none;
  transition: all 0.25s ease;
}
.ar-lot-page .ar-lot-condition .btn-success:hover { background: var(--lot-ink); color: #fff; }

.ar-lot-page .m-accordion { margin-bottom: 40px; }
.ar-lot-page .m-accordion .panel {
  border: 1px solid var(--lot-soft-line);
  border-radius: 0;
  box-shadow: none;
  margin: 0 0 12px;
}
.ar-lot-page .m-accordion .panel-heading { background: #fff; border: 0; border-radius: 0; padding: 0; }
.ar-lot-page .m-accordion .panel-title > a {
  display: block;
  padding: 18px 22px;
  font-family: var(--lot-serif);
  font-size: 22px;
  font-weight: 600;
  text-transform: none;
  color: var(--lot-ink);
}
.ar-lot-page .m-accordion .panel-title > a:hover { color: var(--lot-gold-deep); }
.ar-lot-page .m-accordion .panel-body { border-top: 1px solid var(--lot-soft-line) !important; padding: 20px 7px; }
.ar-lot-page .m-accordion .panel-body::after { content: ''; display: table; clear: both; }

.ar-lot-page .ar-lot-desc-head { text-align: left; margin-bottom: 18px; }
.ar-lot-page .ar-lot-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lot-gold-deep);
  margin-bottom: 10px;
}
.ar-lot-page .ar-lot-desc-head h2 {
  font-family: var(--lot-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  margin: 0;
  color: var(--lot-ink);
}
.ar-lot-page .ar-lot-desc { max-width: 860px; }
.ar-lot-page .ar-lot-desc p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--lot-muted);
  margin: 0 0 14px;
  text-align: left;
}

/* =========================================================
   ANIMATION
========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* image box par animation nahi — zoom plugin ki position na bigde */
  .ar-lot-info  { animation: arLotIn 0.8s 0.12s cubic-bezier(0.25, 0.8, 0.25, 1) backwards; }
}
@keyframes arLotIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1140px) {
  .ar-lot-wrap { width: calc(100% - 56px); }
  .ar-lot-grid { gap: 36px; }
}

@media (max-width: 960px) {
  .ar-lot-grid { grid-template-columns: 1fr; }
  .ar-lot-main { padding: 36px 0 64px; }
}

@media (max-width: 640px) {
  .ar-lot-wrap { width: calc(100% - 36px); }
  .ar-lot-topbar-inner { justify-content: center; }
  .ar-lot-media { padding: 18px 16px; }
  .ar-lot-info { padding: 28px 20px 30px; }
  .ar-lot-spec { grid-template-columns: 110px 1fr; gap: 12px; }
  .ar-lot-status { justify-content: flex-start; }
  .ar-lot-page .ar-lot-amount { font-size: 24px; }
}