:root {
  --primary: #db2c18;
  --secondary: #e74c3c;
  --background-light: #f5f6fa;
  --background-dark: #ecf0f1;
  --font-navbar-light: #f5f6fa;
  --font-navbar-dark: #2c3e50;
  --text-dark: #34495e;
  --text-light: #7f8c8d;
  --text-hover: black;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  min-height: 2000px;
  background-color: var(--background-light);
}

/* -------------------- Navbar -------------------- */
.navbar-rental {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 7%;
  background-color: var(--primary);
  border-bottom: 1px solid var(--secondary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transition: all 0.3s ease-in-out;
}

.navbar-rental .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--font-navbar-light);
  text-decoration: none;
}

.navbar-rental .navbar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-rental .navbar-nav a {
  color: var(--font-navbar-light);
  display: inline-block;
  font-size: 1.1rem;
  padding: 0.3rem 0.8rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
  text-align: center;
}
/* -------------------- Hover & Active Navbar-------------------- */

.navbar-rental .navbar-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--font-navbar-light);
  transition: width 0.3s ease-in-out;
}

.navbar-rental .navbar-nav a:hover::after,
.navbar-rental .navbar-nav a.active::after {
  width: 100%;
}

.navbar-rental .navbar-nav a.active {
  font-weight: 600;
}

.navbar-rental .navbar-extra {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-rental .navbar-extra > * {
  color: var(--font-navbar-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  border-radius: 6px;
}

.navbar-rental .navbar-extra a {
  font-size: 1.3rem;
  background: transparent;
}

.navbar-rental .navbar-extra #user-profile {
  font-size: 1rem;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.749);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  gap: 0.5rem;
}

.navbar-rental .navbar-extra #user-profile a {
  background: transparent;
  padding: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: black;
}

/* Hover effects */
.navbar-rental .navbar-extra a:hover,
.navbar-rental .navbar-extrnavbar-extraa #user-profile:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  color: var(--font-navbar-light);
}

.navbar-rental .a:hover {
  color: var(--accent-color, #ffd369);
}

#hamburger-menu {
  display: none;
  min-height: 44px;
  padding: 0.6rem;
}

/* -------------------- Cart -------------------- */
.shoping-cart {
  position: absolute;
  right: -100%;
  top: 101%;
  width: 25rem;
  height: calc(100vh - 5.7rem);
  background-color: white;
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  border-left: 1px solid var(--background-dark);
}

.shoping-cart.active {
  right: 0;
}

.shoping-cart .cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--background-dark);
}

.shoping-cart .cart-header h1 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0;
}

.shoping-cart .close-cart-btn {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.shoping-cart .cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}

.shoping-cart .cart-items-container::-webkit-scrollbar {
  width: 8px;
}

.shoping-cart .cart-items-container::-webkit-scrollbar-thumb {
  background-color: var(--background-dark);
  border-radius: 4px;
}

.shoping-cart .cart-item-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  font-size: 1.2rem;
}

.shoping-cart .cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--background-dark);
  position: relative;
}

.shoping-cart .cart-item:last-child {
  border-bottom: none;
}

.shoping-cart .cart-item img {
  height: 6rem;
  width: 6rem;
  min-width: 6rem;
}

.shoping-cart .item-detail {
  flex-grow: 1;
  max-width: 100%;
}

.shoping-cart .item-detail h3 {
  font-size: 1rem;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.shoping-cart .item-price {
  font-size: 0.9rem;
}

.shoping-cart .quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  overflow: hidden;
  width: fit-content;
  background-color: #fff;
}

.shoping-cart .btn-qty {
  background-color: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  line-height: 1;
  visibility: visible;
}

.shoping-cart .item-quantity {
  width: 2.5rem;
  text-align: center;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: transparent;
  padding: 0.3rem 0.2rem;
  -moz-appearance: textfield;
}

.shoping-cart .item-quantity::-webkit-outer-spin-button,
.shoping-cart .item-quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shoping-cart .btn-remove {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0;
  line-height: 1;
}

.shoping-cart .cart-summary {
  border-top: 1px solid var(--background-dark);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: right;
}

.shoping-cart .cart-summary h2 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.shoping-cart .btn-payment {
  background-color: var(--primary);
  color: white;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-weight: 600;
}

/* -------------------- Payment Menu -------------------- */
.payment-menu {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  width: 90%;
  max-width: 400px;
  transition: all 0.3s ease-in-out;
}

