@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --btn-primary-color: #CC0000;
    --btn-secondary-color: #F9F9F9;
    --btn-alternative-color: #26AB82;
    --btn-repasse-color: #ca6c20;
    --text-color: #71717B;
    --text-title-color: #3F3F46;
    --text-subtitle-color: #A0A0AB;
    --white: #ffffff;
}

* {
    font-family: "Inter", sans-serif;
}

hr {
    width: 100%;
    border: none;
    height: 2px;
    background-color: #E4E4E7;
}

.container {
    padding-left: 64px;
    padding-right: 64px;
}

.text-primary-color {
    color: var(--btn-primary-color) !important;
}

.modal-header .btn-left, .modal-header .btn-right {
    padding: calc(var(--bs-modal-header-padding-y) * .5) calc(var(--bs-modal-header-padding-x) * .5);
    margin: calc(-.5 * var(--bs-modal-header-padding-y)) calc(-.5 * var(--bs-modal-header-padding-x)) calc(-.5 * var(--bs-modal-header-padding-y)) auto;
    border: none;
    background: none;
}

/* Header */
#header {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: #E4E4E7 solid 1px;
}

#header_bg {
    height: 156px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin-bottom: -124px;
}

.header_seller_image {
    width: 160px;
    height: 160px;
    background-color: #fff;
    border-radius: 100%;
    border: #E4E4E7 solid 1px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 8px #fff,
                0px 12px 16px -4px rgba(16, 24, 40, 0.2);
}

.header_store_divisor {
    width: 1px;
    height: 96px;
    background-color: #fff;
    margin-right: 32px;
}

.header_store_image {
    width: 96px;
    height: 96px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: #fff solid 8px;
    border-radius: 8px;
    background-color: #fff;
}

.header_store_name {
    color: #fff;
    font-weight: 600;
    max-width: 100px;
}

.header_seller_name {
    font-size: 32px;
    font-weight: bold;
    color: #3F3F46;
    line-height: 100%;
    margin-top: 32px;
    margin-bottom: 8px;
}

.header_seller_bio {
    font-size: 16px;
    color: #71717B;
    font-weight: 500;
}

@media (max-width: 767px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }

    #header {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    #header_bg {
        height: 120px;
        margin-bottom: -80px;
    }

    .header_seller_image {
        width: 120px;
        height: 120px;
        box-shadow: inset 0 0 0 4px #fff,
                    0px 12px 16px -4px rgba(16, 24, 40, 0.2);
    }

    .header_seller_name {
        font-size: 24px;
    }

    .header_seller_bio {
        font-size: 14px;
    }
}

/* Buttons */
.btn {
    border-radius: 48px;
    padding: 11px 16px;
    min-width: 48px;
}

.btn-circle {
    border-radius: 48px;
    padding: 0;
    height: 48px;
    width: 48px;
    text-align: center;
    display: inline-block;
    line-height: 48px;
}

.btn-primary {
    background-color: var(--btn-primary-color);
    border: var(--btn-primary-color) solid 1px;
    color:#fff;
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #fff;
    border: var(--btn-primary-color) solid 1px;
    color: var(--btn-primary-color);
}

@media (max-width: 767px) {
    .product-consortia-modal .btn-primary {
        font-size: 12px;
        padding: 8px;
    }
}

.btn-secondary {
    background-color: var(--btn-secondary-color);
    border: #E4E4E7 solid 1px;
    color: var(--text-title-color);
    font-weight: bold;
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-color);
    border: #E4E4E7 solid 1px;
    color: var(--btn-primary-color);
}

/* Section */
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-title-color);
    line-height: 100%;
    margin-bottom: 24px;
}

/* Product Box */
.product-box {
    border: #E4E4E4 solid 1px;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.product-box .title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-title-color);
}

.product-box .subtitle {
    font-size: 14px;
    color: var(--text-subtitle-color);
}

.product-box .image {
    margin-bottom: 24px;
}

.product-box .image img {
    width: 100%;
}

/* Footer */
#footer {
    margin-top: 40px;
    padding: 40px 0;
    border-top: #E4E4E7 solid 1px;
}

/* Alternative/Repasse buttons */
.btn-alternative {
    background-color: var(--btn-alternative-color);
    color: #fff;
}

.btn-alternative:hover {
    background-color: var(--btn-alternative-color);
    color: #fff;
}

.btn-repasse {
    background-color: var(--btn-repasse-color);
    color: #fff;
}

.btn-repasse:hover {
    background-color: white;
    color: var(--btn-repasse-color);
}

/* Floating WhatsApp Button */
.floating_whatsapp_button {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1050;
}

.floating_whatsapp_button img {
    border: #39BF96 solid 4px;
}

.floating_whatsapp_button .btn {
    box-shadow: rgba(16, 24, 40, 0.2) 0px 12px 16px -4px;
}

.bi {
    -webkit-text-stroke: .5px;
}

.floating_whatsapp_button_close_button {
    border: none;
    background: #39BF96;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    color: #fff;
    font-weight: bold;
    z-index: 10;
    position: relative;
    font-size: 10px;
}

