/** Shopify CDN: Minification failed

Line 1111:0 Unexpected "}"

**/
.build-a-box-main {
  position: relative;
  min-height: 100vh;
}

/* Navigation Tabs */
.build-a-box__nav {
  margin-bottom: 3rem;
}

.build-a-box__nav-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.build-a-box__nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.4rem;
  border-radius: 3rem;
  border: 2px solid rgba(var(--color-foreground), 0.08);
  background: rgba(var(--color-foreground), 0.05);
  color: rgb(var(--color-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 16rem;
  justify-content: center;
  text-align: center;
}

.build-a-box__nav-tab h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
}

.build-a-box__nav-tab:hover {
  background: rgba(var(--color-foreground), 0.08);
  border-color: rgba(var(--color-foreground), 0.2);
  transform: translateY(-2px);
}

.build-a-box__nav-tab.active {
  background: rgb(var(--color-accent));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-accent));
  box-shadow: 0 4px 12px rgba(var(--color-accent), 0.25);
}

.build-a-box__nav-tab.active h3 {
  color: inherit;
}

.build-a-box__nav-icon {
  font-size: 2rem;
  line-height: 1;
}

/* Progress Bar */
.build-a-box__progress {
  flex: 0 0 70%;
  padding: 1.5rem 2rem;
  background: rgb(var(--color-background));
  border-radius: 1.6rem;
  border: 2px solid rgba(var(--color-foreground), 0.2);
  box-shadow: 0 4px 12px rgba(var(--color-foreground), 0.1);
}

.build-a-box__progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.build-a-box__progress-header h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  color: rgb(var(--color-foreground));
}

.build-a-box__progress-count {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgb(var(--color-accent));
}

.build-a-box__progress-bar {
  height: 1.6rem;
  background: rgba(var(--color-foreground), 0.1);
  border-radius: 41px;

  overflow: hidden;
  position: relative;
  border: 2px solid rgba(var(--color-foreground), 0.1);
  transition: border-color 0.3s ease;
}

.build-a-box__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgb(var(--color-accent)), rgb(var(--color-accent-2, var(--color-accent))));
  border-radius: 41px;
  width: var(--progress, 0%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 0;
}

.build-a-box__progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
  border-radius: 41px;
}

.build-a-box__progress--mobile {
  flex: 1;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.build-a-box__progress--mobile .build-a-box__progress-bar {
  height: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  background: rgba(var(--color-foreground), 0.08);
}

.build-a-box__progress--mobile .build-a-box__progress-fill {
  background: linear-gradient(90deg, rgb(var(--color-accent)), rgb(var(--color-accent-2, var(--color-accent))));
}

/* Progress bar states */
.build-a-box__progress-bar:has(.build-a-box__progress-fill[style*="--progress: 0%"]) {
  border-color: rgba(var(--color-foreground), 0.1);
}

.build-a-box__progress-bar:has(.build-a-box__progress-fill[style*="--progress: 100%"]) {
  border-color: rgb(var(--color-accent));
  box-shadow: 0 0 0 2px rgba(var(--color-accent), 0.2);
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Main Wrapper */
.build-a-box__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  min-height: 100vh;
  padding-top: 10rem;
  padding-bottom: 12rem;
}

/* Products Section */
.build-a-box__products {
  position: relative;
}

.build-a-box__category {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.build-a-box__category.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.build-a-box__category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.build-a-box__category-header h2 {
  margin: 0 0 1rem 0;
  font-size: 3.2rem;
  font-weight: 700;
  color: rgb(var(--color-foreground));
}

.build-a-box__category-header p {
  margin: 0;
  font-size: 1.8rem;
  color: rgba(var(--color-foreground), 0.7);
}

.build-a-box__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.build-a-box__product-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.build-a-box__product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(var(--color-foreground), 0.15);
}


.build-a-box__sidebar {
  position: sticky;
  top: 12rem;
  height: fit-content;
  align-self: start;
  z-index: 10;
}
.build-a-box__sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.1);
}

.build-a-box__sidebar-header h3 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgb(var(--color-foreground));
}

