/** Shopify CDN: Minification failed

Line 1260:0 Expected "}" to go with "{"

**/
/* ============================================
   PREMIUM CART STYLES - FOR SHOPIFY INTEGRATION
   ============================================ */

/* Main Cart Container */
.premium-cart-wrapper {
  background: linear-gradient(145deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
  min-height: 100vh;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 990px) {
  #MainContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;
  }

  #shopify-section-cart-items { grid-column: 1; }
  #shopify-section-cart-footer { grid-column: 2; }

  #shopify-section-cart-items .page-width,
  #shopify-section-cart-footer .page-width {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  #shopify-section-cart-footer {
    position: sticky;
    top: 96px;
    align-self: start;
    height: fit-content;
  }
}

@media (max-width: 989px) {
  #MainContent { display: block; }
  #shopify-section-cart-footer { position: static; }
}

.premium-cart-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Cart Header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-title {
  font-size: 36px;
  font-weight: 700;
  color: #C0C0C0;
  letter-spacing: -0.5px;
  margin: 0;
}

.premium-badge {
  background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
  color: #1a1a2e;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Main Layout */
.cart-layout {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cart-items-section {
  flex: 1;
  min-width: 0;
}

.cart-summary-section {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .cart-layout {
    flex-wrap: nowrap;
  }
  .cart-summary-section {
    width: 384px;
  }
}

/* Gradient Border Cards */
.gradient-border-card {
  position: relative;
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
  padding: 2px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.gradient-border-inner {
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

/* Shimmer Effect */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  to {
    left: 100%;
  }
}

/* Cart Item Product Card */
.cart-item-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cart-item-image {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  min-width: 250px;
}

.cart-item-vendor {
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cart-item-title {
  font-size: 24px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 8px 0;
}

.cart-item-description {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-btn {
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #d4af37;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: rgba(212, 175, 55, 0.1);
}

.quantity-input {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(212, 175, 55, 0.3);
  border-right: 1px solid rgba(212, 175, 55, 0.3);
  padding: 12px 16px;
  min-width: 60px;
  text-align: center;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 24px;
  font-weight: 700;
  color: #d4af37;
  min-width: 120px;
  text-align: right;
}

/* Status Indicator */
.status-indicator-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.status-text {
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
}

/* Profile Section */
.profile-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-icon {
  width: 24px;
  height: 24px;
  stroke: #d4af37;
  stroke-width: 2;
  fill: none;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px 0;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.metric-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.metric-label {
  color: #9ca3af;
  font-size: 12px;
  margin: 0 0 6px 0;
}

.metric-value {
  font-size: 18px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0;
}

/* Feature List */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.05);
}

.spec-icon {
  width: 20px;
  height: 20px;
  stroke: #10b981;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-content {
  flex: 1;
}

.spec-title {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 14px;
  margin: 0 0 4px 0;
}

.spec-description {
  color: #9ca3af;
  font-size: 13px;
  margin: 0;
}

/* Upsell Products Grid */
.upsell-section {
  margin-top: 24px;
}

.upsell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.upsell-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 16px;
  background: rgba(212, 175, 55, 0.03);
  transition: all 0.3s ease;
}

.upsell-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.upsell-image {
  aspect-ratio: 1;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.upsell-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upsell-title {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 14px;
  margin: 0 0 4px 0;
}

.upsell-price {
  color: #9ca3af;
  font-size: 13px;
  margin: 0 0 12px 0;
}

.upsell-btn {
  width: 100%;
  background: #85582C, #B59410;
  color: #1a1a2e;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.upsell-btn:hover {
  background: #d4af37;
  transform: translateY(-1px);
}

/* Order Summary */
.summary-card {
  position: sticky;
  top: 24px;
}

.summary-title {
  font-size: 20px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 24px 0;
}

.summary-line-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: #d1d5db;
}

.summary-line-label {
  font-size: 15px;
}

.summary-line-value {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 15px;
}

.summary-total {
  padding-top: 16px;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total-label {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
}

.summary-total-value {
  font-size: 20px;
  font-weight: 700;
  color: #d4af37;
}

.summary-note {
  color: #9ca3af;
  font-size: 12px;
  margin-top: 8px;
}

/* Timeline Box */
.timeline-box {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.timeline-icon {
  width: 16px;
  height: 16px;
  stroke: #d4af37;
  stroke-width: 2;
  fill: none;
}

.timeline-title {
  font-weight: 600;
  color: #d4af37;
  font-size: 13px;
  margin: 0;
}

.timeline-text {
  color: #d1d5db;
  font-size: 13px;
  margin: 0 0 4px 0;
}

.timeline-subtext {
  color: #9ca3af;
  font-size: 12px;
  margin: 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(147deg, #85582C 20%, #D4AF37 40, #B59410 100%);
  color: #1a1a2e;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  width: 100%;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Trust Indicators */
.trust-indicators {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #9ca3af;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cart-item-card {
    flex-direction: column;
  }

  .cart-item-image {
    width: 100%;
    max-width: 300px;
  }

  .cart-item-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cart-title {
    font-size: 28px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
/* =============== CART RIGHT PANEL (UPSHELLS) =============== */

#shopify-section-cart-footer .cart-premium-panel {
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background: rgba(15, 15, 30, 0.55);
  backdrop-filter: blur(10px);
  padding: 18px;
}

#shopify-section-cart-footer .cart-premium-panel__divider {
  height: 1px;
  background: rgba(212, 175, 55, 0.16);
  margin: 14px 0;
}

/* Title */
#shopify-section-cart-footer .cart-premium-upsells__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:  #C0C0C0;
}

/* Make upsells scroll so checkout stays visible */
#shopify-section-cart-footer .cart-premium-upsells__grid {
  display: grid;
  gap: 12px;

  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

#shopify-section-cart-footer .cart-premium-upsells__grid::-webkit-scrollbar {
  width: 8px;
}
#shopify-section-cart-footer .cart-premium-upsells__grid::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 10px;
}

/* Card layout */
#shopify-section-cart-footer .cart-premium-upsell {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

#shopify-section-cart-footer .cart-premium-upsell__media img {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

#shopify-section-cart-footer .cart-premium-upsell__body {
  min-width: 0;
}

#shopify-section-cart-footer .cart-premium-upsell__name {
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  color: #C0C0C0;
}

#shopify-section-cart-footer .cart-premium-upsell__price {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}

#shopify-section-cart-footer .cart-premium-upsell__form {
  margin: 10px 0 0;
}

