/** Shopify CDN: Minification failed

Line 42:2 Comments in CSS use "/* ... */" instead of "//"
Line 49:2 Comments in CSS use "/* ... */" instead of "//"
Line 50:2 Comments in CSS use "/* ... */" instead of "//"
Line 51:2 Comments in CSS use "/* ... */" instead of "//"
Line 53:2 Comments in CSS use "/* ... */" instead of "//"
Line 55:2 Comments in CSS use "/* ... */" instead of "//"
Line 133:2 Comments in CSS use "/* ... */" instead of "//"
Line 182:0 Unexpected "{"
Line 597:0 Unexpected "@"

**/
/*--------------custom payment-------------*/
/* Custom CSS for create order on cart drawer page */
/*---------------------------*/

@media only screen and (max-width: 768px){
  .mainrow{
  margin: auto;
  width: 90%;
}
}


@media only screen and (min-width: 768px){
  .mainrow{
  margin: auto;
  width: 60%;
}
}


/* Clear the float to prevent layout issues */
.cart__contents::after {
  content: "";
  display: table;
  clear: both;
}

#email-input-section {
  //margin-top: 20px;
}

/* Advanced CSS for Email Input */
#customer-email {
  width: 400px;
  padding: 12px; 
  //border: none; 
  //border-bottom: 2px solid #ccc; 
  //border-radius: 8px;
  font-size: 14px; 
  //color: #f5ecec;
  color:rgb(var(--color-foreground));;
  //background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}

#customer-email:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  outline: none; 
}

#customer-email::placeholder {
  color: #999; /* Placeholder text color */
}

/* Advanced CSS for Create Order Button */
#create-order {
  border: 2px solid #007bff;
  border-radius: 8px;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer; 
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease; 
}

#create-order:hover {
  background-color: #0056b3; 
  border-color: #0056b3;
  transform: translateY(-2px); 
}

#create-order:active {
  transform: translateY(0); /* Reset lift effect on click */
}

#create-order:disabled {
  background-color: #ccc; 
  border-color: #ccc; 
  cursor: not-allowed; 
  transform: none; 
}

/* Error Message Styling */
.error-message {
  display: none; 
  font-size: 12px; 
  color: #ff0000; 
  margin-top: 5px; 
}

/* Loader (Spinner) Styles */
#loader {
  border: 3px solid #f3f3f3; /* Light grey */
  border-top: 3px solid #007bff; /* Blue */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: none; /* Hidden by default */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the loader */
  z-index: 10; /* Ensure it appears above the button */
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* General Form Styling */
#customer-form {
  //margin: 0 auto;
}

#customer-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

/* Input Field Styling (Matches Email Input) */
@media only screen and (max-width: 768px){
  #customer-form input,select {
    width: 100%;
    padding: 7px;
    font-size: 14px;
    color: rgb(var(--color-foreground));
    transition: border-color 0.3s ease;
}
}


@media only screen and (min-width: 768px){
  #customer-form input,select {
  width: 100%;
  padding: 9px;
  font-size: 13px;
  color:rgb(var(--color-foreground));;
  transition: border-color 0.3s ease;
}
}


#customer-form input:focus , select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  outline: none;
}

#customer-form input::placeholder {
  color: #999;
}

/* Override autofill background color for all input fields */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-webkit-autofill:valid,
{
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important; /* Transparent background */
  -webkit-text-fill-color: #333 !important; /* Text color */
}


/* Submit Button Styling (Matches Create Order Button) */
#customer-form button[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  border-radius: 0px;
  background-color: #0e0a01;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

#customer-form button[type="submit"]:hover {
  background-color: #0e0a01;
  border-color: #0e0a01;
  transform: translateY(-2px);
}

#customer-form button[type="submit"]:active {
  transform: translateY(0);
}

#customer-form button[type="submit"]:disabled {
  background-color: #0e0a01;
  border-color: #0e0a01;
  cursor: not-allowed;
  transform: none;
}

