/** Shopify CDN: Minification failed

Line 14:0 Unexpected "{"
Line 14:1 Expected identifier but found "%"
Line 46:2 Unexpected "{"
Line 46:3 Expected identifier but found "%"
Line 89:24 Expected identifier but found "/"
Line 379:5 Expected identifier but found "."

**/


/* CSS from snippet stylesheet tags */
{% if localization.language.iso_code == "ar" %}
    @media (min-width: 769px) {
      .popup-address-default-badge{
        top: -10px !important;
      }
  }

    @media (max-width: 768px) {
      .popup-address-default-badge {
        flex-direction: row !important;
        top: -8px !important;
        font-size:11px !important;
      }
    }

    @media (max-width: 480px) {
      .popup-address-default-badge {
        top: -6px !important;
        font-size: 9px !important;
      }
      .popup-address-content-wrapper{
        flex-direction: row !important;
      }
    }


    /* @media (max-width: 768px) {
      .popup-address-content-wrapper {
        flex-direction: column;
      }
    } */

  {% endif %}


body:has(.address-changing-popup-modal.active) .mobile-bottom-nav {
    display: none;
}
  
  .main-popup-wrapper{
    position: relative;
    width: 100%;
    max-width: 469px;
    margin: 0 1.5rem;
    display: flex;
    justify-content: center;
  }
  /* Ensure inner card respects wrapper width */
  .main-popup-wrapper .address-changing-popup-content{
    max-width: 469px !important;
    
    margin: 0;
  }

  /* Floating cross button positioned over the card corner */
  .cross-icon{
    position: absolute;
    top: -45px;
    right: 1px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
  }
  .cross-icon .inner-cross-icon{
    width: 29.6px;
    height: 29.6px;
    border-radius: 50%;
    background: #DB325E;
    color: transparent; /
    position: relative; 
  }
  
  .cross-icon .inner-cross-icon::before,
  .cross-icon .inner-cross-icon::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;            
    height: 2px;           /* bar thickness */
    background: #FFFFFF;   /* vector color */
    transform-origin: center;
  }
  .cross-icon .inner-cross-icon::before{
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .cross-icon .inner-cross-icon::after{
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .address-changing-popup-overlay {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
  }

  .address-changing-popup-overlay.active {
    display: block;
  }

  /* Popup Modal */
  .address-changing-popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }

  .address-changing-popup-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .address-changing-popup-content {
    background-color: #fefefe;
    padding: 30px;
    border: none;
    border-radius: 8px;
    width: 469px;
    height: 582px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    margin: auto;
  }

  .address-changing-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }

  .address-changing-popup-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
  }



  .address-changing-popup-body {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .address-changing-popup-body p {
    margin: 0;
    padding: 0;
    font-size: 14px !important;
  }

  /* Address List Styles */
  .address-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
  }

  .address-option {
    display: flex;
    align-items: flex-start;
    background: #fdfdfd;
    border-radius: 8px;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .address-option input[type="radio"] {
    margin-top: 15px;
    margin-left: 12px;
    cursor: pointer;
  }

  .address-option,
  .address-option:has(input[type="radio"]:checked) {
    border: 2px solid #fcebef;
    background: #fcebef;
  }

  .address-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 15px;
    gap: 20px;
    width: 100%;
  }

  .address-left,
  .address-right {
    flex: 1;
  }

  .address-left p,
  .address-right p {
    margin: 4px 0;
    font-size: 14px;
  }

  .address-left strong {
    font-weight: 600;
    color: #333;
  }

  .address-right {
    text-align: right;
  }

  .info-block {
    margin-bottom: 8px;
  }

  .label {
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
    color: #000;
    font-size: 13px;
  }

  .default-badge {
    background: #db325e;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: 600;
  }

  /* Deliver Here Button */
  .btn-deliver-here {
    width: 100%;
    padding: 12px 20px;
    margin-top: 20px;
    background-color: #db325e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-deliver-here:hover {
    background-color: #c42a51;
  }

  .btn-deliver-here:active {
    background-color: #a82244;
  }

  /* Responsive modal - Tablet */
  @media(max-width: 1024px) {
    .address-changing-popup-content {
      padding: 25px;
    }

    .address-changing-popup-header h3 {
      font-size: 22px;
    }

    .address-box {
      gap: 15px;
      padding: 12px;
    }

    .address-left p,
    .address-right p {
      font-size: 13px;
    }
  }

  /* Responsive modal - Mobile Landscape */
  @media(max-width: 768px) {
    .address-changing-popup-content {
      padding: 20px;
    }

    .address-changing-popup-header {
      margin-bottom: 20px;
      padding-bottom: 12px;
    }

    .address-changing-popup-header h3 {
      font-size: 12px;
    }

   

    .address-list {
      gap: 15px;
      margin-bottom: 12px;
    }

    .address-option {
      padding: 0;
      flex-direction: column;
    }

    .address-option input[type="radio"] {
      margin-top: 8px;
      margin-left: 8px;
    }

    .address-box {
      gap: 0;
      padding: 10px 8px;
      flex-direction: column;
    }

    .address-left,
    .address-right {
      width: 100%;
    }

    .address-right {
      text-align: left;
    }

    .address-left p,
    .address-right p {
      font-size: 12px;
    }

    .label {
      font-size: 11px;
      margin-bottom: 2px;
    }

    .info-block {
      margin-bottom: 6px;
    }

    .btn-deliver-here {
      padding: 10px 16px;
      font-size: 15px;
      margin-top: 15px;
    }
    ..address-changing-popup-body p{
      font-size:12px !important;
    }
    
  }

 
  @media(max-width: 480px) {
    .address-changing-popup-overlay {
      z-index: 999;
    }

    .address-changing-popup-modal {
      z-index: 9999;
    }

    .address-changing-popup-content {
      width: 85%;
      max-width: 100%;
      padding: 16px;
      max-height: 55vh;
      border-radius: 6px;
      margin: 10px auto;
    }

    .address-changing-popup-header {
      margin-bottom: 16px;
      padding-bottom: 10px;
    }

    .address-changing-popup-header h3 {
      font-size: 16px;
      font-weight: 600;
    }

  

    .address-list {
      gap: 12px;
      margin-bottom: 10px;
    }

    .address-option {
      border-radius: 6px;
    }

    .address-option input[type="radio"] {
      margin-top: 6px;
      margin-left: 6px;
    }

    .address-box {
      gap: 0;
      padding: 8px;
      flex-direction: column;
    }

    .address-left,
    .address-right {
      width: 100%;
    }

    .address-left p,
    .address-right p {
      font-size: 11px;
      margin: 2px 0;
      line-height: 1.4;
    }

    .address-left strong {
      font-size: 12px;
    }

    .label {
      font-size: 10px;
      margin-bottom: 1px;
    }

    .info-block {
      margin-bottom: 4px;
    }

    .default-badge {
      padding: 2px 6px;
      font-size: 9px;
    }

    .btn-deliver-here {
      padding: 10px 12px;
      font-size: 14px;
      margin-top: 12px;
      font-weight: 500;
    }
  }

  /* Extra small devices */
  @media(max-width: 360px) {
    .address-changing-popup-content {
      padding: 12px;
      border-radius: 4px;
    }

    .address-changing-popup-header h3 {
      font-size: 14px;
    }

  
    .address-left p,
    .address-right p {
      font-size: 10px;
    }

    .label {
      font-size: 9px;
    }

    .btn-deliver-here {
      padding: 8px 10px;
      font-size: 13px;
      margin-top: 10px;
    }
  }






  /* Popup Address List Wrapper */
