/* =========================
   MODAL PERSONALIZATION CSS
   ========================= */

/* Inputs / textareas in modal (class covers both inputs & textareas) */
#info-modal .field__input {
  width: 100%;
  border: 1px solid var(--color-foreground-10, #cfcfcf);
  border-radius: var(--inputs-radius, 8px);
  padding: 10px 12px;
  line-height: 1.4;
  background: #fff;
  box-sizing: border-box;
}

/* Single-line input vertical centering */
#info-modal input.field__input {
  height: 44px;          /* adjust to match theme if needed */
  line-height: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Placeholder color */
#info-modal .field__input::placeholder {
  color: var(--color-foreground-50, #999);
}

/* -------------------------
   Font toggles (Standard/Italic)
   ------------------------- */

/* Default face for modal inputs (NO font-style here) */
#info-modal #nb_cover_name,
#info-modal #cover_name,
#info-modal #nb_inside_message,
#info-modal #inside_message {
  font-family: var(--font-body-family);
  font-weight: 400;
  /* don't set font-style here */
}

/* Generic toggle classes JS adds */
#info-modal .standard-font { font-style: normal !important; }
#info-modal .italic-font   { font-style: italic !important; }

/* ID-specific overrides to beat any other ID rules from the theme */
#info-modal #nb_cover_name.standard-font,
#info-modal #cover_name.standard-font,
#info-modal #nb_inside_message.standard-font,
#info-modal #inside_message.standard-font { font-style: normal !important; }

#info-modal #nb_cover_name.italic-font,
#info-modal #cover_name.italic-font,
#info-modal #nb_inside_message.italic-font,
#info-modal #inside_message.italic-font { font-style: italic !important; }

/* Product page personalization inputs (outside info modal) */
#nb_cover_name.standard-font,
#cover_name.standard-font,
#nb_inside_message.standard-font,
#inside_message.standard-font {
  font-style: normal !important;
}

#nb_cover_name.italic-font,
#cover_name.italic-font,
#nb_inside_message.italic-font,
#inside_message.italic-font {
  font-style: italic !important;
}


/* -------------------------
   Pill radios (Standard / Italic)
   ------------------------- */

#info-modal fieldset.js.product-form__input {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;    /* stay on one line if room, wrap if tight */
  margin: 10px 0 0 0;
}

/* Hide native radios */
#info-modal fieldset.js.product-form__input input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Pill labels */
#info-modal fieldset.js.product-form__input label {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--color-foreground-10, #cfcfcf);
  background: #fff;
  cursor: pointer;
  user-select: none;
  color: #000;
  font-family: var(--font-body-family) !important;
  font-weight: 400;
  font-style: normal;
}

/* Make the "Italic" labels actually italic */
#info-modal #nb_cn_style_italic + label,
#info-modal #Italic_name + label,
#info-modal #nb_im_style_italic + label,
#info-modal #Italic_message + label {
  font-style: italic;
}

/* Selected pill: solid black */
#info-modal fieldset.js.product-form__input input[type="radio"]:checked + label {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Legend normalize (size/align like other labels) */
#info-modal fieldset.js.product-form__input > legend.form__label {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font-size: 1.3rem;          /* or inherit if you prefer: inherit */
  line-height: 1.3;
  font-weight: inherit;
}


/* -------------------------
   Modal layout (selectors scroll only)
   ------------------------- */

#info-modal .modal-content {
  overflow: hidden; /* clip inner scrollers cleanly */
}

#info-modal .modal-body {
  display: flex;
  flex-direction: column;  /* stack: slider, arrows, text, selectors, footer */
  height: 100%;
  overflow: hidden;        /* prevent the body itself from scrolling */
}

/* Non-scrolling sections */
#info-modal .modal-slider-container,
#info-modal .modal-slider-buttons,
#info-modal #modal-text,
#info-modal .modal-footer {
  flex: 0 0 auto;
}

/* Only the selectors column scrolls, vertically */
#info-modal #modal-variant-selectors {
  flex: 1 1 auto;          /* take remaining space between text and footer */
  min-height: 0;           /* allow flex child to shrink and scroll */
  overflow-y: auto;        /* vertical scroll ONLY */
  overflow-x: hidden;      /* kill sideways scroll */
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  scrollbar-gutter: stable;           /* reserve space if supported */
}

/* Prevent children forcing horizontal overflow */
#info-modal #modal-variant-selectors > * {
  max-width: 100%;
  min-width: 0;
}

