
:root {
    --sync-dark-grey-color: #202020;
    --sync-grey-color: #6a6a6a;
    --sync-pale-grey-color: #bebebe;
    --sync-very-pale-grey-color: #eeeeee;
    --sync-pink-color: #eb3463;
    --sync-purple-color: #7339f5;
    --sync-dark-purple-color: #320074;

    --sync-page-width: 1529px;

    --sync-button-border-radius: 30px;

    --sync-nav-menu-standard: rgb(238, 238, 238);
    --sync-nav-menu-pale: rgb(247, 247, 247);

    --sync-box-shadow: 10px 10px 20px 0px rgba(209,209,209,0.5);

    --sync-complete-color: #c5edd7;
    --sync-pending-color: #ffdeb3;
    --sync-processing-color:#def6ff;

}



.propel-modal-narrow .modal-header, 
.propel-modal-narrow .modal-footer { 
    display: none;
}

.propel-modal-narrow .modal-inner-wrap {
    max-width: 600px !important; /* Force override core Magento theme layout defaults */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Propel finance box pop up */

.product-info-price {
    display: flex;
    flex-wrap: wrap;
}

.product-info-stock-sku {
    width: 100%;
}

.price-box {
    flex: 1 1 auto; /* Grow to 100% width if alone, or occupy remaining space if propel is present */
    min-width: 25%; /* Prevents the price box from getting squished too small */
}

#propel-eligibility-container {
    margin-top: 0 !important; /* Alignment correction */
    max-width: 65%; 
    padding: 2rem;
    border: 1px solid var(--sync-dark-grey-color);
    border-radius: 25px;
    clear: both;
    display: none;
}

#propel-eligibility-container-images {
    max-width: 35%;
    text-align: center;
}

#apple-financical-services-logo {
    width: 100%;
}

#powered-by-propel-logo {
    width: 70%;
}

#propel-eligibility-container-message {
    font-size: 1.4em;
    line-height: 1.6em;
    padding: 10px 20px;
}

#propel-eligibility-container-message .header-content {
    margin-top: 1rem;
    display: inline-block;
}

#propel-eligibility-container-message #propel-read-more {
    margin-top: 1rem;
    font-size: 0.8em;
    display: inline-block;
}

/* propel footer */

.propel-footer-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999; 
    background: transparent;
    background-color: #000000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
    text-align: center;
}

.propel-footer-content {
    max-width: var(--sync-page-width);
    margin: 0 auto;
    padding: 0 20px;
}

.propel-footer-container {
    background-color: #000000;
    color: var(--sync-pale-grey-color);
    padding: 0.5em 2em; /* Added a tiny bit of top/bottom padding to give the bar breathing room */  
    /* FLEXBOX ALIGNMENT MAGIC */
    display: flex;
    align-items: center;       /* Perfectly centers images, text, and pipes vertically */
    justify-content: center;    /* Keeps everything centered horizontally in the bar */
    gap: 15px;                 /* Clean, uniform spacing between logos, pipes, and text nodes */
}

body.catalog-product-view {
    padding-bottom: 54px; 
}

#apple-financical-services-logo-black {
    height: 40px; 
    display: block; /* Helps Flexbox measure the dimensions perfectly without default inline gaps */
}

#powered-by-propel-logo-black {
    height: 30px;
    display: block; /* Helps Flexbox measure the dimensions perfectly without default inline gaps */
}

/* Optional styling fixes to give the text and link some polish */
.propel-footer-container .text-inner {
    padding-left: 180px;
    font-size: 14px;
}

.propel-footer-container .read-more-link a {
    color: var(--sync-pale-grey-color);
    text-decoration: none;
}

/* Model markup */

.propel-modal-narrow .propel-modal-image-banner {
    padding-top: 2em;
    display: flex;
    align-items: center;       /* Perfectly centers images, text, and pipes vertically */
    justify-content: center;    /* Keeps everything centered horizontally in the bar */
    gap: 15px;                 /* Clean, uniform spacing between logos, pipes, and text nodes */
}

.propel-modal-narrow #apple-financical-services-logo {
    max-height: 50px;
    width: auto;
    display: block; 
}

.propel-modal-narrow #powered-by-propel-logo {
    max-height: 30px;
    width: auto;
    display: block; 
}

.propel-modal-narrow .propel-legal-text {
    margin-bottom: 1em;
}

.propel-modal-narrow .propel-legal-text a {
    color: blue;
    text-decoration: underline;
}

.propel-modal-narrow .propel-grey-box {
    background: var(--sync-very-pale-grey-color);
    border-radius: 10px;
    margin-top: 1em;
    padding: 1em 2em;
}

.propel-modal-narrow .propel-grey-box .propel-finance-line {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.propel-modal-narrow .propel-grey-box .propel-finance-line:first-of-type {
    margin-top: 1em;
}

.propel-modal-narrow .propel-grey-box .propel-finance-line div {
    flex-grow: 0;
    flex-shrink: 0;
    width: 48%;
    text-align: left; 
}

.propel-modal-narrow .propel-grey-box .propel-finance-line div.right {
    text-align: right;
}

.propel-modal-narrow h2 {
    font-weight: 400;
    width: 100%;
}

.propel-modal-narrow .propel-grey-box h2 {
    margin-top: 0;
}


