.sticky-form-wrapper{
  border-width:4px;
  border-style:solid;
  border-radius:5px;
}
@media (min-width: 768px){
  .sticky-form-wrapper{
    border-width:6px;
  }
}
.sticky-form-wrapper .express-checkout-title{
  padding-top:24px;
}
.sticky-form-wrapper #express-checkout-form{
  border:none;
  padding:0;
}
.sticky-form-wrapper .express-checkout-fields{
  border:none;
  padding:0 16px;
  overflow-y:scroll;
  max-height:276px;
}
.sticky-form-wrapper .form-button{
  padding:0 16px 24px 16px;
}
.sticky-form-wrapper .form-wrapper{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:100%;
}
.sticky-form-wrapper .form-wrapper .sticky-form-button{
  width:100%;
  padding:0 16px;
  margin-bottom:24px;
}

@media (min-width: 768px){
  #express-checkout-form,
  #bundle-express-checkout-form{
    border-width:6px;
    border-style:solid;
    background:#F8F8F8;
    border-radius:4px;
    padding:20px;
    grid-gap:18px;
  }
}
#express-checkout-form *,
#bundle-express-checkout-form *{
  font-family:var(--yc-font-family);
}

.express-checkout-fields{
  display:grid;
  grid-template-columns:1fr;
  grid-gap:14px;
  padding:10px;
}
@media (min-width: 768px){
  .express-checkout-fields{
    padding:0;
    padding:initial;
  }
}
.express-checkout-fields .phone-fieldset{
  display:flex;
}
.express-checkout-fields .phone-fieldset .phone-countries-wrapper{
  position:relative;
  width:30%;
  line-height:100%;
}
.express-checkout-fields .phone-fieldset .phone-countries-wrapper .phone-code{
  display:flex;
  height:100%;
  justify-content:space-between;
  align-items:center;
  pointer-events:none;
}
.express-checkout-fields .phone-fieldset .phone-countries-wrapper .phone-code::after{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg);
}
.express-checkout-fields .phone-fieldset .phone-countries-wrapper .phone-select-menu{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100% !important;
  opacity:0;
  cursor:pointer;
  border:none !important;
  padding:0 !important;
  padding:initial !important;
}
.express-checkout-fields .phone-fieldset .phone-number{
  border:none !important;
  direction:inherit;
}

.express-checkout-title{
  font-weight:400;
  font-size:18px;
  line-height:normal;
  text-align:center;
  color:#333;
}

.express-checkout-button{
  display:flex;
  justify-content:center;
  width:100%;
  max-width:900px;
  margin:0 auto;
  font-family:inherit;
  font-weight:bold;
}
.express-checkout-button:disabled{
  opacity:0.5;
  cursor:not-allowed;
}
.express-checkout-button span{
  font-family:inherit;
  font-weight:inherit;
}
.express-checkout-button .spinner{
  width:24px;
  height:24px;
}

@keyframes slideFromBottom{
  0%{
    transform:translateY(100%);
    opacity:0;
  }
  100%{
    transform:translateY(0);
    opacity:1;
  }
}
.yc-sticky-checkout{
  visibility:hidden;
  position:fixed;
  transform:translateY(100%);
  transition:0.3s ease;
  transition-property:all;
  will-change:transform, opacity;
  z-index:1001;
  width:100%;
  min-height:-moz-max-content;
  min-height:max-content;
  max-height:70vh;
  background-color:white;
  left:0;
  bottom:0;
  padding-bottom:0;
}
@media (min-width: 768px){
  .yc-sticky-checkout{
    max-height:54vh;
  }
}
.yc-sticky-checkout .spacer{
  margin-top:20px;
}
.yc-sticky-checkout .cta-bottom-wrapper{
  width:100%;
  position:fixed;
  bottom:0;
  padding:16px 20px;
  background-color:white;
  border-top:1px solid #EBEBEB;
}
.yc-sticky-checkout .step-2-wrapper{
  padding:20px 20px 0 20px;
  margin-bottom:75px;
}
@media (min-width: 768px){
  .yc-sticky-checkout .step-2-wrapper{
    width:100%;
    padding:0;
    padding:initial;
    max-width:940px;
    padding:0 20px;
    margin:0 auto 37px auto;
  }
}
.yc-sticky-checkout .step-2-wrapper .close-icon{
  display:block;
}
.yc-sticky-checkout .step_1, .yc-sticky-checkout .step_2{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
}
.yc-sticky-checkout #checkout_step_1, .yc-sticky-checkout #checkout_step_2{
  animation:slideFromBottom 0.2s ease-in-out;
  will-change:transform;
}
.yc-sticky-checkout .close-icon{
  background:white;
  color:#C8C8C8;
  position:absolute;
  left:50%;
  transform:translate(-50%, -50%);
  bottom:-17px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  border-radius:4px 4px 0 0;
}
@media (min-width: 768px){
  .yc-sticky-checkout .close-icon{
    left:auto;
    left:initial;
    transform:none;
    transform:initial;
    bottom:auto;
    bottom:initial;
    top:8px;
    right:20px;
  }
}
.yc-sticky-checkout .sticky-desktop-wrapper .checkout-form{
  width:100%;
}
@media (min-width: 768px){
  .yc-sticky-checkout .sticky-desktop-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:stretch;
    grid-gap:37px;
    gap:37px;
    margin-top:37px;
  }
  .yc-sticky-checkout .sticky-desktop-wrapper .checkout-form{
    padding-bottom:0;
  }
}