/* Footer sits below the scroller in normal flow (no overlap) */
#info-modal .modal-footer {
  position: static;
  z-index: 1;
  background: #fff;
  margin-top: 0.75rem;
}

/* -------------------------
   Fix theme spacing & focus clipping in selectors pane
   ------------------------- */

/* Kill theme margin on form controls in the scroll area */
#info-modal #modal-variant-selectors .select__select,
#info-modal #modal-variant-selectors input.field__input,
#info-modal #modal-variant-selectors textarea.field__input {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Keep focus ring inside so it never gets clipped by the scroller */
#info-modal #modal-variant-selectors .select__select:focus,
#info-modal #modal-variant-selectors .select__select:focus-visible,
#info-modal #modal-variant-selectors input.field__input:focus,
#info-modal #modal-variant-selectors input.field__input:focus-visible,
#info-modal #modal-variant-selectors textarea.field__input:focus,
#info-modal #modal-variant-selectors textarea.field__input:focus-visible {
  outline: none !important;                           /* kill outer ring */
  box-shadow: 0 0 0 2px rgb(0, 0, 0) inset !important; /* inner ring */
  border-color: var(--color-foreground-20, #aaa) !important;
}




/* Cap the VARIANTS area and make it scroll, independent of the rest of the modal */
#info-modal #modal-variant-selectors {
  /* grows naturally until this cap, then scrolls */
  max-height: 25vh;        /* tweak: e.g., 40–60vh */
  overflow-y: auto;        /* vertical scroll when needed */
  overflow-x: hidden;
  scrollbar-gutter: stable; /* keeps content clear of scrollbar when supported */
  padding: 0px 5px;
}

#info-modal .modal-footer {
padding: 0px 5px;
}

/* Important for scrolling in flex columns on some browsers */
#info-modal .modal-body {
  min-height: 0;           /* allows the inner scroller to work */
}





/* Anchor + optional right gutter so fields don’t sit under overlay scrollbars */
#info-modal #modal-variant-selectors {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Pill arrow (no animation) — only shown via .show-hints class from JS */
#info-modal #modal-variant-selectors .scroll-nudge {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: none;                 /* JS toggles this */
  z-index: 2;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  color:#ffffff;

  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(0,0,0,0.35);
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

#info-modal #modal-variant-selectors .scroll-nudge svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #fff;
}

/* Show the hint ONLY when: overflow exists, you’re at the top, and JS allows it */
#info-modal #modal-variant-selectors.show-hints .scroll-nudge {
  display: block;
}














/* === Inline price deltas on variant pills (CSS-only) ===
   Update names/values/amounts to match your store. */

/* Spiral Color → Gold costs +$14.95 */
fieldset.product-form__input
  input[type="radio"][name="Spiral Color"][value="Gold"] + label::after {
  content: " (+$10)";
  font-size: 0.85em;   /* smaller text */
  opacity: .75;
  display: inline;     /* same line as label text */
  margin-left: 0.35em; /* small gap */
}

/* Internals Style → Color costs +$7.95 */
fieldset.product-form__input
  input[type="radio"][name="Internals Style"][value="Color"] + label::after {
  content: " (+$8)";
  font-size: 0.85em;
  opacity: .75;
  display: inline;
  margin-left: 0.35em;
}

/* Optional: hide deltas on disabled/sold-out options */
fieldset.product-form__input
  input[type="radio"]:disabled + label::after {
  content: "";
  display: none;
}

















.product__media-item img {
  touch-action: manipulation;
}


.variant-dropdown-container {
  margin-bottom: 0 !important;
}

#variant-dropdown {
font-family: var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);

}



.variant-slider-wrapper {
  position: relative; /* Keeps space for the absolute child */
  padding-bottom: 100px; /* Adjust to ensure the next variant option is not overlapped */
}

/* Make the slider full width */
.variant-slider-container {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  padding: 5px 0;
}

/* Ensure next variant moves below */
.js.product-form__input {
  max-width: none !important;
}




/* Hide scrollbar */
.variant-slider::-webkit-scrollbar,
.internals-slider::-webkit-scrollbar {
  display: none;
}

.variant-label--image {
  display: inline-block !important;
  cursor: pointer !important;
  text-align: center !important;
  padding: 0 !important;
  flex: 0 0 auto;
  border: 2px solid transparent !important;
  margin: 0px !important;
  box-sizing: border-box !important; /* Ensures border does not affect size */
  line-height: 1 !important; /* Prevents spacing inconsistencies */
}