.build-a-box__box-icon {
  font-size: 3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse-ready {
  0%, 100% { 
    box-shadow: 0 4px 16px rgba(var(--color-accent), 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 6px 20px rgba(var(--color-accent), 0.5);
    transform: scale(1.02);
  }
}

@keyframes float-pulse {
  0%, 100% { 
    transform: translateY(0);
    box-shadow: 0 12px 48px rgba(var(--color-accent), 0.5);
  }
  50% { 
    transform: translateY(-4px);
    box-shadow: 0 16px 64px rgba(var(--color-accent), 0.7);
  }
}

@keyframes float-shimmer {
  0% { 
    transform: translateY(0);
    box-shadow: 0 12px 48px rgba(var(--color-accent), 0.4);
  }
  50% { 
    transform: translateY(-4px);
    box-shadow: 0 16px 64px rgba(var(--color-accent), 0.6);
  }
  100% { 
    transform: translateY(0);
    box-shadow: 0 12px 48px rgba(var(--color-accent), 0.4);
  }
}

@keyframes float-ready {
  0%, 100% { 
    transform: translateY(0);
    box-shadow: 0 16px 64px rgba(var(--color-accent), 0.6);
  }
  50% { 
    transform: translateY(-6px);
    box-shadow: 0 20px 80px rgba(var(--color-accent), 0.8);
  }
}

/* Box Items */
.build-a-box__box-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  min-height: 20rem;
  max-height: 60rem;
  overflow-y: auto;
  padding: 1rem;
}

@media screen and (min-width: 750px) {
  .build-a-box__box-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (min-width: 1024px) {
  .build-a-box__box-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.1rem;
  }
}

/* Enhanced Bundle Product Styles */
.build-a-box__box-items .bundle-product {
  background: rgba(var(--color-foreground), .03);
  border: 1px solid rgba(var(--color-foreground), .1);
  border-radius: 41px;
  padding: 1rem 2.3rem;
  transition: all .3s ease;
position: relative;
  overflow: visible;
  min-height: 9.8rem;
  display: flex;
  flex-direction: column;
  gap: 0rem;
  align-items: stretch;
  width: 100%;
}

.build-a-box__box-items .bundle-product[available] {
  background: rgba(var(--color-accent), 0.05);
  border-color: rgba(var(--color-accent), 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--color-accent), 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(var(--color-accent), 0); }
}

.build-a-box__box-items .bundle-product:not([available]) {
  background: rgb(var(--color-background));
  border-color: rgb(var(--color-accent));
  box-shadow: 0 4px 12px rgba(var(--color-accent), 0.2);
  transform: scale(0.90);
}

/* 
.build-a-box__box-items .bundle-product:not([available])::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgb(var(--color-accent)), rgb(var(--color-accent-2, var(--color-accent))));
}
*/
/* Bundle product content in sidebar */
.build-a-box__box-items .bundle-product__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}

.build-a-box__box-items .bundle-product__title {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.build-a-box__box-items .bundle-product__price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: rgb(var(--color-accent));
}

.build-a-box__box-items .bundle-product__variants {
  font-size: 1.2rem;
  margin: 0;
  color: rgba(var(--color-foreground), 0.7);
}

.build-a-box__box-items .bundle-product__media {
  width: 100%;
  height: 8rem;
  border-radius: 0.8rem;
  overflow: hidden;
  flex-shrink: 0;
}

.build-a-box__box-items .bundle-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.build-a-box__box-items .bundle-product__close {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  z-index: 2;
}

.build-a-box__box-items .bundle-product__close-btn {
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(var(--color-foreground), 0.8);
  color: rgb(var(--color-background));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.build-a-box__box-items .bundle-product__close-btn:hover {
  background: rgb(var(--color-foreground));
  transform: scale(1.1);
}

/* Sidebar Footer */
.build-a-box__sidebar-footer {
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
  padding-top: 2rem;
}

.build-a-box__item-count {
  text-align: center;
  font-size: 1.6rem;
  color: rgba(var(--color-foreground), 0.7);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Ensure header stays on top */
.header,
.site-header,
.shopify-section-header {
  z-index: 1001 !important;
  position: relative;
}

/* Floating Checkout Button */
.build-a-box__floating-checkout {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(var(--color-accent), 0.3));
  width: 90%;
  max-width: 80rem;
}


.build-a-box__checkout-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  pointer-events: auto;
  background: rgb(var(--color-background));
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(var(--color-foreground), 0.15);
}

