/** Shopify CDN: Minification failed

Line 38:41 Unexpected "@app"

**/


/* ==========================================================================
   EXISTING FUNCTIONAL STYLES - KEEP AS IS
   ========================================================================== */

/* Product Options */
.m-product-option--node{width:100%!important;}
.prod__option--button .m-product-option--node input:checked+label {
background-color: transparent;
border-color: #000000;
color: #000000;
}

/* Discount Tag */
.prod__tag-discounted {
background-color: #FF5349;
color: #fff;
height: 22px;
font-size: 15px;
}

/* Trust Badge */
.m-product-trust-badge {
  padding: 0px;
  background-color: #fff;
}

.main-product__block.main-product__block-trust_badge {
margin-top: 0px;
}

.main-product__block.main-product__block-@app {
  margin-top: 10px;
}

/* Quantity Upsell */
.f-quantity-upsell {
    padding-top: 5px;
    padding-bottom: 5px;
}

.f-quantity-upsell__product {
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Cart Styling */
@media(max-width:767px){
  .sf-cart__table-price{
    flex-direction: row !important;
    display: flex!important;
    align-items: center!important;
}
 .sf-cart__quantity{
   margin-top: 0px !important;
   margin-left:20px!important;
 } 
}

/* ==========================================================================
   SPACING OPTIMIZATION ONLY - NO COMPONENT-SPECIFIC STYLES
   ========================================================================== */

/* 🔥 REPLACE: Old spacing rules with optimized ones */
.main-product__block {
  margin-bottom: 0.75rem !important; /* Optimized from various values */
}

.main-product__block + .main-product__block {
  margin-top: -0.25rem !important; /* Pull blocks closer */
}

/* Updated specific block spacing */
.main-product__block.main-product__block-variant_picker {
  margin-top: 0.5rem !important; /* Reduced from 15px */
  margin-bottom: 0.5rem !important;
}

.main-product__block.main-product__block-buy_buttons {
  margin-top: 0.5rem !important; /* Reduced from 10px */
}

.m-product-form--wrapper {
  margin-top: 0.5rem !important; /* Reduced from 15px */
}

.main-product__block.main-product__block-shipping { 
  margin-top: 0.5rem !important; /* Reduced from 10px */
}

.main-product__block.main-product__block-custom_liquid {
  margin-top: 0.75rem !important; /* Reduced from 20px */
}

.main-product__block.main-product__block-custom_text {
  margin-top: 0.75rem !important; /* Reduced from 20px */
}

/* Mobile spacing optimization */
@media (max-width: 768px) {
  .main-product__block {
    margin-bottom: 0.5rem !important;
  }
  
  .main-product__block + .main-product__block {
    margin-top: -0.1rem !important;
  }
  
  .main-product__block.main-product__block-variant_picker {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .m-product-form--wrapper {
    margin-top: 0.25rem !important;
  }
}

/* Fine-tuning elements */
.m-product-title {
  margin-bottom: 0.5rem !important;
}

.m-product-meta {
  margin: 0.25rem 0 !important;
}

.m-product-option--label {
  margin-bottom: 0.2rem !important;
}
/* ==========================================================================
   CUSTOM - Mophonic Variant Selector Layout (Minimog 5.7) - Final Version
   ========================================================================== */

/* --- DESKTOP LAYOUT --- */
/* 1. Target the main container and turn it into a flex container */
variant-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Space between selectors */
  margin-bottom: 0.5rem;
}

/* 2. Target each option block and make it a flex item that grows equally */
variant-picker .m-product-option {
  flex: 1 1 150px; /* Each item will grow equally but won't shrink below 150px */
  width: auto; /* Override any default width */
}

/* 3. Ensure the select element inside fills its container */
variant-picker .m-product-option .m-product-option--content,
variant-picker .m-product-option .m-product-option--content select {
  width: 100%;
}

/* --- MOBILE LAYOUT (DEFINITIVE FIX) --- */
/* 4. This rule ensures each option is on its own line on mobile */
@media (max-width: 749px) {
  variant-picker {
    flex-direction: column;
    gap: 2px; /* Vertical gap on mobile */
    margin-bottom: 0.5rem;
  }
  
  variant-picker .m-product-option {
    flex-basis: 100%;
    width: 100%;
  }
}

/* --- NEW: DESIGN & CLEANUP UPGRADES --- */

/* 5. Set background color for dropdowns */
variant-picker .m-product-option--content select {
  background-color: #f5f5f5; /* Light gray background */
  border: 1px solid #e5e5e5; /* Subtle border for a polished look */
}

/* 6. Hide the redundant selected value from the label */
variant-picker .option-label--selected {
  display: none;
}
/* ==========================================================================
   CUSTOM - Quantity Offers Block (v3.4 - User-defined UI)
   ========================================================================== */

/* --- LOGIC: Hide the original quantity selector when the offers grid is enabled --- */
.main-product__block-quantity_offer ~ .main-product__block-buy_buttons .product-form__input--quantity {
  display: none;
}

/* --- UI: Exactly as provided by the user --- */
.quantity-offers__headline {
  font-size: 1rem; font-weight: 500; margin-bottom: 12px; text-align: left;
}
.quantity-offers__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 0.5rem;
}
.quantity-offers__card-wrapper {
  position: relative;
}
.quantity-offers__radio-input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.quantity-offers__card {
  display: flex; align-items: center; gap: 10px; padding: 14px;
  border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden; height: 100%;
}
.quantity-offers__radio-visual {
  width: 18px; height: 18px; border: 2px solid #d1d5db; border-radius: 50%;
  flex-shrink: 0; position: relative; transition: border-color 0.2s ease;
}
.quantity-offers__radio-visual::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; background-color: #2F4F4F; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); transition: transform 0.2s ease;
}
.quantity-offers__radio-input:checked + .quantity-offers__card {
  border-color: #2F4F4F; box-shadow: 0 0 0 1px #2F4F4F;
}
.quantity-offers__radio-input:checked + .quantity-offers__card .quantity-offers__radio-visual {
  border-color: #2F4F4F;
}
.quantity-offers__radio-input:checked + .quantity-offers__card .quantity-offers__radio-visual::after {
  transform: translate(-50%, -50%) scale(1);
}
.quantity-offers__details { display: flex; flex-direction: column; }
.quantity-offers__title { font-size: 0.95rem; font-weight: 400; color: #111827; line-height: 1.1; }
.quantity-offers__pricing { font-size: 0.85rem; color: #4b5563; line-height: 1.4; }
.quantity-offers__price { color: #047857; font-weight: 400; }
.quantity-offers__compare-price { margin-left: 6px; color: #9ca3af; }

/* ==========================================================================
   QUANTITY OFFERS BADGE STYLING (WORKING VERSION)
   ========================================================================== */

.quantity-offers__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  color: #ffffff;
  font-size: 0.57rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  /* Default: Red */
  background-color: #DA3F3F;
}

/* 🔥 WORKING: Use correct data attribute */
.quantity-offers__badge[data-badge-text="best-deal"] {
  background-color: #DA3F3F !important; /* Red */
  color: #ffffff !important;
}

.quantity-offers__badge[data-badge-text="most-picked"] {
  background-color: #facc15 !important; /* Yellow */
  color: #422006 !important;
}

.quantity-offers__badge[data-badge-text="free-shipping"] {
  background-color: #16a34a !important; /* Green */
  color: #ffffff !important;
}
/* ==========================================================================
   UNLOCK GIFTS - NO SCROLLBAR + FIXED BADGE POSITION
   ========================================================================== */

.unlock-gifts {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
}

/* 🔥 FIX: Reduced Header Spacing */
.unlock-gifts__header {
  text-align: center;
  margin-bottom: 0.5rem; /* Reduced from 1.5rem */
}

.unlock-gifts__headline {
  font-size: 1rem;
  font-weight: 500;
  color: #1f2937;
  margin: 0;
}

/* 🔥 FIX: No Scrollbar - Flex Grid for 2-4 Items */
.unlock-gifts__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem; /* Smaller gap to fit more */
  padding: 0.5rem 0; /* Reduced padding */
}

/* 🔥 FIX: Responsive Item Sizing - No Fixed Width */
.unlock-gifts__item {
  flex: 1;
  max-width: 140px; /* Max width for desktop */
  min-width: 80px;  /* Min width for mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 🔥 FIX: Badge Outside Frame - No Clipping */
.unlock-gifts__badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #DA3F3F;
  color: white;
  font-size: 0.5rem;
  font-weight: 450;
  padding: 3px 6px;
  border-radius: 12px;
  white-space: nowrap;
  z-index: 10;
}

/* Gift Frame - Clean Container with Overflow Hidden */
.unlock-gifts__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 120px;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden; /* Keep for image, badge now outside */
  transition: all 0.3s ease;
}

/* Image in Frame */
.unlock-gifts__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.unlock-gifts__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  font-size: 1rem;
  color: #9ca3af;
}