/* Button (force it to look like your brand CTA) */
#shopify-section-cart-footer .cart-premium-upsell__btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(166deg, #85582C 10%, #D4AF37 40%, #B59410 100%);
  color: #0b0b14;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#shopify-section-cart-footer .cart-premium-upsell__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgb(190, 157, 25);

}
/* CART PAGE ONLY: premium background + 2-column layout */
.template-cart #MainContent {
  background: radial-gradient(1200px 600px at 30% 0%, rgba(212,175,55,0.08), transparent 55%),
              radial-gradient(900px 500px at 80% 20%, rgba(99,102,241,0.10), transparent 55%),
              linear-gradient(180deg, #0b0b14 0%, #101022 60%, #0b0b14 100%);
  min-height: 100vh;
  padding: 28px 0;
}

.template-cart #shopify-section-cart-items,
.template-cart #shopify-section-cart-footer,
.template-cart #main-cart-footer,
.template-cart cart-items.gradient {
  background: transparent !important;
}

@media (min-width: 990px) {
  .template-cart #MainContent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;
  }

  .template-cart #shopify-section-cart-items { grid-column: 1; }
  .template-cart #shopify-section-cart-footer { grid-column: 2; }
}
/* Upsell block styling */
.cart-premium-upsells__title{
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c0c0c0;
}

.cart-premium-upsells__grid{
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}

.cart-premium-upsells__grid img{
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 12px;
}

