
         html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-y;
        -webkit-user-scalable: no;
        -ms-user-scalable: no;
        user-scalable: no;
        overscroll-behavior-y: none;
        -webkit-text-size-adjust: none;
        -webkit-overflow-scrolling: touch;
        background-color: #2c2c2c;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
    }
    body::-webkit-scrollbar {
        display: none;
    }
    body {
        font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
        background: #2c2c2c;
        color: #ffffff;
        transition: background 0.3s ease;
        display: flex;
        flex-direction: column;
        padding-bottom: 140px; /* Matches footer height to prevent overlap */
    }
    

        .empty-cart {
            text-align: center;
            padding: 15px;
        }
        .empty-cart h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
            letter-spacing: -0.4px;
            color: #ffffff;
        }
        .empty-cart p {
            font-size: 1rem;
            color: #ffffff;
            opacity: 0.7;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        .empty-cart .btn-primary {
            background: #50c33e;
            border: none;
            padding: 10px 30px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 600;
            transition: background 0.3s ease, transform 0.2s ease;
        }
        .empty-cart .btn-primary:hover {
            background: #3a972cd1;
            transform: translateY(-2px);
        }
        .cart-items {
            margin-bottom: 40px;
        }
        
        .cart-item p {
            margin: 0;
            color: #ffffff;
        }
        .cart-item .item-name {
            font-size: 1.1rem;
            font-weight: 600;
        }
        .cart-item .item-price {
            font-size: 0.85rem;
            opacity: 0.7;
        }
        .cart-item .controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px; /* adjust value as needed */
}

.cart-item .btn-sm:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px) scale(1.02); /* native app tap feel */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cart-item .btn-sm:active {
    transform: translateY(0) scale(0.98);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Group container */
.quantity-group {
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35),
                inset 0 0 8px rgba(255, 255, 255, 0.2);

    margin-left: auto; /* pushes it to the right */
}


/* Buttons inside the group */
.quantity-group .btn-sm {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 6px 12px;
    color: white;
    transition: background 0.2s ease;
}