.floating_whatsapp_button_close_button .bi {
    -webkit-text-stroke: 1px;
}

/* Product Modal */
.product-modal .modal-title {
    font-weight: bold;
    font-size: 32px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--text-subtitle-color);
    opacity: 1;
    height: 50px;
    width: auto;
}

.carousel-indicators .active {
    background-color: var(--btn-primary-color);
}

.product-modal-description {
    color: var(--text-color);
}

.product-modal-payment-btns .btn {
    border-radius: 8px;
}

.product-modal .carousel {
    border-bottom: var(--bs-modal-header-border-color) solid 1px;
    margin-bottom: 16px;
}

/* Consórcio Modal */
.product-consortia-modal .modal-header {
    font-size: 12px;
    color: var(--text-color);
}

.product-consortia-modal .store_image, .product-consortia-modal .seller_image {
    width: 48px;
    height: 48px;
    padding: 16px;
    background-size: 100%;
    background-color: #fff;
    border-radius: 48px;
    background-position: center;
    background-repeat: no-repeat;
    border: #E4E4E7 solid 2px;
}

.product-consortia-modal .seller_image {
    margin-left: -8px;
}

.product-consortia-modal .modal-title {
    font-size: 24px;
    color: var(--text-title-color);
    font-weight: bold;
}

.product-consortia-modal .subtitle {
    font-weight: bold;
    color: var(--text-title-color);
}

.product-consortia-modal-credit {
    color: var(--text-color);
    line-height: 140%;
}

.product-consortia-modal-credit b {
    color: var(--btn-primary-color);
    font-size: 24px;
}

.product-consortia-modal-image {
    border: var(--bs-modal-header-border-color) solid 1px;
    border-radius: 8px;
    margin-left: 16px;
}

.product-consortia-modal .modal-body {
    z-index: 99;
    position: relative;
}

.form-check-input:checked {
    background-color: var(--btn-primary-color);
    border-color: var(--btn-primary-color);
}

.product-consortia-modal-legal-text {
    color: var(--text-color);
}

.product-consortia-modal .form-check {
    font-size: 14px;
    color: var(--text-color);
}

.product-consortia-modal .form-check b {
    color: var(--text-title-color);
}

.carousel-control-prev-icon {
    background-image: none;
}

/* Modal Watermark */
.modal-watermark {
    position: absolute;
    top: 160px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: calc(100% - 200px);
    width: 100%;
    overflow: hidden;
}

.modal-watermark span {
    color: var(--text-subtitle-color);
    font-size: 14px;
    rotate: -45deg;
    display: block;
    margin: 16px;
    opacity: .3;
}

/* Financing Modal */
.product-financing-modal .modal-header {
    font-size: 12px;
    color: var(--text-color);
}

.product-financing-modal .store_image, .product-financing-modal .seller_image {
    width: 48px;
    height: 48px;
    padding: 16px;
    background-size: 100%;
    background-color: #fff;
    border-radius: 48px;
    background-position: center;
    background-repeat: no-repeat;
    border: #E4E4E7 solid 2px;
}

.product-financing-modal .seller_image {
    margin-left: -8px;
}

.product-financing-modal .modal-title {
    font-size: 24px;
    color: var(--text-title-color);
    font-weight: bold;
}

.product-financing-modal .subtitle {
    font-weight: bold;
    color: var(--text-title-color);
}

.product-financing-modal-credit {
    color: var(--text-color);
    line-height: 140%;
    font-size: 14px;
}

.product-financing-modal-credit b {
    color: var(--btn-primary-color);
    font-size: 24px;
}

.product-financing-modal-image {
    border: var(--bs-modal-header-border-color) solid 1px;
    border-radius: 8px;
    margin-left: 16px;
}

.product-financing-modal .modal-body {
    z-index: 99;
    position: relative;
}

.product-financing-modal-legal-text {
    color: var(--text-color);
}

.product-financing-modal .form-check {
    font-size: 14px;
    color: var(--text-color);
}

.product-financing-modal .form-check b {
    color: var(--text-title-color);
}

/* Specs Table */
.specs-table {
    width: 100%;
    margin-top: 16px;
}

.specs-table td {
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-color);
    border-bottom: 1px solid #E4E4E7;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-title-color);
    width: 40%;
}

/* Form Pages */
.form-page-header {
    background: var(--btn-primary-color);
    color: #fff;
    padding: 32px;
    border-radius: 0 0 16px 16px;
    margin-bottom: 32px;
    text-align: center;
}

.form-page-header h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 32px 64px;
}

.form-container .form-label {
    font-weight: 600;
    color: var(--text-title-color);
    font-size: 14px;
}

.form-container .form-control {
    border-radius: 8px;
    border: 1px solid #E4E4E7;
    padding: 10px 14px;
}

.form-container .btn-submit {
    width: 100%;
    background-color: var(--btn-primary-color);
    color: #fff;
    border: none;
    border-radius: 48px;
    padding: 14px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 24px;
}

.form-container .btn-submit:hover {
    background-color: #a00000;
}

/* Verified Badge */
.verified-badge {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-left: 4px;
}