.cart-premium-upsell{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.cart-premium-upsell__btn{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(166deg, #85582C 10%, #D4AF37 40%, #B59410 100%);
  color: #0b0b14;
}
/* =======================
   CART PAGE: PREMIUM GRID
   ======================= */

/* Give the cart page a dark background instead of gray */
.template-cart #MainContent {
  background: linear-gradient(157deg, #151516 45%, #70706F 100%);
  min-height: 100vh;
  padding: 28px 0;
}

/* Ensure the cart sections themselves are transparent */
.template-cart #shopify-section-cart-items,
.template-cart #shopify-section-cart-footer,
.template-cart #main-cart-footer,
.template-cart cart-items.gradient,
.template-cart .cart__footer {
  background: transparent !important;
}

/* Put cart items (left) + footer (right) in a centered 2-column grid */
@media (min-width: 990px) {
  .template-cart #MainContent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;

    /* This is what removes the “huge gray empty field” feeling */
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .template-cart #shopify-section-cart-items { grid-column: 1; }
  .template-cart #shopify-section-cart-footer { grid-column: 2; }
}
/* Give the cart page a premium dark background */
.template-cart #MainContent {
  background:  linear-gradient(157deg, #151516 45%, #70706F 100%);
  min-height: 100vh;
  min-height: 100vh;
  padding-top: 28px;
  padding-bottom: 28px;
}

/* Make the left items area a card */
@media (min-width: 990px) {
  .template-cart #shopify-section-cart-items .page-width {
    background:  linear-gradient(157deg, #151516 45%, #70706F 100%);
  min-height: 100vh;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 18px;
  }
}
/* CART PAGE: bigger main product image */
@media (min-width: 990px) {
  .template-cart .cart-item__media {
    width: 240px; /* controls the first column width */
  }

  .template-cart .cart-item__image-container {
    width: 220px;
  }

  .template-cart .cart-item__image {
    width: 220px;
    height: auto;
  }
}
/* CART FOOTER: keep checkout buttons inside the right panel */
.template-cart #main-cart-footer .cart__ctas,
.template-cart #main-cart-footer .cart__ctas .button,
.template-cart #main-cart-footer .cart__ctas button,
.template-cart #main-cart-footer .cart__ctas a {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.template-cart #main-cart-footer .cart__ctas {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* =========================
   CART RIGHT PANEL: ALIGN CTAs
   ========================= */

/* Make the whole right panel use a consistent inner padding */
.template-cart #shopify-section-cart-footer .cart__footer,
.template-cart #main-cart-footer .cart__footer {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Ensure the blocks (subtotal + buttons) align with upsells */
.template-cart #shopify-section-cart-footer .cart__blocks,
.template-cart #main-cart-footer .cart__blocks {
  padding: 18px !important;              /* match your panel padding */
  border-radius: 16px;
}

/* Kill Dawn's CTA width constraints/margins and force full width */
.template-cart #shopify-section-cart-footer .cart__ctas,
.template-cart #main-cart-footer .cart__ctas {
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
/* =========================
   RIGHT PANEL: contain + align buttons
   ========================= */

/* Make the right panel a true container (opaque enough + clips contents) */
.template-cart #shopify-section-cart-footer .cart__blocks {
  background: rgba(12, 12, 20, 0.92);     /* higher opacity = no footer showing through */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;                       /* IMPORTANT: clips button edges inside radius */
}

/* Make sure CTA area uses full width and doesn't push outside */
.template-cart #shopify-section-cart-footer .cart__ctas {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 16px 0 0 0 !important;
  box-sizing: border-box;
}

/* Force the main checkout button to fill the panel */
.template-cart #shopify-section-cart-footer .cart__ctas .button,
.template-cart #shopify-section-cart-footer .cart__ctas button {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* The "Shop" dynamic checkout button wrapper */
.template-cart #shopify-section-cart-footer .cart__dynamic-checkout-buttons,
.template-cart #shopify-section-cart-footer .additional-checkout-buttons {
  width: 100% !important;
  max-width: 100% !important;
}

/* Clip the Shopify dynamic button so it respects your rounded corners */
.template-cart #shopify-section-cart-footer .shopify-cleanslate {
  border-radius: 12px;
  overflow: hidden;
}

/* Space between "Check out" and the dynamic button */
.template-cart #shopify-section-cart-footer .cart__ctas > * + * {
  margin-top: 12px !important;
}
/* =========================
   RIGHT COLUMN: make it a real panel + contain Shop Pay
   ========================= */

@media (min-width: 990px) {
  /* Remove Dawn's outer padding in the footer column so the panel aligns cleanly */
  .template-cart #shopify-section-cart-footer .page-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Turn the entire cart footer into the unified panel */
  .template-cart #shopify-section-cart-footer .cart__footer {
    position: sticky;
    top: 24px;

    background: rgba(12, 12, 20, 0.98); /* opaque enough so footer never shows through */
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;

    padding: 18px;
    overflow: hidden; /* IMPORTANT: clips Shop Pay + buttons inside radius */
    z-index: 5;
  }
}

/* Force CTA/buttons to fit panel width */
.template-cart #shopify-section-cart-footer .cart__ctas,
.template-cart #shopify-section-cart-footer .cart__ctas .button,
.template-cart #shopify-section-cart-footer .cart__ctas button {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Normalize the additional checkout buttons (Shop Pay) wrapper */
.template-cart #shopify-section-cart-footer .additional-checkout-buttons,
.template-cart #shopify-section-cart-footer .cart__dynamic-checkout-buttons {
  width: 100% !important;
  max-width: 100% !important;
  margin: 12px 0 0 0 !important;
}

/* Shop Pay comes in via Shopify "cleanslate" container */
.template-cart #shopify-section-cart-footer .shopify-cleanslate {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 12px;
  overflow: hidden;
}
.template-cart #MainContent { padding-bottom: 80px; }
/* =========================
   CART UPSELLS: shrink cards to remove inner scrollbar
   ========================= */