.build-a-box__floating-btn {
  pointer-events: auto;
  padding: 1.2rem 2rem;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 6rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  flex: 0 0 27%;
  min-width: 2rem;
  box-shadow: 0 12px 48px rgba(var(--color-accent),.5);
  border: 4px solid rgb(var(--color-accent));
  background: rgb(var(--color-accent));
  color: rgb(var(--color-background));
  margin: 10px;
}

.build-a-box__floating-btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-direction: column;
}

.build-a-box__floating-price {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.build-a-box__floating-label {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Floating Button States */
.build-a-box__floating-btn:not(:disabled) {
  background: rgb(var(--color-accent));
  color: rgb(var(--color-background));
  animation: float-pulse 2s infinite;
  box-shadow: 0 12px 48px rgba(var(--color-accent), 0.5);
}

.build-a-box__floating-btn:not(:disabled):hover {
  background: rgb(var(--color-accent-2, var(--color-accent)));
  transform: translateY(-6px);
  box-shadow: 0 16px 64px rgba(var(--color-accent), 0.6);
}

.build-a-box__floating-btn:disabled {
  background: rgba(var(--color-foreground), 0.2);
  color: rgba(var(--color-foreground), 0.6);
  border-color: rgba(var(--color-foreground), 0.3);
  cursor: not-allowed;
  box-shadow: 0 8px 24px rgba(var(--color-foreground), 0.2);
}

/* Building state (1-9 items) */
.build-a-box__floating-btn.button--building {
  background: linear-gradient(135deg, rgb(var(--color-accent)), rgb(var(--color-accent-2, var(--color-accent))));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-accent));
  box-shadow: 0 12px 48px rgba(var(--color-accent), 0.4);
  animation: float-shimmer 2s infinite;
}

/* Ready state (10 items) */
.build-a-box__floating-btn.button--ready {
  background: rgb(var(--color-accent));
  color: rgb(var(--color-background));
  border-color: rgb(var(--color-accent));
  box-shadow: 0 16px 64px rgba(var(--color-accent), 0.6);
  animation: float-ready 2s infinite;
}

.build-a-box__checkout-btn {
  width: 100%;
  padding: 1.8rem 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 41px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Building state (1-9 items) */
.build-a-box__checkout-btn.button--building {
  background: linear-gradient(135deg, rgba(var(--color-accent), 0.8), rgba(var(--color-accent), 0.6));
  color: rgb(var(--color-background));
  border: 2px solid rgba(var(--color-accent), 0.8);
  box-shadow: 0 4px 16px rgba(var(--color-accent), 0.2);
  position: relative;
  overflow: hidden;
}

.build-a-box__checkout-btn.button--building::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 2s infinite;
}

/* Ready state (10 items) */
.build-a-box__checkout-btn.button--ready {
  background: rgb(var(--color-accent));
  color: rgb(var(--color-background));
  border: 2px solid rgb(var(--color-accent));
  box-shadow: 0 4px 16px rgba(var(--color-accent), 0.3);
  animation: pulse-ready 2s infinite;
}

.build-a-box__checkout-btn.button--ready:hover {
  background: rgb(var(--color-accent-2, var(--color-accent)));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--color-accent), 0.4);
}

/* Disabled state (0 items) */
.build-a-box__checkout-btn:disabled {
  background: rgba(var(--color-foreground), 0.1);
  color: rgba(var(--color-foreground), 0.4);
  border-color: rgba(var(--color-foreground), 0.2);
  cursor: not-allowed;
}

.build-a-box__checkout-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-direction: column;
}

.build-a-box__checkout-price {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.build-a-box__checkout-label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.build-a-box__checkout-message {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: rgba(var(--color-foreground), 0.6);
  transition: all 0.3s ease;
}

/* Free Shipping Section */
.build-a-box__free-shipping {
  padding: 1rem 1.5rem;
  border: 2px solid #dc2626;
  border-radius: 1rem;
  background: rgba(220, 38, 38, 0.05);
  text-align: center;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 100%;
  margin: 0;
}

.build-a-box__free-shipping.free-shipping-achieved,
.build-a-box__free-shipping.free-shipping-pending {
  opacity: 1;
  transform: translateY(0);
}

.build-a-box__free-shipping.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.build-a-box__free-shipping-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #dc2626;
  line-height: 1.2;
}

.build-a-box__free-shipping.free-shipping-achieved {
  background: rgba(220, 38, 38, 0.1);
  border-color: #dc2626;
}