/* Popup container */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    background-color: #ff4d4d;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Popup content */
.popup-content {
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: -6px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Show popup */
.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


/* Popup styling */
.custom-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
}

.popup-content {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  overflow-y: auto;
  max-height: 90vh;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.close-popup {
  position: absolute;
  top: -11px;
  right: 5px;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 20px;
  }
}

/* Checkbox styling */
.custom-payment-option {
  margin: 15px 0;
  padding: 10px;
  background: #f8f8f8;
  border-radius: 4px;
}

/* Order creation Progress Modal  */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.progress-container {
  width: auto;
  height: 16px;
  background-color: #eee;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-left: -20px;
  margin-top: -20px;
  margin-right: -20px;
}

.progress-bar-indeterminate {
  position: absolute;
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, #4f46e5, #6366f1);
  animation: indeterminateMove 1.2s infinite ease-in-out;
  border-radius: 8px;
}

@keyframes indeterminateMove {
  0% {
    left: -30%;
  }
  100% {
    left: 100%;
  }
}

.display-font {
  font-family: Times New Roman;
  font-weight: 500;
  line-height: 1.6;
}


@media only screen and (max-width: 768px){
  .modal-content{
    width: 90%;
  }

  .display-font{
    font-size: 1rem;
  }
}


@media only screen and (min-width: 768px){
  .modal-content{
    width: 35%;
  }

  .display-font{
    font-size: 1.5rem;
  }
}

/* Order creation Progress Modal  */
.progress-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-modal-overlay.show {
  visibility: visible;
  opacity: 1;
}

.progress-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.progress-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.progress-container-drawer {
  width: auto;
  height: 16px;
  background-color: #eee;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-left: -20px;
  margin-top: -20px;
  margin-right: -20px;
}

.progress-bar-indeterminate-drawer {
  position: absolute;
  height: 100%;
  width: 30%;
  background: linear-gradient(to right, #4f46e5, #6366f1);
  animation: indeterminateMove 1.2s infinite ease-in-out;
  border-radius: 8px;
}

@keyframes indeterminateMove {
  0% {
    left: -30%;
  }
  100% {
    left: 100%;
  }
}

.display-font-drawer {
  font-family: Times New Roman;
  font-weight: 500;
  line-height: 1.6;
}


@media only screen and (max-width: 768px){
  .modal-content-drawer{
    width: 90%;
  }

  .display-font-drawer{
    font-size: 1.5rem;
  }
}


@media only screen and (min-width: 768px){
  .modal-content-drawer{
    width: 35%;
  }

  .display-font-drawer{
    font-size: 1.5rem;
  }
}

/*error popup*/
.error-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 66%;
  transform: translate(-50%, -50%); /* Center horizontally & vertically */
  z-index: 1000;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 1.25rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  animation: slideInCenter 0.3s ease-in-out;
}

.error-popup-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.error-close-btn {
 position: absolute;
  top: -25px;
  right: -6px;
  font-size: 3.2rem;
  color: #991b1b;
  background: none;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none;
}

.viewcart-error-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 66%;
  transform: translate(-50%, -50%); /* Center horizontally & vertically */
  z-index: 1000;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 1.25rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  animation: slideInCenter 0.3s ease-in-out;
}

.viewcart-error-popup-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.viewcart-error-close-btn {
 position: absolute;
  top: -25px;
  right: -6px;
  font-size: 3.2rem;
  color: #991b1b;
  background: none;
  border: none;
  cursor: pointer;
}

@media only screen and (max-width: 768px){
  .viewcart-error-popup{
    width: 100%;
  }
}


@media only screen and (min-width: 768px){
  .viewcart-error-popup{
    width: 15%;
  }
}

@@keyframes slideInCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/*iframe */