.variant-label--image img {
  width: 60px !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 5px !important;
  vertical-align: middle !important; /* Ensures no extra spacing */
}

.variant-slider,
.internals-slider {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding-bottom: 2px;
  max-width: 100%;
  align-items: center !important; /* Aligns images properly */
  gap: 5px !important; /* Removes potential spacing issue */
}

input[type="radio"]:checked + .variant-label--image {
  border: 2px solid rgb(var(--color-foreground)) !important;
}


/* Scroll buttons */
.variant-slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1;
  font-size: 16px; /* Increases arrow size */
  padding: 13px; /* Makes the button larger */
  touch-action: manipulation; /* Prevents zooming on double-tap */
  user-select: none; /* Prevents text selection */
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
  -ms-user-select: none; /* For IE/Edge */
}

.variant-slider-button.prev {
  left: 0;
}

.variant-slider-button.next {
  right: 0;
}










/* ✅ Modal Overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* ✅ Modal Content Box */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* ✅ Modal Body Layout */
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

/* ✅ Slider Wrapper */
.modal-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* ✅ Scrollable Slider Area */
#modal-slider-container.slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: 0.5rem;
  scroll-padding-right: 0.5rem;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  gap: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0;
}

/* ✅ Hide Scrollbars */
#modal-slider-container.slider::-webkit-scrollbar {
  display: none;
}

/* ✅ Individual Slide */
#modal-slider-container .slider__slide {
  flex: 0 0 90%; /* ✅ Enables peeking */
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
  text-align: center;
  margin-bottom: 0;
  padding-top: max(0.5rem, var(--shadow-padding-top, 0));
  padding-bottom: max(0.5rem, var(--shadow-padding-bottom, 0));
}

/* ✅ Image Styling */
.modal-slider-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  touch-action: manipulation;
  border-radius: 8px;
}

.modal-slider-image.no-transition {
  transition: none !important;
}

/* ✅ Dropdowns in Variant Selectors */
#modal-variant-selectors label {
  display: block;
  font-weight: 500;
  text-align: start;
  font-size: 1.3rem;
  margin-top: 0.7rem;
}

#modal-variant-selectors .select__select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* ✅ Modal Add to Cart Button */
#modal-add-to-cart-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ✅ Modal Header & Text */
#modal-header,
#modal-text {
  line-height: 1.5;
  color: #333;
  flex: 1;
  margin: 0;
}

/* ✅ Optional Image Outside Slider */
.modal-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* ✅ Close Button */
.close-button {
  color: #bbaace;
  padding: 10px 20px;
  margin-top: 20px;
  border: 2px solid #bbaace;
  cursor: pointer;
  width: 75%;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  border-radius: 5px;
}

.close-button:hover {
  background-color: #bbaace;
  color: #fff;
}

.modal-slider-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}

.slider-button-modal {
  font-size: 1.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(18, 18, 18, 0.75);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: transform 0.2s ease;
  touch-action: manipulation;
}

.slider-button-modal:hover {
  color: rgb(18, 18, 18);
}

.slider-counter {
  font-size: 1.2rem;
  padding: 0 0.5rem;
  min-width: 40px;
  text-align: center;
}


@media screen and (max-width: 749px) {
  .modal-slider-container .slider--mobile::after {
    display: none !important;
    padding-left: 0 !important;
    content: none !important;
  }
}












.custom-accordion summary {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  position: relative;
  line-height: 1;
  padding: 1.5rem 0;
  cursor: pointer;         /* Pointer cursor for better UX */
}

.custom-summary__title {
  display: inline-flex;
  align-items: center;     /* Center elements vertically within the title */
  justify-content: center; /* Center elements horizontally within the title */
  font-size: calc(var(--font-heading-scale) * 2rem); /* Scale font size */
}

.custom-icon-accordion {
  margin-left: 1.5rem;     /* Space between text and icon */
  height: calc(var(--font-heading-scale) * 1.3rem); /* Scale based on font size */
  width: calc(var(--font-heading-scale) * 1.3rem);  /* Scale based on font size */
  transition: transform 0.3s ease, translateY 0.3s ease; /* Smooth transition for rotation and vertical adjustment */
  transform: translateY(30%); /* Adjust position when closed */
}

.custom-accordion details[open] > summary .custom-icon-caret {
  transform: rotate(180deg) translateY(10%); /* Rotate and adjust position when open */
}