.popup-address-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 15px;
}

/* Popup Address Card Label */
.popup-address-card-label {
  display: flex;
  align-items: flex-start;
  background: #FFF2F2;
  border-radius: 8px;
  border: 1px solid #666666;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.popup-address-card-label input[type="radio"] {
  margin-top: 15px;
  margin-left: 12px;
  cursor: pointer;
}


/* Fallback selected state when :has() is unavailable */
.popup-address-card-label.is-selected {
  background: #DB325E33;
  border-color: transparent;
}

/* Popup Address Content Wrapper */
.popup-address-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 15px;
  gap: 20px;
  width: 100%;
}

/* Popup Address Details Left */
.popup-address-details-left {
  flex: 1;
}

.popup-address-details-left p {
  margin: 4px 0;
  font-size: 10px;
}

.popup-address-details-left strong {
  font-weight: 600;           /* Figma heading weight */
  font-size: 14px;            
  line-height: 21px;
  color: #000000;
}

/* Popup Address Details Right */
.popup-address-details-right {
  flex: 1;
}

.popup-address-details-right p {
  margin: 4px 0;
  font-size: 14px;
}

/* Popup Address Contact Block */
.popup-address-contact-block {
  margin-bottom: 8px;
}

/* Popup Address Contact Label */
.popup-address-contact-label {
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
  color: #000;
  font-size: 13px;
}

