/* ============================================
   JUTIQ — Design Tokens
   ============================================ */
:root{
  --color-bg:        #FFFFFF;   /* Pure White */
  --color-bg-soft:   #F9F6F0;   /* Soft warm cream off-white */
  --color-bg-dark:   #12100E;   /* Obsidian charcoal for dark sections */
  --color-primary:   #000000;   /* Pitch Black */
  --color-primary-d: #1A1A1A;   /* Dark Off-Black */
  --color-accent:    #8B5A2B;   /* Elegant Earth Brown */
  --color-accent-2:  #A07855;   /* Warm soft gold/brown */
  --color-text:      #1C1A17;   /* Charcoal black text */
  --color-muted:     #706E6B;   /* Muted gray text */
  --color-line:      #E4DDD5;   /* Clean warm line border */

  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --radius: 18px;
  --shadow-soft: 0 20px 50px -20px rgba(40,20,15,0.06);
  --shadow-lift: 0 30px 60px -25px rgba(40,20,15,0.12);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .4em;
  color: var(--color-bg-dark);
}
em{ font-style: italic; color: var(--color-primary); }
p{ margin: 0 0 1em; }
a{ color: inherit; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 .8em;
}

/* ============================================
   Buttons
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary{
  background: #000000;
  color: #FFFFFF;
  box-shadow: 0 10px 25px -10px rgba(0,0,0,.15);
}
.btn-primary:hover{ transform: translateY(-2px); background: #222222; box-shadow: 0 16px 30px -10px rgba(0,0,0,.2); }
.btn-ghost{
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-text);
}
.btn-ghost:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.btn-full{ width: 100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* ============================================
   Header
   ============================================ */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 28px;
}
.logo{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--color-bg-dark);
}
.header-right{ display:flex; align-items:center; gap: 24px; }
.nav{ display:flex; gap: 34px; }
.nav a{
  text-decoration:none; font-size: 14px; letter-spacing:.03em;
  color: var(--color-text); position: relative; padding: 4px 0;
}
.nav a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background: var(--color-accent); transition: width .3s var(--ease);
}
.nav a:hover::after{ width:100%; }