.quantity-group .btn-sm:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Quantity number */
.quantity-group .quantity {
    padding: 6px 12px;
    color: white;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}


        .cart-item .quantity {
            font-size: 0.95rem;
            font-weight: 500;
        }
        .cart-item .item-total {
            font-size: 1rem;
            font-weight: 600;
        }
        .cart-item .btn-danger {
            background: #ba2837;
            border: none;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background 0.2s ease;
        }
        .cart-item .btn-danger:hover {
            background: #ff0019;
        }
         
        .order-summary {
            background: #1e1e1e;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 12px rgba(0,0,0,0.2);
            margin-bottom: 20px;
        }
        .delivery-details {
            background: #1e1e1e;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 12px rgba(0,0,0,0.2);
            margin-bottom: 40px;
        }
        .order-summary p {
            font-size: 0.95rem;
            margin-bottom: 8px;
            color: #ffffff;
            opacity: 0.9;
        }
        .delivery-details label {
            font-size: 0.95rem;
            color: #ffffff;
            opacity: 0.9;
            display: block;
            margin-bottom: 5px;
        }
        
        .delivery-details select, .delivery-details input, .delivery-details textarea {
            background: #2c2c2c;
            border: none;
            color: #fff;
            padding: 10px;
            border-radius: 8px;
            width: 100%;
            margin-bottom: 10px;
            transition: border 0.3s ease;
            font-size: 16px;
        }
        .delivery-details select:focus, .delivery-details input:focus, .delivery-details textarea:focus {
            border: 1px solid #50c33e;
            outline: none;
        }
        .order-summary hr, .delivery-details hr {
            border-color: rgba(255,255,255,0.2);
            margin: 10px 0;
        }
        .order-summary h6, .delivery-details h6 {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 0;
            color: #ffffff;
        }
        .action-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 50px; /* ensures it's never cut off */
}

        .action-buttons .btn {
            padding: 12px;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            transition: background 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
        }
        .action-buttons .btn-success {
            background: #191919;
            border: none;
            position: relative;
        }
        .action-buttons .btn-success:hover {
            background: #878686;
            transform: translateY(-2px);
        }
        .action-buttons .btn-success:disabled {
            background: #4a4a4a;
            opacity: 0.6;
            cursor: not-allowed;
        }
        .action-buttons .btn-danger {
            background: #7c1822;
            border: none;
        }
        .action-buttons .btn-danger:hover {
            background: #dc3545;
            transform: translateY(-2px);
        }
        .notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.9);
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 0.9rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.4s ease;
            z-index: 1000;
        }
        .notification.show {
            opacity: 1;
            transform: translateX(-50%) translateY(10px);
        }
        .notification.error {
            background: #dc3545;
        }
        .text-danger {
            color: #50c33e !important;
            transition: color 0.3s ease, transform 0.2s ease;
        }
        .text-danger:hover {
            color: #50c33e !important;
            transform: scale(1.05);
        }
        .refund-note {
            font-size: 0.75rem;
            color: #aaa;
            text-align: center;
            margin-top: 20px;
            font-style: italic;
        }
        input, select, textarea {
            font-size: 16px;
            outline: none;
            -webkit-user-select: text !important;
            user-select: text !important;
            -webkit-touch-callout: default !important;
            touch-action: auto !important;
        }
        .spinner {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 3px solid #fff;
            border-top: 3px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }
        .btn-success.loading .spinner {
            display: block;
        }
        @keyframes spin {
            0% { transform: translateY(-50%) rotate(0deg); }
            100% { transform: translateY(-50%) rotate(360deg); }
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
     
    
    @media (max-width: 600px) {
  .cart-item {
    flex-direction: row;          /* ✅ keep row layout */
    align-items: center;          /* ✅ keep aligned */
    gap: 12px;
  }

  .cart-item .controls {
    flex-direction: column;       /* ✅ stack qty & trash vertically */
    align-items: flex-end;
    width: auto;                  /* ✅ don’t stretch full width */
    justify-content: center;
  }
}

body {
  background: #2c2c2c;
  color: #f2f2f2;
}

/* Cart container gets premium depth */
.cart-container {
  padding: 20px 20px 30px 20px; /* ⬅️ added top padding */
  max-width: 700px;
  margin: 0 ;
  animation: fadeIn 0.5s ease forwards;
  flex: 1 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
}


.cart-item {
  position: relative;
  display: flex;                   /* ✅ makes left & right side sit inline */
  justify-content: space-between;  /* ✅ pushes controls to the far right */
  align-items: center;             /* ✅ keeps them vertically aligned */
  gap: 16px;

  background: rgba(30, 30, 30, 0.55);
  border-radius: 16px;
  padding: 16px;

  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45),
              inset 0 0 1px rgba(255, 255, 255, 0.2);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.controls {
  display: flex;                   /* ✅ flex container */
  flex-direction: column;          /* ✅ stack quantity & trash */
  align-items: flex-end;           /* ✅ align to right */
  gap: 8px;
}

.quantity-group {
  display: flex;
  align-items: center;
  gap: 6px;
}


/* Delivery + summary sections – minimal elegance */
/* Frosted Glass Panels – Delivery, Order, Payment */
.delivery-details,
.order-summary {
  position: relative;
  background: rgba(30, 30, 30, 0.55); /* translucent dark glass */
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 24px;

  /* Glassmorphism */
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.12);

  /* Depth + realism */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45),
              inset 0 0 1px rgba(255, 255, 255, 0.18);

  /* Smooth interaction */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.delivery-details:hover,
.order-summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55),
              inset 0 0 1px rgba(255, 255, 255, 0.25);
}


/* Section headers */
.delivery-details h6,
.order-summary h6 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Frosted Glass Inputs */
.delivery-details input,
.delivery-details textarea,
.delivery-details select {
  background: rgba(255, 255, 255, 0.08); /* translucent glass */
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f5f5;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;

  /* Glass blur */
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);

  /* Subtle depth */
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05),
              0 2px 6px rgba(0, 0, 0, 0.25);

  transition: all 0.3s ease;
}

/* Focused State */
.delivery-details input:focus,
.delivery-details textarea:focus,
.delivery-details select:focus {
  border: 1px solid #50c33e;
  outline: none;
  box-shadow: 0 0 8px rgba(80, 195, 62, 0.6),
              inset 0 1px 2px rgba(255, 255, 255, 0.08);
}