@media (min-width: 990px) {
  /* If your upsell wrapper is forcing its own scroll, disable that */
  #shopify-section-cart-footer .cart-premium-upsell,
  #shopify-section-cart-footer .cart-premium-upsell__list,
  #shopify-section-cart-footer .cart-upsells,
  #shopify-section-cart-footer .cart-upsells__list {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Tighten overall spacing in the upsell block */
  #shopify-section-cart-footer .cart-premium-upsell {
    margin-top: 10px !important;
  }

  #shopify-section-cart-footer .cart-premium-upsell__title {
    margin: 0 0 10px 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.12em;
  }

  /* Shrink each upsell card */
  #shopify-section-cart-footer .cart-premium-upsell__item {
    padding: 10px !important;
    border-radius: 14px !important;
  }

  /* Layout: smaller thumb + tighter gap */
  #shopify-section-cart-footer .cart-premium-upsell__media {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
  }

  #shopify-section-cart-footer .cart-premium-upsell__row {
    gap: 10px !important;
  }

  /* Reduce text size/line height so titles don’t eat height */
  #shopify-section-cart-footer .cart-premium-upsell__name {
    font-size: 12px !important;
    line-height: 1.25 !important;

    /* clamp to 2 lines if your markup supports it */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #shopify-section-cart-footer .cart-premium-upsell__price {
    font-size: 12px !important;
    margin-top: 4px !important;
  }

  /* Make the Add button shorter */
  #shopify-section-cart-footer .cart-premium-upsell__btn {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  /* Optional: reduce spacing between cards */
  #shopify-section-cart-footer .cart-premium-upsell__item + .cart-premium-upsell__item {
    margin-top: 10px !important;
  }
}
@media (min-width: 990px) {
  #shopify-section-cart-footer .cart-premium-upsell {
    max-height: 360px;           /* tune this */
    overflow: auto;
    padding-right: 6px;          /* room for scrollbar */
  }
}
@media (min-width: 990px) {
  /* Tighten upsell block spacing */
  .template-cart #shopify-section-cart-footer .cart-premium-upsells__title{
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .template-cart #shopify-section-cart-footer .cart-premium-upsells__grid{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Smaller card */
  .template-cart #shopify-section-cart-footer .cart-premium-upsell{
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
  }

  /* Smaller image */
  .template-cart #shopify-section-cart-footer .cart-premium-upsell__media{
    width: 54px;
    flex: 0 0 54px;
  }
  .template-cart #shopify-section-cart-footer .cart-premium-upsell__media img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  /* Tighter text */
  .template-cart #shopify-section-cart-footer .cart-premium-upsell__name{
    font-size: 12px;
    line-height: 1.25;
    margin: 0 0 4px;
  }
  .template-cart #shopify-section-cart-footer .cart-premium-upsell__price{
    font-size: 12px;
    margin: 0 0 8px;
  }

  /* Shorter button */
  .template-cart #shopify-section-cart-footer .cart-premium-upsell__btn{
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
  }
}
@media (min-width: 990px) {
  .template-cart td.cart-item__media { width: 260px; }
  .template-cart .cart-item__image-container { width: 220px; }
  .template-cart img.cart-item__image { width: 220px; height: auto; }
}
/* Make the upsells fit inside the right panel without horizontal scroll */
@media (min-width: 990px) {
  .template-cart #shopify-section-cart-footer .cart-premium-upsells__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 upsells = no scroll */
    gap: 10px;
  }

  .template-cart #shopify-section-cart-footer .cart-premium-upsell {
    padding: 10px;
  }

  .template-cart #shopify-section-cart-footer .cart-premium-upsell__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
  }

  .template-cart #shopify-section-cart-footer .cart-premium-upsell__btn {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .template-cart #shopify-section-cart-footer .cart__ctas,
  .template-cart #shopify-section-cart-footer .cart__checkout-button,
  .template-cart #shopify-section-cart-footer .cart__dynamic-checkout-buttons {
    width: 100%;
  }
}
.template-cart .cart-premium-upsells__grid{
  max-height:none !important;
  overflow:visible !important;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.template-cart .cart-premium-upsell{
  display:grid;
  grid-template-columns:64px 1fr;
  gap:12px;
  align-items:center;
  padding:12px;
}
.template-cart #shopify-section-main-cart-footer .cart__ctas,
.template-cart #shopify-section-main-cart-footer .cart__dynamic-checkout-buttons{
  width:100%;
}

.template-cart #shopify-section-main-cart-footer .cart__checkout-button{
  width:100%;
  box-sizing:border-box;
}

.template-cart #shopify-section-main-cart-footer .additional-checkout-buttons [data-shopify-buttoncontainer]{
  width:100% !important;
}