.cart-btn{
  position: relative; background: none; border:none; cursor:pointer;
  color: var(--color-bg-dark); padding: 6px;
  display: flex; align-items: center; justify-content: center;
}
.cart-count{
  position:absolute; top:-4px; right:-6px;
  background: var(--color-primary); color:#fff;
  font-size: 10px; font-weight:600;
  width:18px; height:18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.menu-btn{
  display: none;
  background: none; border:none; cursor:pointer;
  color: var(--color-bg-dark); padding: 6px;
  align-items: center; justify-content: center;
}

/* ============================================
   Mobile Navigation Drawer
   ============================================ */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 80vw;
  background: var(--color-bg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
  box-shadow: 20px 0 50px -20px rgba(0,0,0,.3);
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 30px;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.25s;
}
.mobile-nav-links a:hover {
  color: var(--color-accent);
}

/* ============================================
   Hero + 3D Tilt
   ============================================ */
.hero{ padding: 90px 0 60px; overflow: hidden; }
.hero-inner{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items:center;
}
.hero-copy h1{
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: .5em;
}
.hero-text{ max-width: 440px; color: var(--color-muted); font-size: 16px; }

.hero-visual{ display:flex; flex-direction:column; align-items:center; gap: 18px; }
.tilt{ perspective: 1000px; width: 100%; max-width: 420px; }
.tilt-inner{
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  border-radius: 28px;
  position: relative;
}
.hero-shoe{
  background: linear-gradient(160deg, #FFFFFF 0%, var(--color-bg-soft) 100%);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 50px 30px;
  box-shadow: var(--shadow-lift);
  display:flex; align-items:center; justify-content:center;
}
.shoe-icon{ width: 100%; max-height: 100%; object-fit: contain; transform: translateZ(40px); filter: drop-shadow(0 25px 25px rgba(74,22,32,.25)); }
.shoe-glow{
  position:absolute; inset: 10%;
  background: radial-gradient(circle, var(--color-accent-2) 0%, transparent 70%);
  opacity: .35; filter: blur(30px);
  transform: translateZ(-10px);
}
.hero-tag{ font-size: 12px; color: var(--color-muted); letter-spacing:.05em; }

/* ============================================
   Collection / Product Grid
   ============================================ */
.collection{ padding: 50px 0 90px; }
.section-head{ text-align:center; max-width: 560px; margin: 0 auto 50px; }
.section-head h2{ font-size: clamp(28px, 4vw, 40px); }

.products-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card{ perspective: 900px; }
.product-card-inner{
  transform-style: preserve-3d;
  transition: transform .2s var(--ease), box-shadow .3s, border-color .3s;
  background: #FFFFFF;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
  display:flex; flex-direction:column;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.product-card-inner:hover{ border-color: rgba(139,90,43,0.35); box-shadow: var(--shadow-lift); }

.product-visual{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px;
  overflow: hidden;
}
.product-visual svg {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transform: translateZ(30px);
  filter: drop-shadow(0 16px 16px rgba(0,0,0,.18));
  transition: transform .2s var(--ease);
}
.product-visual img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transform: translateZ(30px);
  filter: drop-shadow(0 16px 16px rgba(0,0,0,.18));
  transition: opacity 0.4s var(--ease), transform .2s var(--ease);
}
.product-visual img.main-img,
.product-visual img.hover-img {
  position: absolute;
  top: 11%;
  left: 11%;
}
.product-visual img.hover-img {
  opacity: 0;
  pointer-events: none;
}
.product-visual.has-hover:hover img.main-img {
  opacity: 0;
}
.product-visual.has-hover:hover img.hover-img {
  opacity: 1;
  transform: scale(1.05) translateZ(35px);
}
.product-visual::before{
  content:''; position:absolute; inset:0; opacity:.1;
  background: radial-gradient(circle at 70% 20%, var(--color-accent-2), transparent 60%);
}

.product-name{
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; margin: 0 0 4px;
  transform: translateZ(20px);
}
.product-tag{
  font-size: 12px; color: var(--color-accent); margin-bottom: 12px;
  transform: translateZ(20px);
}
.product-foot{
  margin-top:auto; display:flex; align-items:center; justify-content:space-between;
  transform: translateZ(20px);
}
.product-price{ font-family: var(--font-display); font-size: 20px; font-weight:600; color: var(--color-primary); }
.add-btn{
  background: var(--color-bg-dark); color:#fff; border:none;
  width: 40px; height:40px; border-radius:50%;
  font-size: 20px; cursor:pointer; line-height:1;
  transition: background .25s, transform .25s;
  display:flex; align-items:center; justify-content:center;
}
.add-btn:hover{ background: var(--color-primary); transform: scale(1.08) translateZ(20px); }
.add-btn.added{ background: var(--color-accent); }

/* ============================================
   Craft section
   ============================================ */
.craft{ background: var(--color-bg-dark); color: var(--color-text); padding: 80px 0; }
.craft-inner{ display:grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items:center; }
.craft h2{ color:#fff; font-size: clamp(26px,3.5vw,38px); }
.craft p{ color: var(--color-muted); }
.craft-stats{ display:flex; flex-direction:column; gap: 24px; }
.craft-stats div{ display:flex; flex-direction:column; border-left: 2px solid var(--color-accent); padding-left: 18px; }
.craft-stats strong{ font-family: var(--font-display); font-size: 30px; color: var(--color-accent-2); }
.craft-stats span{ font-size: 13px; color: var(--color-muted); letter-spacing:.04em; }

/* ============================================
   Footer
   ============================================ */
.site-footer{ padding: 30px 0; border-top: 1px solid var(--color-line); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; font-size: 13px; color: var(--color-muted); }
.footer-inner .logo{ font-size: 18px; }

/* ============================================
   Cart Drawer + Overlay
   ============================================ */
.overlay, .modal-overlay{
  position: fixed; inset:0; background: rgba(26,22,20,.45);
  opacity:0; visibility:hidden; transition: opacity .3s var(--ease);
  z-index: 90;
}
.overlay.open, .modal-overlay.open{ opacity:1; visibility:visible; }

.cart-drawer{
  position: fixed; top:0; right:0; height:100%; width: 380px; max-width: 92vw;
  background: var(--color-bg); z-index: 95;
  display:flex; flex-direction:column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(0,0,0,.3);
}
.cart-drawer.open{ transform: translateX(0); }
.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 24px; border-bottom: 1px solid var(--color-line);
}
.drawer-head h3{ margin:0; }
.icon-btn{
  background:none; border:none; font-size: 26px; cursor:pointer;
  color: var(--color-muted); line-height:1;
}
.icon-btn:hover{ color: var(--color-primary); }

.cart-items{ flex:1; overflow-y:auto; padding: 10px 24px; }
.cart-item{
  display:flex; gap:14px; padding: 14px 0; border-bottom: 1px solid var(--color-line);
  align-items:center;
}
.cart-item-visual{
  width:56px; height:56px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.cart-item-visual svg,
.cart-item-visual img{
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.cart-item-info{ flex:1; min-width:0; }
.cart-item-info h4{ margin:0 0 4px; font-size: 14px; font-weight:500; }
.cart-item-price{ font-size: 13px; color: var(--color-muted); }
.qty-control{ display:flex; align-items:center; gap:8px; margin-top:6px; }
.qty-control button{
  width:22px; height:22px; border-radius:50%; border:1px solid var(--color-line);
  background:#FFFFFF; color:var(--color-text); cursor:pointer; font-size:14px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.qty-control button:hover{ border-color: var(--color-primary); color: var(--color-primary); }
.remove-item{
  background:none; border:none; color: var(--color-muted); cursor:pointer; font-size:12px;
  text-decoration: underline; margin-top:6px;
}
.cart-empty{ text-align:center; color: var(--color-muted); padding: 60px 10px; font-size: 14px; }

.cart-footer{ padding: 20px 24px; border-top: 1px solid var(--color-line); }
.cart-total-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom: 14px; font-size: 15px; }
.cart-total-row strong{ font-family: var(--font-display); font-size: 22px; color: var(--color-primary); }

/* ============================================
   Checkout Modal
   ============================================ */
.modal-overlay{ z-index: 100; display:flex; align-items:center; justify-content:center; padding: 20px; }
.modal{
  background: var(--color-bg); border-radius: 22px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y:auto; position: relative; padding: 34px 30px;
  transform: translateY(20px) scale(.98); opacity:0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  box-shadow: var(--shadow-lift);
}
.modal-overlay.open .modal{ transform: translateY(0) scale(1); opacity:1; }
.modal-close{ position:absolute; top: 18px; right: 18px; z-index: 10; }

.steps-bar{ display:flex; justify-content:space-between; margin-bottom: 28px; }
.step-dot{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  font-size: 11px; color: var(--color-muted); flex:1; text-align:center;
  letter-spacing:.04em;
}
.step-dot span{
  width:30px; height:30px; border-radius:50%; border: 1px solid var(--color-line);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:600; color: var(--color-muted);
  transition: all .25s var(--ease);
}
.step-dot.active span{ background: var(--color-primary); border-color: var(--color-primary); color:#fff; }
.step-dot.active{ color: var(--color-text); }
.step-dot.done span{ background: var(--color-accent); border-color: var(--color-accent); color:#fff; }

.step-panel{ display:none; }
.step-panel.active{ display:block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(10px);} to{ opacity:1; transform:translateY(0);} }

.step-panel label{
  display:flex; flex-direction:column; gap:6px; font-size: 13px; color: var(--color-muted);
  margin-bottom: 16px;
}
.step-panel input{
  font-family: var(--font-body); font-size: 14px; padding: 12px 14px;
  border: 1px solid var(--color-line); border-radius: 10px; background: #FFFFFF;
  color: var(--color-text); outline: none; transition: border-color .2s;
}
.step-panel input:focus{ border-color: var(--color-primary); }
.row-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.step-actions{ display:flex; justify-content:flex-end; gap: 12px; margin-top: 10px; }

.order-summary{
  background: var(--color-bg-soft); border:1px solid var(--color-line); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 18px; font-size: 13px;
}
.order-summary .os-row{ display:flex; justify-content:space-between; padding: 4px 0; }
.order-summary .os-total{ border-top: 1px solid var(--color-line); margin-top:6px; padding-top:8px; font-weight:600; font-size:15px; color: var(--color-primary); }

.pay-options{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pay-option{
  border: 1px solid var(--color-line); background:var(--color-bg-soft); border-radius: 12px;
  padding: 14px; cursor:pointer; text-align:left; transition: all .2s var(--ease);
  display:flex; flex-direction:column; gap:2px;
}
.pay-option .pay-title{ font-weight:600; font-size: 14px; }
.pay-option .pay-sub{ font-size: 11px; color: var(--color-muted); }
.pay-option.active{ border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(139,90,43,.1); }

.pay-instructions{ font-size: 13px; color: var(--color-muted); }
.qr-wrap{ display:flex; justify-content:center; padding: 16px; background:#fff; border:1px solid var(--color-line); border-radius: 12px; margin: 10px 0; }
.upi-id-text{ text-align:center; font-size: 12px; color: var(--color-muted); }
.checkbox-row{ display:flex; align-items:center; gap:8px; font-size:13px; margin: 14px 0; }
.checkbox-row input{ width:auto; }

.confirm-box{ text-align:center; padding: 20px 0; }
.confirm-tick{
  width: 64px; height:64px; border-radius:50%; background: var(--color-accent);
  color:#fff; font-size: 30px; display:flex; align-items:center; justify-content:center;
  margin: 0 auto 18px;
}
.order-id{ font-family: var(--font-display); font-size: 26px; font-weight:600; color: var(--color-primary); letter-spacing:.05em; }
.email-status{ font-size: 12px; color: var(--color-muted); margin-bottom: 20px; }

/* Two-column checkout layout */
.checkout-layout {
  display: flex;
  gap: 30px;
  margin-top: 15px;
}
.checkout-main {
  flex: 1.2;
  min-width: 0;
}
.checkout-sidebar {
  flex: 0.8;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 20px;
  align-self: flex-start;
}
.checkout-sidebar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 15px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
  color: var(--color-bg-dark);
}
.checkout-sum-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--color-text);
}
.sum-name {
  font-weight: 500;
}
.sum-qty {
  color: var(--color-muted);
  font-size: 12px;
  margin-left: 4px;
}
.sum-price {
  font-weight: 600;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--color-line);
  font-size: 15px;
  font-weight: 600;
}
.order-summary-total strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-primary);
}

/* Modal sizing based on wide-layout */
.modal.wide-layout {
  max-width: 820px;
}

@media (max-width: 992px) {
  .checkout-layout {
    flex-direction: column;
  }
  .checkout-sidebar {
    width: 100%;
    order: -1; /* Show summary on top on mobile */
    margin-bottom: 15px;
  }
}

/* ============================================
   Toast
   ============================================ */
.toast{
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--color-bg-dark); color:#fff; padding: 12px 22px; border-radius: 999px;
  font-size: 13px; opacity:0; pointer-events:none; transition: all .3s var(--ease);
  z-index: 200;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 860px){
  .hero-inner, .craft-inner{ grid-template-columns: 1fr; }
  .hero{ padding: 50px 0 40px; text-align:center; }
  .hero-copy{ order:2; }
  .hero-text{ margin: 0 auto; }
  .craft-stats{ flex-direction:row; flex-wrap:wrap; }
}

