:root {
  --bg: #14161c;
  --surface: #1e2129;
  --surface-2: #262a34;
  --border: rgba(255, 255, 255, .08);
  --text: #f3f4f7;
  --muted: #9aa0ad;
  --primary: #f32206;
  --primary-2: #d99a4a;
  --primary-fg: #1a1c22;
  --danger: #ef4444;
  --gradient-luxe: linear-gradient(135deg, var(--primary), var(--primary-2));
  --gradient-surface: linear-gradient(180deg, #21242d 0%, #16181f 100%);
  --shadow-luxe: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --shadow-glow: 0 0 40px -10px rgba(228, 183, 116, .45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}
/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 31, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 46, 56, 0.6);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Logo Image */
.logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  background: #ee06069a;
  padding: 4px;
}

/* Company Name */
.logo-text h2 {
  color: #dfdddd9c;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* MAIN */
.main {
  padding: 3rem 1.5rem;
  margin-top: 80px;
}

.title {
  margin-bottom: 2.5rem;
}

.eyebrow {
  color: var(--primary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  margin: 0;
}

.title h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin: .75rem 0 .75rem;
}

.lede {
  color: var(--muted);
  max-width: 560px;
  margin: 0;
  font-size: small;
}

.grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}


@media (min-width: 1024px) {
  .grid {
    grid-template-columns: 1fr 420px;
  }
}

/* ITEMS */
.items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  animation: slideUp .5s cubic-bezier(.16, 1, .3, 1) backwards;
}

.item:hover {
  border-color: rgba(228, 183, 116, .4);
  box-shadow: var(--shadow-luxe);
}

.item.removing {
  animation: slideOut .4s cubic-bezier(.7, 0, .84, 0) forwards;
}

.item-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s;
}

.item:hover .item-img img {
  transform: scale(1.1);
}

.item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.item-top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
}

.item-meta {
  color: var(--primary);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0;
}

.item-name {
  font-size: 1rem;
  font-weight: 500;
  margin: .35rem 0 .35rem;
}

.item-spec {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.remove {
  color: var(--muted);
  padding: 4px;
  border-radius: 6px;
  transition: all .2s;
}

.remove:hover {
  color: var(--danger);
  background: var(--surface-2);
}

.remove svg {
  width: 16px;
  height: 16px;
}

.item-bottom {
  margin-top: auto;
  padding-top: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(20, 22, 28, .5);
  backdrop-filter: blur(4px);
}

.qty button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color .2s;
}

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

.qty button svg {
  width: 14px;
  height: 14px;
}