/* ===== SUQRA PRO COD EXPRESS CHECKOUT ENHANCEMENTS ===== */
#express-checkout-form,
#bundle-express-checkout-form {
  background: #ffffff !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 16px !important;
  padding: 18px 16px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  #express-checkout-form,
  #bundle-express-checkout-form {
    padding: 24px 22px !important;
  }
}

.express-checkout-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.express-checkout-title {
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  text-align: center;
  color: #0f172a !important;
}

.ec-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ec-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

#express-checkout-form .express-checkout-fields,
#bundle-express-checkout-form .express-checkout-fields {
  padding: 0 !important;
  grid-gap: 12px !important;
}

#express-checkout-form input,
#express-checkout-form select,
#express-checkout-form textarea,
#bundle-express-checkout-form input,
#bundle-express-checkout-form select,
#bundle-express-checkout-form textarea {
  min-height: 48px;
  padding: 10px 14px !important;
  border-width: 1.5px !important;
  border-radius: 11px !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-size: 16px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#express-checkout-form input:focus,
#express-checkout-form select:focus,
#express-checkout-form textarea:focus,
#bundle-express-checkout-form input:focus,
#bundle-express-checkout-form select:focus,
#bundle-express-checkout-form textarea:focus {
  outline: none !important;
  border-color: #059669 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3.5px rgba(16, 185, 129, 0.16) !important;
}

#express-checkout-form input.error,
#express-checkout-form select.error,
#express-checkout-form textarea.error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}

#express-checkout-form .validation-error,
#bundle-express-checkout-form .validation-error {
  color: #dc2626;
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
}

.express-checkout-button {
  min-height: 54px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 6px !important;
}

.express-checkout-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  filter: brightness(1.03);
}

.express-checkout-button:active:not(:disabled) {
  transform: scale(0.98);
}


/* ===== SUQRA PRO V2: ORANGE BORDER + GREEN CTA ===== */
#express-checkout-form,
#bundle-express-checkout-form {
  border: 2.5px solid #F97316 !important;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.14) !important;
}

#express-checkout-form input:focus,
#express-checkout-form select:focus,
#express-checkout-form textarea:focus,
#bundle-express-checkout-form input:focus,
#bundle-express-checkout-form select:focus,
#bundle-express-checkout-form textarea:focus {
  border-color: #F97316 !important;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.16) !important;
}


/* ===== SUQRA PRO V5: PERMANENT FIELD EMOJIS, NO COUNTRY CODE, SEARCHABLE WILAYA ===== */
.express-checkout-field {
  position: relative;
}

.suqra-field-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.suqra-fixed-emoji {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
  user-select: none;
}

.suqra-field-box.is-textarea .suqra-fixed-emoji {
  top: 15px;
  transform: none;
}

/* Pad all inputs/selects/textareas uniformly so text never overlaps the fixed emoji */
#express-checkout-form .suqra-field-box > input,
#express-checkout-form .suqra-field-box > select,
#express-checkout-form .suqra-field-box > textarea,
#bundle-express-checkout-form .suqra-field-box > input,
#bundle-express-checkout-form .suqra-field-box > select,
#bundle-express-checkout-form .suqra-field-box > textarea {
  padding-inline-start: 44px !important;
  width: 100%;
}

/* Hide YouCan phone country code dropdown if phone_validation is enabled */
#express-checkout-form .suqra-field-box > .phone-fieldset {
  width: 100%;
  padding-inline-start: 44px !important;
  align-items: center;
}

#express-checkout-form .suqra-field-box > .phone-fieldset .phone-countries-wrapper {
  display: none !important;
}

