/**
 * TPS Geo Experience - Frontend Styles
 * Only loaded for international visitors
 */

/* ========================================
   SITE-WIDE BANNER
   ======================================== */
.tps-geo-banner {
    background: #e8f4fa;
    border-bottom: 2px solid rgba(69, 170, 211, 0.3);
    padding: 12px 0;
    position: relative;
    z-index: 999;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tps-geo-banner--sticky {
    position: sticky;
    top: 0;
}

.tps-geo-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tps-geo-banner__icon {
    flex-shrink: 0;
    color: #45aad3;
    display: flex;
    align-items: center;
}

.tps-geo-banner__content {
    flex: 1;
    font-size: 14px;
    color: #1a2332;
    line-height: 1.5;
}

.tps-geo-banner__content strong {
    color: #1a2332;
}

.tps-geo-banner__link {
    color: #45aad3 !important;
    font-weight: 600;
    text-decoration: underline !important;
    margin-left: 6px;
    white-space: nowrap;
}

.tps-geo-banner__link:hover {
    color: #3591b5 !important;
}

.tps-geo-banner__dismiss {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(69, 170, 211, 0.15);
    border: 1px solid rgba(69, 170, 211, 0.25);
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #45aad3;
    transition: all 0.2s;
    font-family: inherit;
}

.tps-geo-banner__dismiss:hover {
    background: rgba(69, 170, 211, 0.25);
    color: #3591b5;
}

.tps-geo-banner__dismiss svg {
    flex-shrink: 0;
}


/* ========================================
   PRODUCT PAGE NOTICE
   ======================================== */
.tps-geo-product-notice {
    margin-top: 16px;
    background: #f3f9fc;
    border: 1px solid rgba(69, 170, 211, 0.2);
    border-radius: 10px;
    padding: 16px 18px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tps-geo-product-notice__header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #45aad3;
    margin-bottom: 10px;
    font-size: 14px;
}

.tps-geo-product-notice__header strong {
    color: #1a2332;
}

.tps-geo-product-notice__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}

.tps-geo-product-notice__list li {
    font-size: 13px;
    color: #4a5568;
    padding: 3px 0;
    padding-left: 0 !important;
    list-style: none !important;
}

.tps-geo-product-notice__list li::before {
    content: none !important;
}

.tps-geo-product-notice__list li strong {
    color: #1a2332;
}

.tps-geo-product-notice__link {
    font-size: 13px;
    font-weight: 600;
    color: #45aad3 !important;
    text-decoration: none !important;
}

.tps-geo-product-notice__link:hover {
    text-decoration: underline !important;
    color: #3591b5 !important;
}


/* ========================================
   CART WARNING / INFO
   ======================================== */
.tps-geo-cart-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #92400e;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tps-geo-cart-warning strong {
    color: #78350f;
}

.tps-geo-cart-info {
    background: #e8f4fa;
    border: 1px solid rgba(69, 170, 211, 0.25);
    border-left: 4px solid #45aad3;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1a2332;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tps-geo-cart-info a {
    color: #45aad3 !important;
    font-weight: 600;
}


/* ========================================
   CHECKOUT BANNER
   ======================================== */
.tps-geo-checkout-banner {
    background: #f3f9fc;
    border: 2px solid rgba(69, 170, 211, 0.25);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.tps-geo-checkout-banner h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a2332 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

.tps-geo-checkout-banner__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.tps-geo-checkout-banner__item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.tps-geo-checkout-banner__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8896a6;
    margin-bottom: 4px;
}

.tps-geo-checkout-banner__value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a2332;
}

.tps-geo-checkout-banner__link {
    font-size: 13px;
    font-weight: 600;
    color: #45aad3 !important;
    text-decoration: none !important;
}

.tps-geo-checkout-banner__link:hover {
    text-decoration: underline !important;
}


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .tps-geo-banner__inner {
        flex-wrap: wrap;
    }

    .tps-geo-banner__content {
        font-size: 13px;
    }

    .tps-geo-banner__dismiss-text {
        display: none;
    }

    .tps-geo-banner__dismiss {
        padding: 6px 8px;
    }

    .tps-geo-checkout-banner__grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout banner terms list (intl reopen, 2026-08-25) */
.tps-geo-checkout-banner__terms {
    list-style: none;
    margin: 12px 0 10px;
    padding: 0;
}

.tps-geo-checkout-banner__terms li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
}

.tps-geo-checkout-banner__terms li::before {
    content: "\2022";
    position: absolute;
    left: 4px;
    color: #45aad3;
    font-weight: 700;
}