.build-a-box__free-shipping.free-shipping-achieved .build-a-box__free-shipping-text {
  color: #dc2626;
}

.build-a-box__free-shipping.free-shipping-pending {
  background: rgba(220, 38, 38, 0.05);
  border-color: #dc2626;
}

.build-a-box__free-shipping.free-shipping-pending .build-a-box__free-shipping-text {
  color: #dc2626;
}

/* Responsive Design */
.build-a-box__progress--desktop {
  display: block;
  flex: 1;
}

@media screen and (min-width: 1024px) {
  .build-a-box__wrapper {
    grid-template-columns: 2fr 1fr;
  .build-a-box__progress--desktop {
    display: none;
  }
  
    gap: 6rem;
    align-items: start;
  }
  
  .build-a-box__products-grid {
    grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
    gap: 2.4rem;
  }
  
  .build-a-box__sidebar {
    position: sticky;
    top: -6rem;
    align-self: start;
    z-index: 1; 
  }
  
  /* Hide mobile collapsed header on desktop */
  .build-a-box__mobile-collapsed-header {
    display: none;
  }
  
  /* Show box items container always expanded on desktop */
  .build-a-box__box-items-container {
    max-height: none !important;
    margin-bottom: 2rem;
    opacity: 1 !important;
  }
  
  .build-a-box__box-items {
    max-height: 60rem;
    margin-bottom: 2rem;
  }
  
  /* Ensure items are visible on desktop */
  .build-a-box__box-items-container .bundle-product {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media screen and (max-width: 1023px) {
  .build-a-box__sidebar {
    position: fixed !important;
    bottom: 7.4rem !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    z-index: 998 !important;
    background: rgb(var(--color-background));
    border-top: 0 solid rgba(var(--color-foreground), .1);
    border-radius: 2rem 2rem 0 0;
    padding: 1rem 1.5rem 0rem;
    box-shadow: 0 -5px 32px rgba(var(--color-foreground), .15);
    transform: translateY(0) !important;
    transition: transform .3s 
ease;
    max-height: fit-content;
    overflow-y: visible;
  }
  
  .build-a-box__sidebar-footer {
    padding-top: 0rem;
    display: none;
  }
  
  .build-a-box__sidebar.active {
    transform: translateY(0);
  }
  
  .build-a-box__sidebar-header {
    display: none;
  }
  
  /* Ensure box items are visible on mobile when expanded */
  .build-a-box__box-items-container[data-expanded="true"] .bundle-product {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Mobile Collapsed Header (shows item count) - Always visible, appears above free shipping bar */
  .build-a-box__mobile-collapsed-header {
    display: flex !important;
    width: 100%;
    padding: 1.2rem 1.4rem;
    background: rgb(var(--color-background));
    border: 1px solid rgba(var(--color-foreground), 0.12);
    border-radius: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
    box-shadow: none;
  }
  
  .build-a-box__mobile-collapsed-header:hover {
    border-color: rgb(var(--color-accent));
  }
  
  .build-a-box__mobile-collapsed-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
  }

  .build-a-box__mobile-header-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .build-a-box__mobile-collapsed-count {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgb(var(--color-foreground));
  }
  
  .build-a-box__mobile-collapsed-progress {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .build-a-box__mobile-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
  }
  
  .build-a-box__mobile-progress-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgb(var(--color-foreground));
  }
  
  .build-a-box__mobile-progress-count {
    font-size: 1.4rem;
    font-weight: 700;
    color: rgb(var(--color-foreground));
    white-space: nowrap;
  }
  
  .build-a-box__mobile-collapsed-icon {
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }
  
  .build-a-box__mobile-collapsed-icon .chevron-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
  }
  
  /* When collapsed (default), chevron points down - no rotation */
  .build-a-box__mobile-collapsed-header[aria-expanded="false"] .build-a-box__mobile-collapsed-icon,
  .build-a-box__mobile-collapsed-header:not([aria-expanded="true"]) .build-a-box__mobile-collapsed-icon {
    transform: rotate(0deg) !important;
  }
  
  /* When expanded, rotate chevron 180deg to point up */
  .build-a-box__mobile-collapsed-header[aria-expanded="true"] .build-a-box__mobile-collapsed-icon {
    transform: rotate(180deg) !important;
  }
  
  /* Collapsible Box Items Container - Mobile Only */
  /* Default: COLLAPSED (hidden) */
  .build-a-box__sidebar .build-a-box__box-items-container,
  .build-a-box__sidebar .build-a-box__box-items-container[data-expanded="false"],
  .build-a-box__sidebar .build-a-box__box-items-container:not([data-expanded="true"]) {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    margin-bottom: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: block !important;
  }
  
  .build-a-box__sidebar .build-a-box__box-items-container[data-expanded="true"] {
    max-height: 41vh!important;
    margin-bottom: 0rem!important;
    opacity: 1 !important;
    overflow-y: auto !important;
    visibility: visible !important;
  }
  
  /* Override base styles for mobile collapsed state */
  .build-a-box__sidebar .build-a-box__box-items-container .build-a-box__box-items {
    padding: 1rem;
    display: none; /* Hidden by default on mobile */
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0 !important;
    max-height: none !important;
    margin-bottom: 0 !important;
  }
  
  /* Hide items when container is collapsed - Mobile */
  .build-a-box__sidebar .build-a-box__box-items-container:not([data-expanded="true"]) .build-a-box__box-items {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .build-a-box__sidebar .build-a-box__box-items-container:not([data-expanded="true"]) .bundle-product {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  /* Show items when expanded - Mobile */
  .build-a-box__sidebar .build-a-box__box-items-container[data-expanded="true"] .build-a-box__box-items {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .build-a-box__sidebar .build-a-box__box-items-container[data-expanded="true"] .bundle-product {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
  }
  
  /* Mobile floating button adjustments */
  .build-a-box__floating-checkout {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: none;
    width: auto;
    z-index: 999 !important;
  }
  
  .build-a-box__checkout-container {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
  }
  
  .build-a-box__progress {
    flex: none;
    width: 100%;
    padding: 1rem 1.2rem;
  }
  
  .build-a-box__floating-btn {
    flex: none;
    width: 100%;
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    border-width: 3px;
    box-shadow: 0 8px 32px rgba(var(--color-accent), 0.4);
  }
  
  .build-a-box__floating-price {
    font-size: 2rem;
    font-weight: 900;
  }
  
  .build-a-box__floating-label {
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .build-a-box__free-shipping {
    padding: 0.8rem 1.2rem;
    min-height: 3.5rem;
    width: 100%;
  }
  
  .build-a-box__free-shipping-text {
    font-size: 1.3rem;
    font-weight: 600;
  }
  
  .build-a-box__free-shipping.free-shipping-achieved,
  .build-a-box__free-shipping.free-shipping-pending {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  .build-a-box__products {
    margin-bottom: 8rem;
  }
}

@media screen and (max-width: 749px) {
  .build-a-box__nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
    .build-a-box__progress--desktop {
      display: none;
    }

  }
  
  .build-a-box__nav-tab {
    width: 100%;
    max-width: 32rem;
  }
  
  .build-a-box__products-grid {
    grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
    gap: 1.6rem;
  }
  
  .build-a-box__category-header h2 {
    font-size: 2.8rem;
  }
  
  .build-a-box__category-header p {
    font-size: 1.6rem;
  }
  
  /* Additional mobile adjustments for progress bar */
  .build-a-box__progress-header h3 {
    font-size: 1.6rem;
  }
  
  .build-a-box__progress-count {
    font-size: 1.4rem;
  }
  
  /* Extra small mobile - further reduce button size */
  .build-a-box__floating-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    border-width: 2px;
  }
  
  .build-a-box__floating-price {
    font-size: 1.8rem;
  }
  
  .build-a-box__floating-label {
    font-size: 1.1rem;
  }
  
  .build-a-box__checkout-container {
    padding: 0.5rem 0.6rem;
    gap: 0.4rem;
  }
  
  .build-a-box__progress {
    padding: 0.8rem 1rem;
  }
}

/* Loading States */
.build-a-box__loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20rem;
  font-size: 1.8rem;
  color: rgba(var(--color-foreground), 0.6);
}

.build-a-box__loading::after {
  content: '';
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(var(--color-foreground), 0.2);
  border-top: 2px solid rgb(var(--color-accent));
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animation Classes */
.build-a-box__fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.build-a-box__slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.build-a-box__bounce-in {
  animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
  0% { 
    opacity: 0; 
    transform: scale(0.3); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.05); 
  }
  70% { 
    transform: scale(0.9); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1); 
  }
}