#express-checkout-form .suqra-field-box > .phone-fieldset .phone-number {
  padding-inline-start: 0 !important;
  width: 100% !important;
}

/* Valid Omani phone indicator */
.suqra-phone-valid-tick {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%) scale(0.7);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #10B981;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.suqra-field-box.is-valid-phone .suqra-phone-valid-tick {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

#express-checkout-form input[data-oman-phone-role] {
  padding-inline-end: 40px !important;
}

#express-checkout-form input.is-valid-oman,
.phone-fieldset.is-valid-oman {
  border-color: #10B981 !important;
  background-color: #F0FDF4 !important;
}

/* Searchable Wilaya / City Dropdown */
.suqra-native-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.suqra-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  padding-inline-start: 44px;
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--yc-font-family);
  font-size: 16px;
  font-weight: 600;
  color: #0F172A !important;
  text-align: start;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.suqra-select-trigger-text {
  color: #0F172A !important;
  font-weight: 700 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suqra-select-trigger.is-placeholder .suqra-select-trigger-text {
  color: #64748B !important;
  font-weight: 400 !important;
}

.suqra-select-trigger.has-value {
  background-color: #FFFFFF;
  border-color: #94A3B8;
}

.suqra-select-trigger:focus,
.suqra-select-trigger[aria-expanded="true"] {
  outline: none;
  border-color: #F97316;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(249, 115, 22, 0.16);
}

.suqra-select-trigger.error {
  border-color: #DC2626 !important;
  background-color: #FEF2F2 !important;
}

.suqra-select-chevron {
  display: inline-flex;
  align-items: center;
  color: #64748B !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.suqra-select-trigger[aria-expanded="true"] .suqra-select-chevron {
  transform: rotate(180deg);
  color: #F97316 !important;
}

.suqra-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 9995;
  background: #FFFFFF;
  border: 2px solid #F97316;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.suqra-select-dropdown.is-open {
  display: block;
}

.suqra-select-search-wrap {
  position: relative;
  padding: 10px;
  background: #FFF7ED;
  border-bottom: 1px solid #FED7AA;
}

.suqra-select-search-icon {
  position: absolute;
  inset-inline-start: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

#express-checkout-form .suqra-select-search-input,
.suqra-select-search-input {
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 6px 12px !important;
  padding-inline-start: 34px !important;
  background: #FFFFFF !important;
  border: 1.5px solid #FDBA74 !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  color: #0F172A !important;
  margin: 0 !important;
}

#express-checkout-form .suqra-select-search-input:focus,
.suqra-select-search-input:focus {
  border-color: #F97316 !important;
  box-shadow: 0 0 0 2.5px rgba(249, 115, 22, 0.18) !important;
}

.suqra-select-options {
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
}

.suqra-select-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-family: var(--yc-font-family);
  font-size: 15px;
  font-weight: 500;
  color: #0F172A !important;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.suqra-select-option:hover,
.suqra-select-option:focus {
  background: #FFF7ED;
  color: #C2410C !important;
}

.suqra-select-option.is-selected {
  background: #ECFDF5;
  color: #059669 !important;
  font-weight: 700;
}

.suqra-select-option.is-selected::after {
  content: "✓";
  font-weight: 800;
}

.suqra-select-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 14px;
  color: #64748B;
}


/* ===== SUQRA PRO V15: #307F00 CTA, MATCHING SIZE & BOLD DARK INPUT TEXT ===== */
.express-checkout-button {
  min-height: 64px !important;
  padding: 17px 20px !important;
  background: #307F00 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 13px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  box-shadow: 0 5px 15px rgba(48, 127, 0, 0.28) !important;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.express-checkout-button:hover:not(:disabled) {
  background: #266600 !important;
  box-shadow: 0 7px 20px rgba(48, 127, 0, 0.36) !important;
  filter: none !important;
}

#express-checkout-form input:not([type="hidden"]),
#express-checkout-form textarea,
#express-checkout-form select,
#bundle-express-checkout-form input:not([type="hidden"]),
#bundle-express-checkout-form textarea,
#bundle-express-checkout-form select {
  color: #0F172A !important;
  font-weight: 700 !important;
  -webkit-text-fill-color: #0F172A;
}

#express-checkout-form input::placeholder,
#express-checkout-form textarea::placeholder,
#bundle-express-checkout-form input::placeholder,
#bundle-express-checkout-form textarea::placeholder {
  color: #64748B !important;
  font-weight: 400 !important;
  -webkit-text-fill-color: #64748B;
  opacity: 1 !important;
}