/* Popup Address Default Badge */
.popup-address-default-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 2px 8px;
  background: #DB325E;
  border-radius: 8px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  z-index: 2;
}

/* Responsive - Tablet */
@media(max-width: 1024px) {
  .popup-address-content-wrapper {
    gap: 15px;
    padding: 12px;
  }

  .popup-address-details-left p,
  .popup-address-details-right p {
    font-size: 13px;
  }
}

/* Responsive - Mobile Landscape */
@media(max-width: 768px) {
  .popup-address-list-wrapper {
    gap: 15px;
    margin-bottom: 12px;
  }

  .popup-address-card-label {
    padding: 0;
    flex-direction: column;
  }

  .popup-address-card-label input[type="radio"] {
    margin-top: 8px;
    margin-left: 8px;
  }

  .popup-address-content-wrapper {
    gap: 16px;                /* slightly reduced but keeps separation */
    padding: 12px;
  }

  .popup-address-details-left,
  .popup-address-details-right {
    width: 100%;
  }

  .popup-address-details-right {
    text-align: left;
  }

  .popup-address-details-left p,
  .popup-address-details-right p {
    font-size: 12px;
    margin: 2px 0;
    line-height: 18px;
  }

  .popup-address-details-left strong {
    font-size: 12px;
    line-height: 18px;
  }

  .popup-address-contact-label {
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 1px;
  }

  .popup-address-contact-block {
    margin-bottom: 4px;
  }
}

/* Responsive - Mobile Portrait */
@media(max-width: 480px) {
  .popup-address-list-wrapper {
    gap: 12px;
    margin-bottom: 10px;
  }

  .popup-address-card-label {
    border-radius: 6px;
  }

  .popup-address-card-label input[type="radio"] {
    margin-top: 6px;
    margin-left: 6px;
  }

  .popup-address-content-wrapper {
    gap: 12px;
    padding: 10px;
    /* flex-direction: column; */
  }

  .popup-address-details-left p,
  .popup-address-details-right p {
    font-size: 11px;
    margin: 2px 0;
    line-height: 16px;
  }

  .popup-address-details-left strong {
    font-size: 11px;
    line-height: 16px;
  }

  .popup-address-contact-label {
    font-size: 11px;
    line-height: 16px;
    margin-bottom: 1px;
  }

  .popup-address-contact-block {
    margin-bottom: 4px;
  }

  .popup-address-default-badge {
    padding: 2px 6px;
    font-size: 9px;
  }
}

/* Extra small devices */
@media(max-width: 360px) {
  .popup-address-details-left p,
  .popup-address-details-right p {
    font-size: 10px;
  }

  .popup-address-contact-label {
    font-size: 9px;
  }
}




/* Modal shell to match rounded white card look, centered */
.address-changing-popup-content {
  background: #fff;
  border-radius: 16px; /* outer rounded corners per Figma */
  padding: 16px 16px 12px;
  width: 469px;
  height: 582px;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.18),
    0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Header: compact, stronger title */
.address-changing-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  border-bottom: 0;
  margin: 0;
}
.address-changing-popup-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #171717;
}


/* Body: make it a flex column so list can scroll and button stays fixed */
.address-changing-popup-body {
  display: flex;
  flex-direction: column;
  /* gap: 12px; */
  min-height: 300px;       /* feel solid; adjust if needed */
  max-height: 70vh;        /* prevent full-screen overflow */
}

/* Scrollable list area with inner radius and subtle border */
.popup-address-list-wrapper {
  flex: 1 1 auto;
  overflow: auto;
  padding: 12px;
  border-radius: 12px;          
  background: #FFF2F2;
  border: 1px solid #eee9ee;    
  display: flex;
  /* flex-direction: column; */
  gap: 12px;
}

/* Custom scrollbar to match accent */
.popup-address-list-wrapper::-webkit-scrollbar { width: 4px; }
.popup-address-list-wrapper::-webkit-scrollbar-track {
  background: #FFF2F2;
  border-radius: 9999px;
}
.popup-address-list-wrapper::-webkit-scrollbar-thumb {
  background: #FDDCE2;
  border-radius: 9999px;
  border: 1px solid #FDDCE2; 
  background-clip: padding-box;
}
.popup-address-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: #FDDCE2; /* no hover color change */
  border-color: #FDDCE2;
}

/* Keep same color while dragging the thumb */
.popup-address-list-wrapper::-webkit-scrollbar-thumb:active {
  background: #FDDCE2;
  border-color: #FDDCE2;
}