.payment-menu .close-payment-btn {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.payment-menu .close-payment-btn:hover {
  color: var(--secondary);
  transform: rotate(90deg);
  transition: transform 0.3s ease-in-out;
}

.payment-menu.active {
  display: flex;
}

.payment-menu h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--font-navbar-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.payment-menu .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.payment-menu .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.payment-menu .form-group input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--background-dark);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--background-dark);
  transition: all 0.3s ease;
}

.payment-menu .form-group input:focus {
  border-color: var(--primary);
  background-color: var(--background-light);
  box-shadow: 0 0 0 3px rgba(212, 46, 28, 0.2);
}

.btn-checkout {
  background-color: var(--primary);
  color: var(--font-navbar-light);
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  text-transform: uppercase;
}

.btn-checkout:disabled {
  background-color: grey;
  cursor: not-allowed;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-checkout:active {
  transform: translateY(0);
  box-shadow: none;
}

/* -------------------- Products -------------------- */
.produk {
  padding: 8rem 7% 2rem;
  background-color: var(--background-light);
}

.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: white;
  border: 1px solid var(--background-dark);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1px;
  border-radius: 8px;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .harga {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  margin-top: 01px;
  margin-bottom: 1px;
  padding: 0.5rem 0;
}

.card-action {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* 
.quantity-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.quantity-section span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.card-action .quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-action .btn-qty {
  background-color: #f8f9fa;
  border: none;
  color: var(--text-dark);
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  min-width: 36px;
}

.card-action .btn-qty:hover {
  background-color: #e9ecef;
}

.card-action .qty {
  width: 3rem;
  text-align: center;
  border: none;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: transparent;
  padding: 0.4rem 0.2rem;
  -moz-appearance: textfield;
  font-weight: 600;
}

.card-action .qty::-webkit-outer-spin-button,
.card-action .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
} */

.card-action .btn-cart {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 0.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(212, 46, 28, 0.457);
}

.card-action .btn-cart:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(231, 77, 60, 0.938);
}

.card-action .btn-cart:active {
  transform: translateY(0);
}