/* Buttons – neomorphic softness */
.btn {
  border-radius: 40px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.btn-success {
  background: #242424;
  color: #fff;
  border: 1px solid #2f2f2f;
}

.btn-success:hover {
  background: #2d2d2d;
  transform: translateY(-1px);
}

.btn-danger {
  background: #541c1c;
  border: 1px solid #702626;
}

.btn-danger:hover {
  background: #7f2d2d;
  transform: translateY(-1px);
}

/* Payment cards (stacked mobile layout) */
.payment-card {
  background: #202020;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.payment-card.selected {
  border-color: #50c33e;
  background: #262626;
}

.payment-card:hover {
  background: #2a2a2a;
}

.payment-card i {
  font-size: 26px;
  color: #50c33e;
}

.payment-card strong {
  font-size: 1.05rem;
  color: #fff;
}

.payment-card p {
  font-size: 0.85rem;
  color: #aaa;
  margin: 2px 0 0;
}

/* Refund note refinement */
.refund-note {
  font-size: 0.75rem;
  color: #888;
  margin-top: 20px;
  text-align: center;
  font-style: italic;
  line-height: 1.4;
}

/* Spinner stays subtle */
.spinner {
  border: 3px solid #fff;
  border-top: 3px solid transparent;
}

/* Mobile responsiveness: stack payment cards */
@media (min-width: 600px) {
  .payment-option-grid {
    flex-direction: row;
  }
}


.big-checkout-btn {
  padding: 16px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  background: #50c33e;
  color: white;
  border: none;
  margin-bottom: 120px;
}

.big-checkout-btn.loading {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 480px) {
  .payment-option-grid {
    grid-template-columns: 1fr;
  }
}
.spinner.pulse-ring {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: ringPulse 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes ringPulse {
  0% {
    transform: rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.6;
  }
}

.big-checkout-btn .spinner {
  display: none;
}

.big-checkout-btn.loading .spinner {
  display: inline-block;
}
.restaurant-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center; /* changed from left → center */
  color: white;
  margin: 0; /* reset margins so it's truly centered */
  line-height: 1.2;
  font-family: 'Segoe UI', sans-serif;
  flex-grow: 1; /* lets it take space evenly */
}

.discount-input-wrapper {
  display: flex;
  align-items: center;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0 8px;
  margin-top: 10px;
}

.discount-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 10px;
  font-size: 1rem;
}

.discount-input-wrapper input:focus {
  outline: none;
}

.discount-input-wrapper button {
  background: #50c33e;
  border: none;
  color: #0d0d0d;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.discount-input-wrapper button:hover {
  background: #3a972cd1;
  transform: translateY(-1px);
}
.refund-note a {
  color: #3a972cd1;
  text-decoration: none;
  font-weight: bold;
}

.refund-note a:hover {
  text-decoration: underline; /* optional: show underline on hover only */
}
.big-checkout-btn:hover {
  background-color: #3a972cd1; /* Slightly deeper tone */
  transform: translateY(-1px); /* Soft lift */
}
/* Fullscreen Loader */
#page-loader {
  position: fixed;
  inset: 0;
  background: #2c2c2c; /* matches your app */
  z-index: 99999;
  overflow-y: auto;
  padding: 20px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Shimmer effect */
