html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

:root {
    --pulo-radius: .5rem;
    --pulo-radius-sm: .375rem;
}

.breadcrumb,
.card,
.alert,
.modal-content,
.list-group,
.pp-body a.border,
.pp-body div.border,
.pp-body p.border,
.pp-body dl.border,
.pp-body ul.border {
    border-radius: var(--pulo-radius) !important;
}

.card,
.modal-content,
.list-group,
.pp-body a.border {
    overflow: hidden;
}

.form-control,
.custom-select,
.input-group-text,
.btn {
    border-radius: var(--pulo-radius-sm);
}

.input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-control .form-control,
.search-control #searchsubmit {
    height: 2.375rem;
}

.search-control #searchsubmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    padding: 0;
}

.promotion-banner {
    color: #212529;
    background: #ffd43b;
    border-top: 1px solid #e0aa00;
    border-bottom: 3px solid #c92a2a;
}

.promotion-banner-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .75rem;
    padding-top: .65rem;
    padding-bottom: .65rem;
    text-align: center;
}

.promotion-banner strong {
    color: #a51111;
    font-size: 1.15rem;
}

.promotion-banner span {
    font-size: .9rem;
}

.pp-body .col-md-3 > .mb-3 {
    overflow: hidden;
    border-radius: var(--pulo-radius);
}

.pp-body img {
    border-radius: var(--pulo-radius-sm);
}

.product-option-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--pulo-radius) !important;
}

.product-list-card {
    position: relative;
    overflow: hidden;
}

.product-option-card.sale,
.product-option-card.oferta,
.product-option-card.new {
    box-shadow: inset 0 0 0 1px #dc3545;
}

.product-size-label {
    top: 0;
    right: 0;
    left: 0;
}

.product-tag-badge {
    position: absolute;
    z-index: 2;
    top: -1px;
    right: -1px;
    width: 30%;
    max-width: 3.5rem;
    line-height: 0;
    pointer-events: none;
}

.product-tag-badge img {
    display: block;
    width: 100%;
    border-radius: 0;
}

.modal-body > img,
.card img,
.list-group img {
    border-radius: var(--pulo-radius-sm);
}

img,
svg,
canvas,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

a,
button,
[role="button"],
input[type="checkbox"],
input[type="radio"] {
    touch-action: manipulation;
}

.quantity-control {
    align-items: center;
    gap: .15rem;
    vertical-align: middle;
}

.quantity-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    min-width: 1.875rem;
    height: 1.875rem;
    padding: 0;
    color: #2f6f44 !important;
    background: #fff !important;
    border-color: #91b59d !important;
    line-height: 1;
}

.quantity-control button:hover,
.quantity-control button:focus {
    color: #fff !important;
    background: #2f7d4a !important;
    border-color: #2f7d4a !important;
}

.quantity-control button:disabled {
    color: #8a8f8c !important;
    background: #f1f3f2 !important;
    border-color: #ced4da !important;
}

.quantity-control .changePlus10 {
    width: 2.4rem;
    min-width: 2.4rem;
    font-size: .75rem;
    font-weight: 700;
}

.quantity-control .changePlus {
    font-size: 0;
}

.quantity-control .changePlus::after {
    content: "+1";
    font-size: .75rem;
    font-weight: 700;
}

.quantity-control .numberChange {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 1.875rem;
    padding-top: 0;
    padding-bottom: 0;
}

.order .quantity-control {
    margin-bottom: .3rem;
}

.order .product-quantity-control {
    margin-bottom: 0;
    padding-bottom: .3rem;
}

.removeItem button {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
}

.whatsapp-link img {
    width: 2rem;
    height: 2rem;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}

@supports selector(:focus-visible) {
    a:focus:not(:focus-visible),
    button:focus:not(:focus-visible),
    input:focus:not(:focus-visible),
    select:focus:not(:focus-visible),
    textarea:focus:not(:focus-visible) {
        outline: 0;
    }
}

@media (max-width: 767.98px) {
    .promotion-banner-content {
        align-items: center;
        flex-direction: column;
        gap: .15rem;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .container {
        width: 100%;
    }

    iframe {
        height: auto;
        min-height: 240px;
        aspect-ratio: 16 / 9;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