/* Create top/bottom spacing so the thumb doesn't touch rounded corners */
.popup-address-list-wrapper::-webkit-scrollbar-button:vertical:start:decrement,
.popup-address-list-wrapper::-webkit-scrollbar-button:vertical:end:increment {
  height: 12px;            
  display: block;
  background: transparent;  
}

/* Address card */
.popup-address-card-label {
  display: flex;
  padding: 16px;              
  border-radius: 16px;        
  border: 1px solid #666666;
  background: #FFF2F2;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  gap: 32px;                  
}

.popup-address-card-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.popup-address-content-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}


.popup-address-details-left { flex: 1; }
.popup-address-details-right { min-width: 180px; text-align: left; }

.popup-address-details-left p,
.popup-address-details-right p {
  margin: 4px 0;
  color: #000000;
  font-size: 14px;            
  line-height: 21px;          
  font-weight: 400;
}


.popup-address-contact-label {
  font-weight: 600;           
  font-size: 14px;            
  line-height: 21px;
  margin-bottom: 4px;
  color: #000000;
}

.popup-address-card-label:has(input[type="radio"]:checked) {
  background: #DB325E33;
  border-color: transparent !important;
  box-shadow: none !important;
}

.popup-address-card-label.is-selected,
.popup-address-card-label:focus-within {
  outline: none;
}

/* Fallback selected state when :has() is unavailable */
.popup-address-card-label.is-selected {
  background: #DB325E33;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Default badge (pill) inside card top-right */
.popup-address-default-badge {
  position: absolute;
  right: 8px;
  top: 2px;
  padding: 2px 8px;
  background: #DB325E;
  border-radius: 8px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  z-index: 2;
}

/* Fixed CTA inside the modal body: sticky at the bottom */
.btn-deliver-here {
  position: sticky;
  bottom: 0;
  margin-top: 4px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #db325e;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 300;
  width: 100%;
  box-shadow: 0 6px 18px rgba(219,50,94,0.35);
  z-index: 2;                    /* float above scrolling content */
}
.btn-deliver-here:hover { background: #c42a51; }

/* Give the scroll area bottom padding so last card doesn’t hide under sticky button */
.popup-address-list-wrapper { padding-bottom: 16px; }
.address-changing-popup-body { padding-bottom: 6px; }

/* RTL tweaks */
[dir="rtl"] .popup-address-details-right { text-align: left; }
[dir="rtl"] .popup-address-default-badge { left: 5px; right: auto; }

/* Mobile sizing tweaks */
@media (max-width: 768px) {
  .address-changing-popup-content {  padding: 14px; }
  .address-changing-popup-header h3 { font-size: 12px; }
  .popup-address-card-label { padding: 12px; }
  .popup-address-content-wrapper { gap: 8px; }
  .popup-address-details-left p, .popup-address-details-right p { font-size: 12px; line-height: 1.45; }
  .popup-address-contact-label { font-size: 12px; }
  .btn-deliver-here { padding: 10px 16px; font-size: 15px; }
  .popup-address-details-right p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .address-changing-popup-content { max-height: 55vh; padding: 12px; border-radius: 14px; }
  .popup-address-list-wrapper { padding: 8px; gap: 10px; }
  .popup-address-card-label { padding: 10px; border-radius: 10px; }
  .popup-address-content-wrapper { gap: 6px; }
  .popup-address-details-left p, .popup-address-details-right p { font-size: 11px; line-height: 1.4; }
  .popup-address-contact-label { font-size: 11px; }
  .popup-address-default-badge { top: 4px; right: 6px;font-size: 11px; }
  .btn-deliver-here { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 360px) {
  .address-changing-popup-content { max-height: 55vh; padding: 10px; }
  .popup-address-details-left p, .popup-address-details-right p { font-size: 10px; }
  .popup-address-contact-label { font-size: 10px; }
  .btn-deliver-here { padding: 9px 12px; font-size: 13px; }
}

/* Tablet/Mobile adjustments */
@media (max-width: 768px) {
  .address-changing-popup-content { padding: 12px 12px 10px !important; }
  .popup-address-content-wrapper { gap: 8px; }
  .popup-address-details-right { min-width: unset; text-align: left; font-size: 12px;}
  .btn-deliver-here { border-radius: 10px; }
}

@media (max-width: 480px) {
  .address-changing-popup-content { width: 85%; border-radius: 14px; }
  .popup-address-card-label { border-radius: 10px; }
  .popup-address-details-left p, .popup-address-details-right p { font-size: 10px; line-height: 1.45; }
}