/* ===== CART PAGE ===== */
.cart-page-wrapper {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 80px;
}

.cart-main-container {
  max-width: 576px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .cart-main-container {
    max-width: 1100px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    align-items: start;
    padding: 0 16px 50px;
  }
}

/* Card */
.cart-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
}

/* Store group separator */
.cart-store-group {
  border-bottom: 8px solid #f5f5f5;
}
.cart-store-group:last-child {
  border-bottom: none;
}

/* Product item */
.cart-product-item {
  padding: 15px;
  transition: background 0.2s;
}
@media (min-width: 768px) {
  .cart-product-item:hover { background-color: #fafafa; }
}

/* Product image */
.cart-product-img {
  width: 85px;
  height: 85px;
  position: relative;
  flex-shrink: 0;
}
.cart-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}
.cart-product-img .stock-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 10px;
  text-align: center;
  padding: 2px 0;
  border-radius: 0 0 8px 8px;
}

/* Qty control */
.cart-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  overflow: hidden;
}
.cart-qty-btn {
  background: #f8f9fa;
  border: none;
  width: 30px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  transition: background 0.2s;
}
.cart-qty-btn:hover:not(:disabled) { background: #e9ecef; }
.cart-qty-btn.plus { color: #ff5200; }
.cart-qty-input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
}

/* Checkbox color */
.cart-check.form-check-input:checked {
  background-color: #ff5200;
  border-color: #ff5200;
}

/* Summary sidebar desktop */
.cart-summary-sidebar {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-top: 45px;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Mobile top header */
.cart-mobile-header {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
  .cart-mobile-header { display: none !important; }
  .detail-pesanan-mobile-header { display: none !important; }
}

/* Mobile fixed footer */
.cart-mobile-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #eee;
  padding: 10px 16px 12px;
  z-index: 1030;
}
@media (min-width: 768px) {
  .cart-mobile-footer { display: none !important; }
}

/* Btn orange */
.cart-btn-checkout {
  background-color: #ff5200;
  color: white;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cart-btn-checkout:hover { background-color: #e64a00; }
.cart-btn-checkout:disabled { background-color: #ccc; cursor: not-allowed; }

.cart-text-orange { color: #ff5200 !important; }
.cart-btn-checkout-desktop {
  background-color: #ff5200;
  color: white;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 14px;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.cart-btn-checkout-desktop:hover { background-color: #e64a00; }
/* ===== CHECKOUT PAGE ===== */
.checkout-page-wrapper {
  background-color: #f5f5f5;
  min-height: 100vh;
}

.checkout-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px 120px;
}

@media (min-width: 768px) {
  .checkout-container {
    max-width: 1100px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 20px;
    align-items: start;
    padding: 0 16px 50px;
  }
}

/* Card */
.checkout-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid #eee;
  cursor: default;
}
.checkout-card.clickable {
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.checkout-card.clickable:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

/* Summary sidebar */
.checkout-summary-sidebar {
  position: sticky;
  top: 100px;
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #eee;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
@media (min-width: 768px) {
  .checkout-summary-sidebar { margin-top: 45px; }
}

/* Mobile header */
.checkout-mobile-header {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
  .checkout-mobile-header { display: none !important; }
}

/* Mobile fixed pay bar */
.checkout-mobile-paybar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #eee;
  padding: 10px 16px 12px;
  z-index: 1030;
}
@media (min-width: 768px) {
  .checkout-mobile-paybar { display: none !important; }
}

/* Address card in modal */
.checkout-address-card {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid #eee;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: #333;
}
.checkout-address-card.active {
  border-color: #ff5200;
  background: #fff5f0;
}

/* Address label badges */
.checkout-addr-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-right: 4px;
  margin-bottom: 6px;
}
.label-rumah  { background: #f3e5f5; color: #9c27b0; }
.label-utama  { background: #ff5200; color: white; }
.label-kantor { background: #e3f2fd; color: #1565c0; }

/* Shipping option card */
.checkout-shipping-card {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid #eee;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.checkout-shipping-card.active {
  border-color: #ff5200;
  background: #fff5f0;
}
.checkout-shipping-group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  margin: 12px 0 8px;
  letter-spacing: 0.5px;
}
.checkout-service-type {
  display: inline-block;
  font-size: 0.65rem;
  background: #f0f0f0;
  color: #666;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 4px;
}
.checkout-courier-name {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}
.checkout-shipping-eta { font-size: 0.75rem; color: #888; }
.checkout-shipping-price { font-weight: 700; font-size: 0.9rem; color: #ff5200; }

/* Btn pay */
.checkout-btn-pay {
  background: #ff5200;
  color: white;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.checkout-btn-pay:hover { background: #e64a00; }
/* ===== PESANAN PAGE ===== */
.pesanan-page-wrapper {
  background: #f5f5f5;
  min-height: 100vh;
}

/* Mobile header */
.pesanan-mobile-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
}
@media (min-width: 992px) {
  .pesanan-mobile-header { display: none !important; }
}

/* Wrapper & grid */
.pesanan-wrapper {
  max-width: 576px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .pesanan-wrapper {
    max-width: 1150px;
    margin: 30px auto 60px;
    padding: 0 16px;
  }
}
.pesanan-grid {
  display: block;
}
@media (min-width: 992px) {
  .pesanan-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
  }
}

/* Sidebar desktop */
.pesanan-account-sidebar {
  background: white;
  border-radius: 15px;
  padding: 20px;
  height: fit-content;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  position: sticky;
  top: 100px;
}
.pesanan-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 10px;
  color: #555;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  margin-bottom: 5px;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-size: 0.9rem;
}
.pesanan-side-link:hover { background: #fff4ed; color: #ff5200; }
.pesanan-side-link.active { background: #ff5200; color: white; }

/* Tabs */
.pesanan-tabs {
  background: white;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #eee;
  scrollbar-width: none;
  position: sticky;
  top: 56px;
  z-index: 100;
}
.pesanan-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 992px) {
  .pesanan-tabs {
    border-radius: 12px 12px 0 0;
    position: static;
  }
}

.pesanan-tab-item {
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
}
.pesanan-tab-item.active {
  color: #ff5200;
  border-bottom: 3px solid #ff5200;
}
.pesanan-tab-item:hover { color: #ff5200; }

/* Order card */
.pesanan-card {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 992px) {
  .pesanan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
}

.pesanan-card.dibatalkan { opacity: 0.75; }

/* Status badges */
.pesanan-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.status-unpaid   { background: #fff3cd; color: #856404; }
.status-process  { background: #e3f2fd; color: #0d6efd; }
.status-shipped  { background: #e8f5e9; color: #2e7d32; }
.status-arrived  { background: #e0f7fa; color: #00838f; }
.status-done     { background: #f3f4f6; color: #6b7280; border: 1px solid #ddd; }
.status-cancelled{ background: #f3f4f6; color: #6b7280; border: 1px solid #ddd; }

/* Product img */
.pesanan-product-img {
  width: 70px; height: 70px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.pesanan-product-img.grayscale { filter: grayscale(100%); opacity: 0.6; }

.pesanan-product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* Buttons */
.pesanan-btn-primary {
  font-size: 0.85rem;
  font-weight: 700;
  background: #ff5200;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.pesanan-btn-primary:hover { background: #e64a00; }
.pesanan-btn-primary.green { background: #198754; }
.pesanan-btn-primary.green:hover { background: #146c43; }

.pesanan-btn-outline {
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #ddd;
  color: #555;
  padding: 8px 20px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}
.pesanan-btn-outline:hover { background: #f9f9f9; color: #ff5200; border-color: #ff5200; }

.pesanan-card-footer {
  border-top: 1px solid #f5f5f5;
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Content area padding */
.pesanan-content-inner {
  padding: 16px;
}
@media (min-width: 992px) {
  .pesanan-content-inner { padding: 16px 0; }
}/* ===== DETAIL PESANAN PAGE ===== */
.detail-pesanan-wrapper {
  background: #f5f5f5;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 50px; /* ruang untuk fixed mobile header */
}
@media (min-width: 992px) {
  .detail-pesanan-wrapper {
    padding-top: 0;
  }
}

/* Mobile header Sticky */
.detail-pesanan-mobile-header {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Container */
.detail-pesanan-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 30px;
}

/* Menghilangkan header desktop di mobile agar tidak double sticky */
@media (max-width: 991.98px) {
  .dp-main-header-wrap {
    display: none;
  }
}

@media (min-width: 768px) {
  .detail-pesanan-container {
    max-width: 780px;
    padding: 30px 0;
  } 
}

/* Styling tambahan untuk Action Bar agar tetap di bawah layar mobile */
.dp-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #eee;
  z-index: 1010;
}

@media (min-width: 992px) {
  .dp-action-bar {
    position: static; /* Kembali ke posisi normal di desktop */
    padding: 20px 0;
    border-top: none;
    background: transparent;
  }
}
/* Section card */
.dp-card {
  background: white;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid #eee;
}

/* Status header card */
.dp-status-card {
  background: white;
  border-radius: 0 0 16px 16px;
  padding: 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
}
@media (min-width: 992px) {
  .dp-status-card {
    border-radius: 16px;
    border: 1px solid #eee;
    margin-bottom: 12px;
  }
}

.dp-status-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 12px;
}

/* Stepper / tracking */
.dp-stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 4px;
}
.dp-step {
  display: flex;
  gap: 16px;
  position: relative;
}
.dp-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}
.dp-step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 3px solid #ddd;
  background: white;
  flex-shrink: 0;
  z-index: 1;
}
.dp-step-dot.done { background: #ff5200; border-color: #ff5200; }
.dp-step-dot.current { background: white; border-color: #ff5200; box-shadow: 0 0 0 4px #fff2ed; }
.dp-step-line {
  width: 2px;
  flex: 1;
  background: #eee;
  min-height: 28px;
}
.dp-step-line.done { background: #ff5200; }
.dp-step-content {
  padding-bottom: 24px;
  flex: 1;
}
.dp-step-title { font-weight: 700; font-size: 0.9rem; color: #333; }
.dp-step-title.inactive { color: #aaa; }
.dp-step-time { font-size: 0.78rem; color: #aaa; margin-top: 2px; }
.dp-step-desc { font-size: 0.82rem; color: #888; margin-top: 4px; }

/* Product row */
.dp-product-img {
  width: 72px; height: 72px;
  border-radius: 10px; object-fit: cover;
  border: 1px solid #f0f0f0; flex-shrink: 0;
}

/* Info rows */
.dp-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
}
.dp-info-row:not(:last-child) { border-bottom: 1px solid #f5f5f5; }
.dp-info-label { color: #888; }
.dp-info-value { font-weight: 600; color: #333; text-align: right; max-width: 60%; }

/* Bottom action bar */
.dp-action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #eee;
  padding: 12px 16px;
  z-index: 1030;
  display: flex;
  gap: 10px;
}
@media (min-width: 992px) {
  .dp-action-bar { display: none; }
}

/* Buttons */
.dp-btn-primary {
  background: #ff5200; color: white;
  border: none; font-weight: 700;
  border-radius: 10px; padding: 12px 20px;
  cursor: pointer; font-size: 0.9rem;
  transition: background 0.2s; flex: 1;
}
.dp-btn-primary:hover { background: #e64a00; }
.dp-btn-primary.green { background: #198754; }
.dp-btn-primary.green:hover { background: #146c43; }

.dp-btn-outline {
  border: 1.5px solid #ddd; color: #555;
  font-weight: 700; border-radius: 10px;
  padding: 12px 20px; background: white;
  cursor: pointer; font-size: 0.9rem;
  transition: 0.2s; flex: 1;
}
.dp-btn-outline:hover { border-color: #ff5200; color: #ff5200; }

/* Desktop action buttons */
.dp-desktop-actions {
  display: none;
}
@media (min-width: 992px) {
  .dp-desktop-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: flex-end;
  }
}

/* ===== UNPAID LAYOUT (QRIS + TIMER) ===== */
/* Timer banner card — status belum bayar */
.dp-timer-banner {
  background: #fff9e6;
  border: 1px solid #ffeeba;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  margin: 16px 16px 10px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
@media (min-width: 992px) {
  .dp-timer-banner {
    margin: 0 0 12px;
    padding: 1.5rem 1.25rem;
  }
}

.dp-timer-box {
  background: #333;
  color: white;
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 800;
  font-family: monospace;
  font-size: 1.1rem;
  min-width: 38px;
  text-align: center;
}

.dp-unp-section {
  background: white;
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 16px;
  margin: 0 16px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
@media (min-width: 992px) {
  .dp-unp-section {
    margin: 0 0 12px;
    padding: 18px 20px;
  }
}

.dp-unp-section-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

.dp-qris-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.dp-qr-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 16px;
}

.dp-unp-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.dp-unp-label { color: #777; }
.dp-unp-value { color: #222; font-weight: 600; text-align: right; }

/* Wrapper tombol Kembali + Batalkan di UnpaidView */
.dp-unp-btn-row {
  padding: 0 16px;
  margin-bottom: 8px;
}
@media (min-width: 992px) {
  .dp-unp-btn-row {
    padding: 0;
  }
}
/* ===== BELUM DIBAYAR PAGE ===== */
.unp-wrapper {
  background: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 40px;
}

.unp-container {
  max-width: 576px;
  margin: 0 auto;
}

/* Mobile header */
.unp-mobile-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Status banner timer */
.unp-status-banner {
  background: #fff9e6;
  border-bottom: 1px solid #ffeeba;
  padding: 1.5rem 1rem;
  text-align: center;
}

.unp-timer-box {
  background: #333;
  color: white;
  border-radius: 8px;
  padding: 4px 10px;
  font-weight: 800;
  font-family: monospace;
  font-size: 1.1rem;
  min-width: 38px;
  text-align: center;
}

/* Section */
.unp-section {
  background: white;
  padding: 1.25rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.unp-section-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

/* QRIS card */
.unp-qris-card {
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  max-width: 320px;
  margin: 0 auto;
}

.unp-qr-img {
  width: 100%;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 16px;
}

/* Info row */
.unp-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.unp-info-label { color: #777; }
.unp-info-value { color: #222; font-weight: 600; text-align: right; }

/* Action area */
.unp-action-area { padding: 1.5rem 1rem; }

.unp-btn-main {
  background-color: #ff5200;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(255,82,0,0.15);
  transition: 0.2s;
  cursor: pointer;
}
.unp-btn-main:hover { background: #e64a00; }
.unp-btn-main:active { transform: scale(0.98); box-shadow: none; }

/* Modal */
.unp-modal-content {
  border-radius: 24px !important;
  border: none !important;
}
/* Reset & Base */
.product-foto-all-body {
    background: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.product-foto-all-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    transition: opacity 0.3s ease;
}

.product-foto-all-btn-back {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s;
}
.product-foto-all-btn-back:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.product-foto-all-counter {
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

/* Main Gallery */
.product-foto-all-container {
    height: 100vh;
    width: 100vw;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Slide */
.product-foto-all-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}
.product-foto-all-slide img {
    max-width: 100%;
    max-height: 100vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease;
    cursor: zoom-in;
    display: block;
}
.product-foto-all-slide img.zoomed {
    cursor: zoom-out;
}

/* Nav Arrows */
.pfa-btn-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 999;
    font-size: 20px;
}
.pfa-btn-nav:hover:not(:disabled) {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}
.pfa-btn-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.pfa-btn-prev { left: 20px; }
.pfa-btn-next { right: 20px; }

/* Bottom Controls - posisi di atas thumbnail strip */


/* Pagination Dots - paling bawah */
.pfa-pagination {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 998;
    transition: opacity 0.3s;
}
.pfa-dot {
    width: 10px; height: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}
.pfa-dot.active {
    background: #ff5200;
    width: 30px;
    opacity: 1;
}

/* Bottom Controls - tepat di atas thumbnail strip */
.product-foto-all-controls {
    position: fixed;
    bottom: 132px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    display: flex;
    gap: 15px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: opacity 0.3s ease;
}
.product-foto-all-control-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    padding: 5px 10px;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}
.product-foto-all-control-btn:hover { background: rgba(255,255,255,0.4); transform: scale(1.1); }

/* Zoom Indicator */
.product-foto-all-zoom-indicator {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.product-foto-all-zoom-indicator.show { opacity: 1; }

/* Loading Spinner */
.product-foto-all-loading-spinner {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #ff5200;
    border-radius: 50%;
    animation: pfa-spin 1s linear infinite;
    z-index: 2000;
}
@keyframes pfa-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Thumbnail Strip */
.product-foto-all-thumbnail-strip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 997;
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 60px;
    backdrop-filter: blur(10px);
    max-width: 90vw;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #ff5200 rgba(255,255,255,0.2);
    transition: opacity 0.3s;
}
.product-foto-all-thumbnail-strip.hide { opacity: 0; pointer-events: none; }
.product-foto-all-thumbnail-strip::-webkit-scrollbar { height: 4px; }
.product-foto-all-thumbnail-strip::-webkit-scrollbar-thumb { background: #ff5200; border-radius: 4px; }
.product-foto-all-thumbnail-item {
    width: 60px; height: 60px;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    flex-shrink: 0;
}
.product-foto-all-thumbnail-item:hover { transform: scale(1.1); }
.product-foto-all-thumbnail-item.active {
    border-color: #ff5200;
    transform: scale(1.1);
}
.product-foto-all-thumbnail-item img { width: 100%; height: 100%; object-fit: cover; }

/* Info Panel */
.product-foto-all-info-panel {
    position: fixed;
    top: 20px; right: 20px;
    background: rgba(0,0,0,1);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 1000;
    max-width: 300px;
    transform: translateX(calc(100% + 20px));
    transition: transform 0.3s ease;
}
.product-foto-all-info-panel.show { transform: translateX(0); }
.product-foto-all-info-panel h4 { margin: 0 0 10px 0; font-size: 16px; color: #ff5200; }
.product-foto-all-info-panel p { margin: 5px 0; font-size: 14px; opacity: 0.8; }

/* Hidden controls */
.pfa-controls-hidden .product-foto-all-header,
.pfa-controls-hidden .product-foto-all-controls { opacity: 0; }
.pfa-controls-hidden .product-foto-all-thumbnail-strip { opacity: 0; pointer-events: none; }

/* Responsive */
@media (max-width: 768px) {
    .pfa-btn-nav { display: none; }
    .product-foto-all-thumbnail-strip { bottom: 50px; }
    .product-foto-all-controls { bottom: 140px; }
    .product-foto-all-info-panel {
        top: auto; bottom: 100px;
        right: 10px; left: 10px;
        max-width: none;
        transform: translateY(calc(100% + 100px));
    }
    .product-foto-all-info-panel.show { transform: translateY(0); }
}