.custom-accordion__content {
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-x: auto;
  padding: 0 0.6rem;
}




.button.product-form__submit {
  background-color: #87C6BD;
}

button.product-form__submit.loading > .loading-overlay__spinner .path,
.button.product-form__submit.loading > .loading-overlay__spinner .path,
#sticky-atc-button.loading > .loading-overlay__spinner .path {
  stroke: #fff !important;
}











/* ✅ Hide default checkboxes */
input[type="checkbox"] {
  display: none;
}

/* ✅ Button Styling */
.button-like {
  border: 1px solid #bbaace;
  color: #bbaace;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
  text-align: center;
  text-transform: capitalize;
  border-radius: var(--buttons-radius);
  font-size: 1.4rem;
  width:70%;
}

/* ✅ Button changes when checked */
input[type="checkbox"]:checked + .button-like {
  background-color: #bbaace; 
  color: #fff;
}

input[type="checkbox"]:checked + .button-like::before {
  content: 'Remove'; /* Change label to "Remove" when checked */
}

.button-like::before {
  content: 'Add'; /* Default label is "Add" */
}

.button-like:focus {
  outline: none;
}

/* ✅ Add-on Item Layout */
.addon-item {
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(0, 30%);
  align-items: center;
  justify-content: space-between;
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
  padding: 10px 0;
}

/* ✅ Image Container */
.addon-image-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.addon-image-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 0;
}

.addon-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ✅ Info Section (Price, Description, Button) */
.addon-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: center;
}

/* ✅ Add-on Price */
.addon-price {
  color: #bbaace;
  font-style: italic;
  font-size: 1.8rem;
}

/* ✅ Add-on Description */
.addon-description {
  font-size: 1.5rem;
  flex: 1;
  line-height: 1.3;
  margin-bottom: 10px;
}

.addon-info-link {
    color: #383636;
    text-decoration: none;
    cursor: pointer;
}

.addon-info-link:hover {
    color: #BBAACE;
    text-decoration: none;
}


/* Price container to align them side by side */
.addon-prices {
  display: flex;
  align-items: center;
  gap: 4px; /* Space between prices */
}


/* Original price (crossed out) */
.original-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 5px;
}

/* Discounted price (highlighted) */
.discounted-price {
  color: #bbaace;
  font-weight: bold;
}


.addon-bundle-message {
  font-size: 1.3rem;
  font-weight: bold;
  color: #BBAACE;
  text-align: center;
  margin-bottom: 5px;
}
.addon-separator {
  width: 100%;
  height: 1px;
  background-color: rgba(var(--color-foreground), 0.08);
  margin-bottom: 5px;
  display: block !important;
}


/* ✅ Info Icon */
.info-icon {
  cursor: pointer;
  width: 15px;
  vertical-align: middle;
  margin-bottom:3px;
}



/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .addon-item {
    flex-direction: row;
    align-items: center;
  }

  .addon-image-container {
    width: 100%;
  }

  .addon-info {
    width: 100%;
    padding-left: 8px;
  }

  .button-like {
    font-size: 1.4rem;
    width: 90px; /* Ensure "Remove" fits on one line */
  }
}



@media (max-width: 330px) { 
  .button-like {
   padding: 0.25rem 0.5rem;
  }
  .addon-description {
    font-size: 1.25rem;
  }
  .info-icon {
  }
  .addon-price {
    font-size: 1.6rem;
  }
  .addon-bundle-message {
    font-size: 1.1rem;
  }
  .rich-text__heading {
    font-size: calc(var(--font-heading-scale)* 3rem);
  }

  .rich-text__caption {
        font-size: calc(var(--font-heading-scale)* 1rem);
  }
  .multicolumn-list h3 {
    font-size: calc(var(--font-heading-scale)* 1.5rem);
  }
  .multicolumn-list p {
      font-size: calc(var(--font-heading-scale)* 1.1rem);
  }
    .readytoship {
      font-size: calc(var(--font-heading-scale)* 1.25rem);
  }
    .bogop {
      font-size: calc(var(--font-heading-scale)* 1.25rem);
  }
  #modal-text {
    font-size: calc(var(--font-heading-scale)* 1.1rem);
  }
  #modal-header {
    font-size: calc(var(--font-heading-scale)* 1.6rem);
  }
  .list-menu__item--link {
   font-size: calc(var(--font-heading-scale)* 1.3rem);
  }

}

@media (max-width: 768px) { 
}

@media (max-width: 1024px) { 

}