/* Iframe styling */
 #iframeModal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
    }

    #iframeModal .modal-content {
      background-color: #fff;
      margin: 5% auto;
      width: 70%;
      padding: 0;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      position: relative;
    }

    #iframeModal .close-btn {
      position: absolute;
      top: 8px;
      right: 16px;
      font-size: 28px;
      color: #aaa;
      cursor: pointer;
    }

    #iframeModal .close-btn:hover {
      color: #000;
    }

  @media screen and (max-width: 767px) {
    #iframeModal .modal-content {
      width: 100%;
      margin: 0;
      height: 100%;
      border-radius: 0;
    }

    #iframeModal iframe {
      height: 100vh; /* Optional: full height on mobile */
      width: 100%;
    }
  }

  @media screen and (min-width: 768px) {
    #iframeModal iframe {
      height: 80vh; /* Optional: full height on mobile */
      width: 100%;
    }
  }

.iframbuttonclose{
  background: transparent;
  border: none;
  padding: 7px;
  cursor: pointer;
}


 /* Panel styles */
.terrace-checkout-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  max-width: 800px;
  margin: 0 auto;
  background: #007bff;
  padding-top: 10px;
  padding-bottom: 0px;
  border-radius: 9px;
}

.checkout-panel {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.panel-header {
  background-color: #f8f9fa;
  padding: 2px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.panel-body {
  padding: 0px 15px;
}

/* Shipping styles */
.shipping-rates-panel {
  padding: 4px 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

#shipping-rates h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 15px;
  color: #333;
  text-decoration: underline;
}

#shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #e9ecef;
}

#shipping-methods label {
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#shipping-methods label:hover {
  background-color: #f1f3f5;
}

#shipping-methods label:last-child {
  border-bottom: none;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-row.total {
  border-top: 1px solid #e9ecef;
  margin-top: 5px;
  font-size: 1.1em;
}

.tax-note {
  font-size: 0.85em;
  color: #6c757d;
  margin: 0px !important;
  margin-bottom: 0px !important;
  text-align: right;
}

/* Cart Summary Mobile Styles */
@media screen and (max-width: 768px) {
  .cart-summary {
    width: 100%;
    font-size: small;
  }

  .summary-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
  }

  .summary-row:last-child {
    border-bottom: none;
  }

  .summary-row.total {
    border-top: 2px solid #e9ecef;
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
  }

  .tax-note {
    font-size: small;
    color: #6c757d;
    text-align: left !important;
  }

  /* Make shipping section more compact on mobile */
  .shipping-rates-panel {
    padding: 15px;
    margin: 15px 0;
  }

  .shipping-rates-panel h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  /* Improve tap targets for mobile */
  #shipping-methods label {
    font-size: small;
  }

  #shipping-methods label input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    /* Make radio buttons slightly larger for better tapping */
  }
}

/* For very small screens (e.g., narrow phones) */
@media screen and (max-width: 375px) {
  .cart-summary {
    font-size: 13px;
  }

  .summary-row.total {
    font-size: 15px;
  }

  .tax-note {
    font-size: 11px;
  }
}


/* Horizontal form fields layout */
.form-row {
  display: flex;
  gap: 15px;
  /* Space between the fields */
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
  /* Each field takes equal width */
  margin-bottom: 0;
  /* Remove bottom margin as the row already has margin-bottom */
}

/* For mobile devices */
@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
    /* Stack vertically on mobile */
    gap: 15px;
  }

  .form-row .form-group {
    width: 100%;
    margin-bottom: 0;
  }
}

img{
    width: 210px;
    background-size: cover;
    mix-blend-mode: multiply;
}

/* Form styling */
.cart-modal-form {
  margin-top: 20px;
}

@media only screen and (max-width: 768px) {
  .popup-content {
    width: 100% !important;
  }

  #create-order{
    width: 100% !important;
  }
  
}


@media only screen and (min-width: 768px) {
.popup-content {
    width: 630px !important;
  }
  
  #create-order{
    width: 171% !important;
  }
}

.form-group input,
select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-group #customer-address{
   margin-bottom: 15px;
}