@media (max-width: 768px){
  .nav { display: none; }
  .menu-btn { display: flex; }
}

@media (max-width: 500px){
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 14px;
  }
  .product-card-inner {
    padding: 12px;
    border-radius: 12px;
  }
  .product-visual {
    margin-bottom: 8px;
  }
  .product-name {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .product-tag {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .product-price {
    font-size: 15px;
  }
  .add-btn {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
}

@media (max-width: 480px){
  .header-inner{ padding: 14px 18px; }
  .header-right{ gap: 14px; }
  .row-2{ grid-template-columns: 1fr; }
  .modal-overlay{ padding: 10px; }
  .modal{ padding: 24px 16px; border-radius: 16px; }
  .steps-bar{ margin-bottom: 20px; }
  .craft-stats{ flex-direction: column; gap: 18px; }
}


/* ============================================
   Product Detail Modal
   ============================================ */
.product-detail-modal {
  max-width: 760px;
  padding: 0;
  overflow: hidden;
}
.detail-layout {
  display: flex;
  height: 520px;
}
.detail-visual-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.detail-main-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
}
.detail-main-image-wrap.zoomed {
  cursor: zoom-out;
}
.detail-main-image-wrap img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.15));
  transition: transform 0.3s var(--ease), transform-origin 0.08s ease-out;
  will-change: transform, transform-origin;
}
.detail-visual-side:hover .detail-main-image-wrap:not(.zoomed) img {
  transform: scale(1.06);
}
.detail-main-image-wrap.zoomed img {
  transform: scale(2.2);
}
.detail-thumbnails {
  display: flex;
  gap: 12px;
  padding: 16px;
  justify-content: center;
  width: 100%;
  border-top: 1px solid var(--color-line);
  background: rgba(249, 246, 240, 0.4);
  z-index: 2;
}
.thumb-btn {
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 2px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumb-btn.active {
  border-color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(139,90,43,0.15);
}
.thumb-btn:hover {
  border-color: var(--color-accent-2);
}
.detail-info-side {
  flex: 1.1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #FFFFFF;
}
.product-id-badge {
  font-size: 11px;
  color: var(--color-muted);
  background: var(--color-bg-soft);
  padding: 4px 10px;
  border-radius: 99px;
  align-self: flex-start;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}
.detail-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
}
.detail-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}
.detail-specs h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--color-text);
}
.detail-specs ul {
  padding-left: 18px;
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--color-muted);
}
.detail-specs li {
  margin-bottom: 6px;
}
.detail-action {
  margin-top: auto;
}

@media (max-width: 768px) {
  .detail-layout {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }
  .detail-visual-side {
    height: auto;
    min-height: 280px;
    flex-shrink: 0;
  }
  .detail-main-image-wrap {
    height: 220px;
  }
  .detail-info-side {
    padding: 30px 24px;
  }
}

/* ============================================
   Checkout Loading & Invoice Summary
   ============================================ */
.checkout-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 10px;
  text-align: center;
}
.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--color-line);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.order-success-details {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 20px;
  margin: 24px 0;
  text-align: left;
  font-size: 13px;
  color: var(--color-text);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.01);
}
.order-success-details h4 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--color-primary);
  border-bottom: 1px dashed var(--color-line);
  padding-bottom: 8px;
}
.order-success-details .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  padding-bottom: 8px;
}
.order-success-details .summary-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.order-success-details .summary-label {
  font-weight: 600;
  color: var(--color-muted);
}
.order-success-details .summary-value {
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}
.order-success-details .summary-products {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 10px;
  margin-top: 8px;
  font-family: monospace;
  white-space: pre-wrap;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text);
}