/* -------------------- About Page -------------------- */
.about-section {
  padding: 8rem 7% 2rem;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.about-container {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-img {
  max-width: 400px;
  height: auto;
}

.about-content {
  flex: 2;
}

.about-content h1 {
  font-size: 3rem;
  color: var(--font-navbar-dark);
  margin-bottom: 0.5rem;
}

.about-content p {
  font-size: 0.6 rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* -------------------- contact Page -------------------- */
.contact-container {
  max-width: 800px;
  margin: 6rem auto 2rem;
  padding: 3rem;
  background-color: var(--background-light);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow: hidden;
}

.contact-container iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.contact-container h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--font-navbar-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.contact-container p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--background-dark);
  border-radius: 10px;
  font-size: 1rem;
  background-color: var(--background-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--background-light);
  box-shadow: 0 0 0 3px rgba(212, 46, 28, 0.2);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  background-color: var(--primary);
  color: var(--font-navbar-light);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(212, 46, 28, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: var(--text-light);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
  transform: scale(1.2);
}

.social-links i {
  width: 32px;
  height: 32px;
}

/* -------------------- Hover Effects -------------------- */
.shoping-cart .close-cart-btn:hover {
  color: var(--secondary);
  transform: rotate(90deg);
  transition: transform 0.3s ease-in-out;
}

.shoping-cart .btn-qty:hover {
  background-color: #f0f0f0;
}

.shoping-cart .btn-remove:hover {
  color: var(--secondary);
  transform: scale(1.2);
  transition: transform 0.2s ease-in-out;
}

.shoping-cart .btn-checkout:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-action .btn-cart:hover {
  background: var(--secondary);
  transform: scale(1.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-action .btn-qty:hover {
  background-color: #eee;
}

/* -------------------- History Page -------------------- */

.back-button {
  color: var(--background-light);
}

.order-history-page {
  padding: 8rem 7% 2rem;
  min-height: 100vh;
  background-color: var(--background-light);
}

.order-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.order-card {
  background-color: white;
  border: 1px solid var(--background-dark);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.order-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.order-details {
  flex: 2;
  min-width: 300px;
}

.order-summary {
  flex: 1;
  min-width: 200px;
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.order-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.order-items-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--text-dark);
}

.order-items-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.order-meta {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.order-total {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.order-status {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status.paid {
  background-color: #28a745;
  color: white;
}

.status.pending {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status.failed {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status.processing {
  background-color: #cce7ff;
  color: #004085;
  border: 1px solid #b3d7ff;
}

.order-empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
}

.order-empty-state p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.order-empty-state a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.order-empty-state a:hover {
  text-decoration: underline;
}

/* overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.swal2-container {
  z-index: 10001 !important;
}

/* -------------------- Media Queries -------------------- */
@media (max-width: 992px) {
  html {
    font-size: 55%;
  }

  .about-container {
    flex-direction: column;
  }

  .about-image,
  .about-content {
    flex: auto;
  }

  .produk-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .card img {
    text-align: center;
  }

  .card .harga {
    font-size: 10px;
  }

  .contact-container {
    padding: 2rem;
    margin-top: 8rem;
  }

  .contact-container h1 {
    font-size: 2.5rem;
  }

  .contact-container p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact-container iframe {
    width: 80%;
    max-width: 80%;
    height: 180px;
  }

  .navbar-rental {
    padding: 0.8rem 5%;
    flex-wrap: wrap;
  }

  .navbar-rental .navbar-logo {
    order: 1;
    flex: 1;
  }

  .navbar-rental .navbar-extra {
    order: 2;
    gap: 0.5rem;
  }

  .navbar-rental .navbar-extra > * {
    min-height: 40px;
    padding: 0.5rem;
  }

  .navbar-rental .navbar-extra #user-profile {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  #hamburger-menu {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem;
    min-height: 40px;
    align-items: center;
  }

  .navbar-rental .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(94, 91, 91, 0.674);
    flex-direction: column;
    display: none;
    padding: 0;
    border-top: 1px solid var(--secondary);
    z-index: 9998;
  }

  .navbar-rental .navbar-nav.active {
    display: flex;
  }

  .navbar-rental .navbar-nav a {
    padding: 1.2rem 2rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
  }

  .navbar-rental .navbar-nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    padding-left: 2.5rem;
    color: black;
  }
}

@media (max-width: 768px) {
  .produk-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .card img {
    height: 150px;
  }

  .contact-container {
    padding: 1.5rem;
    margin: 6rem auto 2rem;
  }

  .contact-container h1 {
    font-size: 2rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
  }

  .btn-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .social-links {
    gap: 1rem;
  }

  .social-links i {
    width: 28px;
    height: 28px;
  }

  .contact-container iframe {
    width: 80%;
    max-width: 80%;
    height: 200px;
  }

  .navbar-rental .navbar-extra {
    gap: 0.3rem;
  }

  .navbar-rental .navbar-extra > * {
    min-height: 38px;
    padding: 0.4rem;
    font-size: 1.2rem;
  }

  .navbar-rental .navbar-extra #user-profile {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .navbar-rental .navbar-logo {
    font-size: 1.6rem;
  }

  .order-history-page {
    padding: 7rem 5% 2rem;
  }

  .order-history-page h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .order-card {
    padding: 1.5rem;
    flex-direction: column;
    text-align: left;
  }

  .order-summary {
    text-align: left;
    border-top: 1px solid var(--background-dark);
    padding-top: 1.5rem;
    margin-top: 1rem;
  }

  .order-details,
  .order-summary {
    min-width: auto;
  }

  .order-total {
    font-size: 1.3rem;
  }

  .card .harga {
    font-size: 9px;
  }
}

@media (max-width: 500px) {
  .shoping-cart .cart-item img {
    height: 5rem;
    width: 5rem;
    min-width: 5rem;
  }

  .produk-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card img {
    height: 100px;
  }

  .contact-container {
    max-width: 800px;
    margin: 50px 2rem 2rem;
    padding: 3rem;
  }

  .contact-container iframe {
    width: 80%;
    max-width: 80%;
    height: 200px;
  }
  .navbar-rental {
    padding: 0.6rem 3%;
  }

  .navbar-rental .navbar-extra > * {
    min-height: 36px;
    padding: 0.3rem;
    font-size: 1.1rem;
  }

  .navbar-rental .navbar-extra #user-profile {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
  }

  .navbar-rental .navbar-logo {
    font-size: 1.4rem;
  }
  .order-history-page {
    padding: 6rem 3% 2rem;
  }

  .order-history-page h1 {
    font-size: 1.8rem;
  }

  .order-card {
    padding: 1.2rem;
  }

  .order-card h3 {
    font-size: 1.1rem;
  }

  .order-items-list {
    padding-left: 1.2rem;
  }

  .order-items-list li {
    font-size: 0.9rem;
  }

  .order-meta {
    font-size: 0.9rem;
  }
}
