* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff;
  color: #172554;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
  width: 100%;
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  position: relative;
  z-index: 1000;
}

/* =====================================================
   LOGO
===================================================== */

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 125px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* =====================================================
   DESKTOP CATEGORIES
===================================================== */

.categories {
  flex: 1;
  display: flex;
  justify-content: center;
}

.categories ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 42px;
}

.categories ul li a {
  position: relative;
  text-decoration: none;
  color: #172554;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  transition: 0.3s ease;
}

/* Underline */

.categories ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #172554;
  transition: width 0.3s ease;
}

.categories ul li a:hover {
  color: #1e3b8d;
}

.categories ul li a:hover::after,
.categories ul li a.active::after {
  width: 100%;
}

.categories ul li a.active {
  color: #1e3b8d;
  font-weight: 700;
}

/* =====================================================
   DESKTOP CART / ACCOUNT
===================================================== */

.cart-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.cart-nav a {
  text-decoration: none;
  color: #172554;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
}

.cart-nav a:hover {
  color: #1e3b8d;
}

/* Cart */

.cart-nav .cart-link {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-nav .cart-link:hover {
  transform: scale(1.1);
}

/* Register */

.register-btn {
  color: #ffffff !important;
  background-color: #172554;
  padding: 11px 19px;
  border-radius: 7px;
  border: 1px solid #172554;
}

.register-btn:hover {
  background-color: #1e3b8d;
  border-color: #1e3b8d;
  transform: translateY(-2px);
}

/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-nav {
  display: none;
  align-items: center;
  gap: 20px;
}

/* Mobile Cart */

.mobile-cart {
  color: #172554;
  text-decoration: none;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-cart:hover {
  color: #1e3b8d;
}

/* =====================================================
   MENU BUTTON
===================================================== */

.menu-btn {
  width: 42px;
  height: 42px;
  border: none;
  background-color: #f1f5f9;
  color: #172554;
  border-radius: 7px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.menu-btn:hover {
  background-color: #e2e8f0;
}

/* =====================================================
   MOBILE SIDEBAR
===================================================== */

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
}

/* Sidebar Open */

.mobile-sidebar.active {
  transform: translateX(0);
}

/* =====================================================
   SIDEBAR HEADER
===================================================== */

.sidebar-header {
  height: 82px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-header img {
  width: 105px;
  height: auto;
}

/* Close Button */

.close-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 7px;
  background-color: #f1f5f9;
  color: #172554;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.close-btn:hover {
  background-color: #e2e8f0;
}

/* =====================================================
   SIDEBAR LINKS
===================================================== */

.sidebar-links {
  padding: 25px;
}

.sidebar-links a {
  width: 100%;
  padding: 17px 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #172554;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
  transition: 0.3s ease;
}

.sidebar-links a i {
  font-size: 13px;
  color: #94a3b8;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  color: #1e3b8d;
  padding-left: 10px;
}

/* =====================================================
   SIDEBAR ACCOUNT
===================================================== */

.sidebar-account {
  padding: 10px 25px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-login,
.sidebar-register {
  width: 100%;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

/* Login */

.sidebar-login {
  color: #172554;
  border: 1px solid #dbe2ea;
}

.sidebar-login:hover {
  background-color: #f8fafc;
}

/* Register */

.sidebar-register {
  color: #ffffff;
  background-color: #172554;
  border: 1px solid #172554;
}

.sidebar-register:hover {
  background-color: #1e3b8d;
}

/* =====================================================
   OVERLAY
===================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

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

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
  .navbar {
    padding: 0 5%;
  }

  .categories ul {
    gap: 25px;
  }

  .categories ul li a {
    font-size: 15px;
  }

  .cart-nav {
    gap: 14px;
  }

  .cart-nav a {
    font-size: 14px;
  }

  .register-btn {
    padding: 9px 14px;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {
  .navbar {
    height: 72px;
    padding: 0 20px;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .logo img {
    width: 105px;
  }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {
  .navbar {
    padding: 0 15px;
  }

  .logo img {
    width: 90px;
  }

  .mobile-nav {
    gap: 14px;
  }

  .mobile-cart {
    font-size: 19px;
  }

  .menu-btn {
    width: 39px;
    height: 39px;
    font-size: 18px;
  }
}

/* =====================================================
   API PRODUCT SECTION
===================================================== */

.Product-Container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 60px;
  padding: 60px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Main Card Item */
.Card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hover Effect */
.Card:hover {
  transform: translateY(-6px);
}

/* Image Wrapper Fix */
.img-box {
  width: 100%;
  height: 280px;
  background-color: #e5e7eb;
  border-top-left-radius: 28px;
  border-bottom-right-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  margin-bottom: 16px;
}

.img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

.Card:hover .img-box img {
  transform: scale(1.06);
}

.Card .title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.Card .category {
  font-size: 15px;
  color: #6b7280;
  text-transform: capitalize;
  margin-bottom: 8px;
}

.Card .price {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

/* Mobile Responsiveness Using Media Query */
@media (max-width: 1024px) {
  .Product-Container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .Product-Container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Awais Code start from here
   ========================================================================== */

.page-header {
    text-align: center;
    padding: 30px 20px 10px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #172554;
    text-transform: capitalize;
    letter-spacing: -0.5px;
}

/* Loading, empty, and error state UI */
.loading-state,
.empty-state,
.error-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #172554;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Product Detail Page Styles */
.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 60px 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 30px;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #172554;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Left Column - Gallery */
.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-img-box {
    width: 100%;
    height: 420px;
    background-color: #eaeced;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.main-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.thumb-box {
    height: 85px;
    background-color: #eaeced;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.thumb-box.active,
.thumb-box:hover {
    border-color: #172554;
}

.thumb-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Right Column - Information */
.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 30px;
    font-weight: 700;
    color: #172554;
    line-height: 1.25;
    margin-bottom: 8px;
}

.detail-category {
    font-size: 16px;
    color: #64748b;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.detail-price {
    font-size: 24px;
    font-weight: 800;
    color: #172554;
}

.detail-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}

.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: #172554;
    margin-bottom: 8px;
}

.description-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.add-to-cart-btn {
    width: 100%;
    background-color: #172554;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.add-to-cart-btn:hover {
    background-color: #1e3b8d;
}

.add-to-cart-btn:active {
    transform: scale(0.99);
}

.product-spec-box {
    background-color: #f1f5f9;
    border-radius: 10px;
    padding: 22px 24px;
}

.spec-title {
    font-size: 15px;
    font-weight: 700;
    color: #172554;
    margin-bottom: 14px;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-list li:last-child {
    margin-bottom: 0;
}

.spec-list .bullet {
    color: #475569;
    font-weight: bold;
}

/* Responsive adjustments for product detail */
@media (max-width: 900px) {
    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-img-box {
        height: 340px;
    }
    
    .product-detail-container {
        padding: 20px 20px 40px 20px;
    }
}

/* =====================================================
   CART BADGE (on navbar cart icon)
===================================================== */

.cart-link,
.mobile-cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    display: none;
}

/* =====================================================
   CARD BOTTOM (price + add to cart btn)
===================================================== */

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.card-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background-color: #172554;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.card-cart-btn:hover {
    background-color: #1e3b8d;
    transform: scale(1.08);
}

/* =====================================================
   CART SIDEBAR
===================================================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 95%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 3000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    transform: translateX(0);
}

/* Cart sidebar header */
.cart-sidebar .sidebar-header {
    height: 72px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cart-sidebar .sidebar-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #172554;
}

.cart-sidebar .sidebar-header h2 span {
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
}

/* Cart body (scrollable items) */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px;
}

/* =====================================================
   CART ITEM
===================================================== */

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.cart-item-img {
    width: 72px;
    height: 72px;
    background-color: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.cart-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #172554;
    line-height: 1.4;
    margin-bottom: 4px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

/* Qty row */
.cart-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #f8fafc;
    color: #172554;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: #e2e8f0;
}

.qty-count {
    min-width: 32px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #172554;
    background-color: #ffffff;
    padding: 0 6px;
    line-height: 30px;
}

.cart-item-subtotal {
    font-size: 14px;
    font-weight: 800;
    color: #172554;
}

/* Remove button */
.cart-remove-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
    align-self: center;
}

.cart-remove-btn:hover {
    color: #ef4444;
    background-color: #fef2f2;
}

/* =====================================================
   CART EMPTY STATE
===================================================== */

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 260px;
    text-align: center;
    gap: 14px;
    color: #94a3b8;
}