/* Lock Overlay */
.unlock-gifts__lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.unlock-gifts__lock-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}

/* Title Below Frame */
.unlock-gifts__title-container {
  margin-top: 0.25rem; /* Reduced from 0.75rem */
  width: 100%;
}

.unlock-gifts__title {
  font-size: 0.6rem;
  color: #1f2937;
  text-align: center;
  line-height: 1.1;
  transition: all 0.3s ease;
}

/* Title Bold State When Unlocked */
.unlock-gifts__title--unlocked {
  font-weight: 500;
  color: #1f2937;
}

/* ==========================================================================
   STATES - Fixed Transform Issues
   ========================================================================== */

/* Unlocked State */
.unlock-gifts__item[data-gift-state="unlocked"] .unlock-gifts__frame {
  border-color: #d1d5db !important;
  border-style: solid !important;
  background: #f0fdf4 !important;
  transform: translateY(-2px);
}

.unlock-gifts__item[data-gift-state="unlocked"] .unlock-gifts__lock-overlay {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Locked State */
.unlock-gifts__item[data-gift-state="locked"] .unlock-gifts__lock-overlay {
  opacity: 1 !important;
}

/* ==========================================================================
   RESPONSIVE - 2 to 4 Items Perfect Fit
   ========================================================================== */

/* Mobile: 2-4 items fit perfectly */
@media (max-width: 480px) {
  .unlock-gifts__grid {
    gap: 0.25rem;
  }
  
  .unlock-gifts__item {
    min-width: 70px;
    max-width: 85px;
  }
  
  .unlock-gifts__frame {
    max-width: 80px;
  }
  
  .unlock-gifts__title {
    font-size: 0.7rem;
  }
  
  .unlock-gifts__badge {
    font-size: 0.55rem;
    padding: 2px 4px;
  }
}

/* Tablet: 2-4 items with more space */
@media (min-width: 481px) and (max-width: 768px) {
  .unlock-gifts__grid {
    gap: 0.75rem;
  }
  
  .unlock-gifts__item {
    max-width: 110px;
  }
  
  .unlock-gifts__frame {
    max-width: 100px;
  }
}

/* Desktop: 2-4 items with generous spacing */
@media (min-width: 769px) {
  .unlock-gifts__grid {
    gap: 1rem;
  }
  
  .unlock-gifts__item {
    max-width: 140px;
  }
  
  .unlock-gifts__frame {
    max-width: 120px;
  }
  
  .unlock-gifts__title {
    font-size: 0.8rem;
  }
  
  .unlock-gifts__badge {
    font-size: 0.7rem;
  }
}