.skeleton {
  background: linear-gradient(
    90deg,
    #3a3a3a 25%,
    #4a4a4a 37%,
    #3a3a3a 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* 🔝 Header placeholders */
.loader-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skeleton-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.skeleton-title {
  width: 120px;
  height: 18px;
  border-radius: 6px;
}

/* 🔍 Search bar placeholder */

.loader-search .skeleton-search {
  width: 100%;
  height: 46px;
  border-radius: 16px;
}

/* 🎉 Promo banners */
.loader-promos {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically */
}
.skeleton-banner {
  width: 95%;
  height: 120px;
  border-radius: 16px;
}

/* 🍴 Restaurant cards */
.loader-restaurants {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.skeleton-card {
  width: 100%;
  height: 160px;
  border-radius: 14px;
}
.skeleton-card1 {
  width: 100%;
  height: 660px;
  border-radius: 14px;
}
.skeleton-card3 {
  width: 100%;
  height: 200px;
  border-radius: 14px;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(30,30,30,0.55);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 0 1px rgba(255,255,255,0.2);
}

/* Top row: name/price left, quantity controls right */
.cart-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Name and price stacked */
.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.item-total {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* Quantity controls right-aligned */
.controls {
  display: flex;
  align-items: center;
}

.quantity-group {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  padding: 4px 8px;
}

.quantity-group .btn-sm {
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 6px 10px;
  transition: background 0.2s ease;
}

.quantity-group .btn-sm:hover {
  background: rgba(255,255,255,0.18);
}

.quantity-group .quantity {
  color: white;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
}

/* Note textarea beneath everything */
.delivery-details {
  width: 100%;
}

.delivery-details textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  padding: 8px 0;
  resize: none;
  outline: none;
}
.cart-item .note-wrapper {
  width: 100%;               /* full width */
  background: rgba(30, 30, 30, 0.55);  
  border-radius: 12px;
  padding: 12px 14px;        /* slight inner padding */
  margin-top: 8px;           /* spacing from top row */
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35),
              inset 0 0 4px rgba(255, 255, 255, 0.15);
}

.cart-item .note-wrapper textarea {
  width: 100%;               /* takes full width of wrapper */
  background: transparent;  
  border: none;
  border-radius: 8px;        
  color: #fff;
  font-size: 0.95rem;
  padding: 6px 0;
  resize: none;
  outline: none;
  box-shadow: none;
  backdrop-filter: none;     
  transition: all 0.3s ease;
}


.cart-item .note-wrapper textarea:focus {
  outline: none;
}
.cart-top {
    display: flex;
    justify-content: space-between; /* left vs right */
    align-items: center;
    width: 100%;
    gap: 12px;
}

.item-info {
    flex: 0 1 auto;      /* only take the space it needs */
    text-align: left;     /* force left alignment */
}

.controls {
    flex: 0 0 auto;       /* do not stretch */
    display: flex;
    align-items: center;
    justify-content: flex-end; /* stick to right */
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantity-group button {
    flex: 0 0 auto;
}
/* Payment Selector - clean, no conflicts */
.payment-selector {
  margin-top: 30px;
  background: rgba(30,30,30,0.55); /* frosted glass */
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45), inset 0 0 1px rgba(255,255,255,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.payment-selector:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.55), inset 0 0 1px rgba(255,255,255,0.25);
}

.payment-selector h6 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.payment-option-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.payment-card {
  background: #202020;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.payment-card.selected {
  border-color: #50c33e;
  background: #262626;
  box-shadow: 0 0 0 2px #50c33e88;
}

.payment-card:hover {
  background: #2a2a2a;
}

.payment-card i {
  font-size: 26px;
  color: #50c33e;
  flex-shrink: 0;
}

.payment-card strong {
  font-size: 1.05rem;
  color: #fff;
}

.payment-card p {
  font-size: 0.85rem;
  color: #aaa;
  margin: 2px 0 0;
}

/* Responsive: stack horizontally on wider screens */
@media (min-width: 600px) {
  .payment-option-grid {
    flex-direction: row;
  }
}
.ultra-glass-btn {
  width: 100%;
  padding: 20px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04); /* ultra transparent glass */
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  backdrop-filter: blur(60px) saturate(280%);
  -webkit-backdrop-filter: blur(60px) saturate(280%);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 0 16px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ultra-glass-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 26px 80px rgba(0,0,0,0.45),
    inset 0 0 20px rgba(255,255,255,0.1);
}

.ultra-glass-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.08) 100%
  );
  transform: rotate(-30deg) translateX(-120%);
  pointer-events: none;
  transition: all 0.6s ease;
}

.ultra-glass-btn:hover::before {
  transform: rotate(-30deg) translateX(220%);
}

.ultra-glass-btn i {
  transition: transform 0.35s ease, color 0.35s ease;
}

.ultra-glass-btn:hover i {
  transform: translateX(6px) rotate(2deg);
  color: #fff;
}

.ultra-glass-btn .spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff; 
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  position: absolute;
  right: 20px;
}

.big-checkout-btn.loading .spinner {
  display: inline-block;
}
.image-wrap {
  width: 100%;
  max-width: 500px;           /* desktop size */
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  justify-content: center;     /* horizontal center */
  align-items: center;         /* vertical center */
  margin: 0 auto;              /* center container itself */
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

@media (max-width: 480px) {
  .image-wrap {
    max-width: 500px;         /* mobile size */
  }
}