.cart-empty-icon {
    font-size: 48px;
    color: #e2e8f0;
}

.cart-empty p {
    font-size: 16px;
    font-weight: 500;
}

.cart-shop-link {
    display: inline-block;
    padding: 10px 22px;
    background-color: #172554;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.cart-shop-link:hover {
    background-color: #1e3b8d;
}

/* =====================================================
   CART FOOTER
===================================================== */

.cart-footer {
    padding: 18px 22px 24px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    background-color: #ffffff;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #172554;
}

.cart-total-price {
    font-size: 20px;
    font-weight: 800;
    color: #172554;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background-color: #172554;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.3px;
}

.checkout-btn:hover {
    background-color: #1e3b8d;
}

.checkout-btn:active {
    transform: scale(0.99);
}

/* =====================================================
   CART OVERLAY
===================================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

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

/* Responsive cart sidebar */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }
}





/* ============================================================
   CHECKOUT PAGE STYLES
   ============================================================ */
.checkout-wrapper {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-main-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #111827;
    margin-left: 450px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.checkout-left, .checkout-right {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 24px;
}

/* Steps Header */
.checkout-steps-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 15px;
}

.step-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* Active Step Style (Blue Accent) */
.step-indicator.active {
    color: #2563eb;
}

.step-indicator.active .step-icon {
    border-color: #2563eb;
    background-color: #eff6ff;
    color: #2563eb;
}

/* Completed Step Style (Green Checkmark) */
.step-indicator.completed {
    color: #94a3b8;
}

.step-indicator.completed .step-icon {
    border-color: #22c55e;
    background-color: #ffffff;
    color: #22c55e;
}

/* Forms Visibility */
.checkout-step-content {
    display: none;
}

.checkout-step-content.active {
    display: block;
}

.checkout-step-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    border-color: #2563eb;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkout-btn {
    width: 100%;
    background-color: #334155;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.checkout-btn:hover {
    background-color: #1e293b;
}

/* Order Summary Details */
.order-summary-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.summary-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.item-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
    color: #1e293b;
}

.qty-pill {
    background-color: #f1f5f9;
    border-radius: 20px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 15px;
}

.qty-pill button {
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
}

.item-price {
    font-weight: 600;
    color: #0f172a;
}

.discount-note {
    font-size: 12px;
    color: #64748b;
    background-color: #f8fafc;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #334155;
    margin-bottom: 8px;
}

.summary-row.final-total {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    margin-top: 10px;
}

.terms-text {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}