@media (max-width: 1280px) { 
}

@media (max-width: 1440px) { 
  /* Styles for standard desktops and larger laptop screens */
}

@media (min-width: 1441px) { 
  /* Styles for very large monitors (4K, ultra-wide screens) */
}








  .variant-dropdown-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.variant-dropdown-wrapper select.select__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding-right: 2rem; /* leave room for caret */
  cursor: pointer;
}

.variant-dropdown-wrapper .custom-icon-caret {
  position: absolute;
  pointer-events: none;
  top: 55%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.variant-dropdown-container.open .custom-icon-caret {
  transform: translateY(-50%) rotate(180deg);
}

/* Keep planner personalization fields visibly outlined across theme versions */
.Personalization_field input.field__input,
.Personalization_field textarea.field__input,
.Personalization_field .variant-dropdown-wrapper select.select__select {
  border: 1px solid rgba(var(--color-foreground), var(--variant-pills-border-opacity));
  border-radius: var(--inputs-radius);
  background: rgb(var(--color-background));
}

.Personalization_field input.field__input:focus,
.Personalization_field input.field__input:focus-visible,
.Personalization_field textarea.field__input:focus,
.Personalization_field textarea.field__input:focus-visible,
.Personalization_field .variant-dropdown-wrapper select.select__select:focus,
.Personalization_field .variant-dropdown-wrapper select.select__select:focus-visible {
  border-color: rgb(var(--color-foreground));
  box-shadow: 0 0 0 1px rgba(var(--color-foreground), var(--variant-pills-border-opacity));
  outline: 0;
}

/* Text stickers: keep "Custom Word" input text vertically centered */
#custom-text-wrapper #custom-text-input.field__input {
  width: 100%;
  height: calc(4.5rem + (var(--inputs-border-width) * 2));
  min-height: calc(4.5rem + (var(--inputs-border-width) * 2));
  line-height: calc(4.5rem + (var(--inputs-border-width) * 2));
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}

.colibri-text-sticker-word-select-wrapper {
  height: calc(4.5rem + (var(--inputs-border-width) * 2));
}

.colibri-text-sticker-word-select-wrapper::before,
.colibri-text-sticker-word-select-wrapper::after {
  display: none;
}

.colibri-text-sticker-word-field .colibri-text-sticker-word-select {
  width: 100%;
  height: calc(4.5rem + (var(--inputs-border-width) * 2));
  min-height: calc(4.5rem + (var(--inputs-border-width) * 2));
  line-height: calc(4.5rem + (var(--inputs-border-width) * 2));
  margin: 0;
  padding: 0 5.2rem 0 2rem;
  box-sizing: border-box;
  border: 1px solid rgba(var(--color-foreground), 0.35);
  border-radius: var(--inputs-radius);
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  font-size: 1.6rem;
}

/* Personalization inputs: keep text visually centered and stable on iPhone */
#cover_name.field__input,
#nb_cover_name.field__input {
  height: 44px;
  line-height: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

#inside_message.field__input,
#nb_inside_message.field__input {
  line-height: 1.35;
  padding-top: 10px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

@media (max-width: 749px) {
  .Personalization_field input.field__input,
  .Personalization_field textarea.field__input,
  .Personalization_field .variant-dropdown-wrapper select.select__select,
  #custom-text-wrapper #custom-text-input.field__input,
  #cover_name.field__input,
  #nb_cover_name.field__input,
  #inside_message.field__input,
  #nb_inside_message.field__input {
    font-size: 16px !important;
  }
}
              





/* Sticky ATC: mobile only */
@media (max-width: 749px) {
  .sticky-atc {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--sticky-atc-vv-bottom, 0px);
    padding: 12px 16px calc(2px + env(safe-area-inset-bottom));
    /* background: var(--color-background, #fff); */
    background-color: rgba(255,255,255,0.5);
    box-shadow: 0 -6px 16px rgba(0,0,0,.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform .24s ease;
  }
  .sticky-atc.is-visible { transform: translateY(0); }
  /* Give the page a little bottom room when sticky shows */
  body.has-sticky-atc { padding-bottom: calc(76px + var(--sticky-atc-vv-bottom, 0px)); } /* adjust if your button height differs */
  #sticky-atc-button.loading { opacity: .8; pointer-events: none; }
}

/* Optional: keep it hidden on desktop (belt + suspenders) */
@media (min-width: 750px) {
  .sticky-atc { display: none !important; }
}