.qty .val {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.qty .val.pop {
  display: inline-block;
  animation: bounceIn .4s cubic-bezier(.34, 1.56, .64, 1);
}

.item-price {
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* SUMMARY */
.summary-wrap {
  align-self: start;
}

@media (min-width: 1024px) {
  .summary-wrap {
    position: sticky;
    top: 7rem;
  }
}

.summary {
  background: var(--gradient-surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: var(--shadow-luxe);
}

.summary h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: -.01em;
}

.promo {
  display: flex;
  gap: .5rem;
}

.promo-input {
  position: relative;
  flex: 1;
}

.promo-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.promo-input input {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  background: rgba(20, 22, 28, .5);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.promo-input input:focus {
  border-color: var(--primary);
}

.promo-msg {
  color: var(--primary);
  font-size: 12px;
  margin: .5rem 0 0;
  animation: fadeIn .3s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 38px;
  padding: 0 1rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s;
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
}

.btn-secondary:hover {
  background: #2f3340;
}

.btn-secondary:disabled {
  opacity: .6;
  cursor: default;
}

.btn-checkout {
  width: 100%;
  height: 48px;
  margin-top: 1.5rem;
  background: var(--gradient-luxe);
  color: var(--primary-fg);
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-checkout:hover {
  box-shadow: var(--shadow-glow);
}

.btn-checkout:hover svg {
  transform: translateX(4px);
}

.btn-checkout svg {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}

.btn-checkout:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.lines {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  font-size: 14px;
}

.lines div {
  display: flex;
  justify-content: space-between;
}

.lines dt {
  color: var(--muted);
  margin: 0;
}

.lines dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.lines .muted dd {
  color: var(--muted);
  font-variant-numeric: normal;
}

.discount {
  color: var(--primary);
  animation: fadeIn .3s;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.total span {
  font-size: 14px;
  color: var(--muted);
}

.total strong {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.total strong.pop {
  animation: bounceIn .4s cubic-bezier(.34, 1.56, .64, 1);
}

.fineprint {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 1rem 0 0;
  letter-spacing: .02em;
}

/* PERKS */
.perks {
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .perks {
    grid-template-columns: repeat(3, 1fr);
  }
}

.perk {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  background: rgba(30, 33, 41, .5);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.perk-icon {
  font-size: 1.2rem;
  color: var(--primary);
}

.perk p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.perk small {
  color: var(--muted);
  font-size: 12px;
}

/* EMPTY */
.empty {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  animation: fadeIn .4s;
}

.empty h2 {
  margin: 1rem 0 .25rem ;

}

.empty p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

/* ANIMATIONS */
.fade-in {
  animation: fadeIn .5s ease-out backwards;
}

.slide-up {
  animation: slideUp .5s cubic-bezier(.16, 1, .3, 1) backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateX(120%) scale(.9);
    max-height: 0;
    margin: 0;
    padding: 0;
    border-width: 0;
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(.6);
    opacity: 0;
  }

  60% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}




/* Custom Checkout Additions */
.item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.item-qty { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 4px 8px; }
.item-qty button { font-size: 1.2rem; padding: 0 5px; color: var(--primary); }
.item-remove { background: none; border: none; color: var(--danger); font-size: 0.85rem; cursor: pointer; margin-top: 0.5rem; text-decoration: underline; padding: 0; }
.empty-cart { text-align: center; padding: 3rem; background: var(--surface); border-radius: 12px; }
.empty-cart a { margin-top: 1rem; display: inline-block; }


@media (max-width: 768px) { 
  .main { margin-top: 70px; padding: 2rem 1rem; }
  .lede { font-size: 13px; line-height: 1.5; } 
  .total strong { font-size: 1.5rem; }
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }

@media (max-width: 600px) {
  .header-inner { 
    height: 70px; 
    padding: 0 16px; 
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .logo-img { 
    width: 42px; 
    height: 42px; 
    padding: 2px;
  }

  .logo-text h2 {
    font-size: 16px;
    font-weight: 500;
  }
}

/* ===== Form Box Aesthetics ===== */
.form-box {
  width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 100%;
}

.form-box h2 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

/* ===== Premium Input Fields ===== */
.input-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 22, 28, 0.4);
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  color: var(--text);
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.input-group input:hover,
.input-group textarea:hover,
.input-group select:hover {
  border-color: rgba(243, 154, 74, 0.3);
  background: rgba(20, 22, 28, 0.55);
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: var(--primary-2);
  background: rgba(20, 22, 28, 0.7);
  box-shadow: 0 0 0 3px rgba(217, 154, 74, 0.15);
}

/* Stylized Select Element */
.input-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.input-group select option {
  background: #1e2129;
  color: var(--text);
}

/* ===== Tactile Cart Items & Mobile Grid Adaptations ===== */
.item-controls { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  margin-top: 1rem; 
}

.item-qty { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  background: rgba(255,255,255,0.04); 
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px; 
  padding: 4px 8px; 
}

.item-qty button { 
  font-size: 1.1rem; 
  padding: 0 4px; 
  color: var(--primary-2); 
  transition: transform 0.15s ease, color 0.15s ease;
}

.item-qty button:hover {
  color: var(--text);
  transform: scale(1.15);
}

.item-qty span {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 14px;
}

.item-remove { 
  background: none; 
  border: none; 
  color: rgba(239, 68, 68, 0.7); 
  font-size: 0.8rem; 
  cursor: pointer; 
  margin-top: 0.5rem; 
  text-decoration: underline; 
  padding: 0; 
  transition: color 0.2s ease;
}

.item-remove:hover {
  color: rgba(239, 68, 68, 1);
}

/* ===== Breathtaking Empty Bag Card ===== */
.grid.grid-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  width: 100%;
}

.empty-cart { 
  text-align: center; 
  padding: 5rem 2rem; 
  background: rgba(30, 33, 41, 0.4); 
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px; 
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-luxe);
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.empty-cart h2 {
  font-size: 2.2rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-cart p {
  font-size: 14px;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.empty-cart .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.25s ease;
}

.empty-cart .btn-secondary:hover {
  border-color: var(--primary-2);
  color: var(--primary-fg);
  background: var(--gradient-luxe);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===== Premium Button Checkout Override ===== */
.btn-checkout {
  width: 100%;
  height: 52px;
  margin-top: 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(243, 34, 6, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -8px rgba(243, 34, 6, 0.55), var(--shadow-glow);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-checkout:active:not(:disabled) {
  transform: translateY(0);
}

.btn-checkout svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-checkout:hover:not(:disabled) svg {
  transform: translateX(4px);
}

.btn-checkout:disabled {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

/* ===== Bank Details Card Glassmorphism & Responsive ===== */
.bank-details-card {
  background: rgba(30, 33, 41, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 154, 74, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-luxe);
  animation: slideUp 0.5s ease-out backwards;
}

.bank-details-card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-2);
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

.bank-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.bank-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bank-info-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.bank-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bank-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.bank-info-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.bank-info-val.highlight-val {
  color: var(--primary-2);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bank-account-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 183, 116, 0.3);
  color: var(--text);
}

.btn-copy i {
  font-size: 12px;
}

.btn-copy.copied {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #22c55e !important;
}

/* ===== Responsive Mobile Media Queries ===== */
@media (max-width: 600px) {
  .item {
    padding: 0.8rem;
    gap: 0.8rem;
    border-radius: 16px;
  }
  
  .item-img {
    width: 85px;
    height: 85px;
    border-radius: 10px;
  }
  
  .item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
  }

  .item-info h3 {
    font-size: 14px !important;
    font-weight: 500;
    margin: 0 0 2px 0;
    line-height: 1.3;
  }
  
  .item-meta {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  
  .item-controls {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .item-qty {
    padding: 2px 6px;
    gap: 6px;
    border-radius: 6px;
  }
  
  .item-qty button {
    font-size: 0.95rem;
    width: 20px;
    height: 20px;
  }
  
  .item-qty span {
    font-size: 12px;
  }

  .item-price {
    font-size: 13.5px;
    font-weight: 600;
  }
  
  .item-remove {
    font-size: 10.5px;
    margin-top: 4px;
    align-self: flex-start;
  }

  .bank-details-card {
    padding: 16px;
    border-radius: 12px;
  }
  .bank-details-card h3 {
    font-size: 1.15rem;
  }
  .bank-info-val {
    font-size: 13px;
  }
  .bank-info-val.highlight-val {
    font-size: 14px;
  }
  .btn-copy {
    padding: 4px 8px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .bank-account-copy-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .btn-copy {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
  }
}
