﻿@import 'css/reset.css';
@import 'css/checkout.css';
@import 'css/fonts.css';

:root {
    --base-red: #bf1824;
    --text-red: #c1212c;
    --focus-red: #9f1420;
    --accented-text: #000029;
    --default-color: #000029;
    --section-bg: #f8ce60;
    --color-neutral-100: #f9f9f9;
    --color-neutral-200: #f1f1f1;
    --color-neutral-300: #e1e3ea;
    --rz-primary-lighter: var(--base-red) !important;
    --rz-success: var(--section-bg) !important;
    --rz-alert-color: var(--base-red) !important;
    --rz-alert-icon-color: var(--base-red) !important;
    --spinner-size: 48px;
}

.cart-popup {
    --rz-tooltip-color: var(--default-color) !important;
    max-width: 428px;
    overflow-y: auto;
    scrollbar-width: none;
}

.rz-tooltip.cart-popup .rz-tooltip-content:after {
    top: 16px !important;
    width: 16px;
    height: 16px;
}

html, body {
    font-family: "Futura", sans-serif;
    color: var(--default-color);
}

@media (max-width: 390px) {
    html {
        font-size: 12px;
    }
}

#data-protection {
    word-wrap: break-word;
}

.font-FuturaBold {
    font-family: "Futura-Bold", sans-serif;
}

.font-FuturaHeavy {
    font-family: "FuturaHeavy", sans-serif;
}

.font-Futura2 {
    font-family: "Futura2", sans-serif;
}

.font-FuturaOblique {
    font-family: "Futura-Oblique", sans-serif;
}

.font-FuturaHeavyOblique {
    font-family: "Futura-HeavyOblique", sans-serif;
}

.font-FuturaExtraBold {
    font-family: "Futura-ExtraBold", sans-serif;
} 

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background-color: #f8e9c7;
}

.section:not(#results):not(.buy-block):not(#no-risk):not(#overview) {
    padding: 3rem 4rem;
}

#no-risk {
    padding: 1rem 4rem;
}

#overview {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 0rem 3rem;
    padding: 0 4rem 3rem 0;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1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2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.navbar {
   z-index: 1000;
   background-color: white;
   padding: 1rem 5rem;
   position:sticky;
   top: 0;
   border-bottom: 5px solid var(--base-red);
}

.page-width {
    max-width: 1200px;
    margin: auto;
}

.section-first-img {
    border-radius: 0% 0% 100% 0%;
}

.overlay-image {
    position: absolute;
    right: 4%;
    bottom: 9%;
    width: 46%;
}

.text-red {
    color: var(--text-red);
}

.accendet-text-red {
    color: var(--text-red);
    font-weight:500;
}

.flex-1 {
    flex: 1;
}

.badge-img {
    clip-path: inset(0 0 1.5px 0);
}

.badges {
    flex-wrap: wrap;
    margin-top: 1rem;
}

.y0 {
    bottom: -0.500000px;
}

.h0 {
    height: 114.000000px;
}

.h1 {
    height: 114.500000px;
}

.w0 {
    width: 114.750000px;
}

.w1 {
    width: 115.500000px;
}

.x0 {
    left: 0.000000px;
}

.btn-cart {
    background-color: var(--text-red);
    min-width: 10rem;
    color: #fff;
}

.accented-text {
    color: var(--accented-text);
}

.info-list {
    font-weight: 400;
}

.section-second-img {
    min-width: 30%;
    width: auto;
/*    clip-path: inset(0 0 47px 0);*/
}

.section-bg {
    background-color: var(--section-bg);
}

.buy-block > div {
    flex-basis: 50%
}

.buy-block--info {
    padding: 3rem 4rem;
}

.width-100 {
    width: 100%;
}

.product-container {
    display: flex;
    justify-content: space-between; 
    gap: 20px; 
    flex-wrap: wrap; 
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    flex: 1 1 30%;
}

.base-price {
    color: #999;
}

@media(max-width: 768px) {
    .product-card {
        flex: 1 1 auto;
    }
}

    .product-card img {
        width: 100%;
        max-height: 200px;
        object-fit: contain; 
        border-radius: 10px;
    }

    .product-card h3 {
        margin: 10px 0;
        font-size: 18px;
    }

    .product-card p {
        font-size: 14px;
        color: #555;
    }

.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 10px;
}

.price-container {
    font-size: 1.5rem;
}

.price-container > .base-price {
    font-size: 0.75rem;
    line-height: 1.5rem;
    align-self: end;
} 

.old-price {
    color: #888;
    text-decoration: line-through;
}

.current-price {
    color: var(--text-red);
}

.image-container {
    width: 100%; 
}

.image-container img {
    display: block; 
    height: auto;
}

.cart-dialog .rz-dialog-content {
    flex: 1 1 auto;
}

.rz-button  span {
    cursor: inherit;
}

.hidden {
    display: none;
}

.subtext {
    margin-bottom:0;
    font-size: 13px;
    color: #aba9ab;
}

.half-arc-fill {
    position: relative;
    width: 50%;
    height: auto;
    background: #f8ce60;
    border-radius: 0 0 100% 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2,1fr);

}
.link {
    color: var(--text-red)
}

.link:hover {
    color: var(--focus-red);
}

.mail-link {
    color: var(--default-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15rem;
}

.mail-link:hover {
    color: var(--default-color);
    text-underline-offset: .3em;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--default-color);
}

.navbar-brand:hover {
    color: var(--default-color);
}

.rz-notification {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) !important;
    inset-block-start: auto !important;
    inset-inline-end: auto !important;
}

.rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert).cart-dialog {
    min-height: 60dvh !important;
    height: auto !important;

}
/* Extra extra large (<1400px) */
@media (max-width: 1399.98px) {
}

/* Extra large (<1200px) */
@media (max-width: 1199.98px) {
}

/* Large (<992px) */
@media (max-width: 991.98px) {
    #no-risk {
        gap: 1rem;
    }

    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert).cart-dialog {
        inset-block-start: auto !important;
        width: 90dvw !important;
        height: 90dvh !important;
    }

    #red-seal--container {
        width: 100%;
    }
}

/* Medium (<768px) */
@media (max-width: 767.98px) {
    #overview {
        grid-template-columns: repeat(1,1fr);
        padding:0;
    }

    .product-page--container {
        grid-template-columns: repeat(1,1fr) !important;
    }

    .overview-has--padding {
        padding: 1rem 4rem;
    }

    #checkout {
        padding: 1rem 1rem;
    }

    .overview-has--padding:last-of-type {
        padding-bottom: 3rem;
    }

    .p-top-0 {
        padding-top: 0;
    }

    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert).cart-dialog {
        inset-block-start: auto !important;
        width: 95dvw !important;
        height: 97dvh !important;
    }
   
}

@media (min-width: 768px) {
    .overview-left-info {
        padding-left: 4rem;
    }

    .footer-links {
        display: flex;
        flex-direction: row;
    }
}

/* Small (<576px) */
@media (max-width: 575.98px) {
    .rz-dialog-content {
        padding: 1rem;
    }
}

/* Extra small (default) */
@media (max-width: 320px) {
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.rapido-pulse-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    display: flex;
    flex-direction: column;
}

.rapido-pulse-text {
    font-weight: 700;
    font-size: 2.5rem;
    animation: pulse 1.5s ease-in-out infinite;
    text-align: center;
    letter-spacing: 1px;
}

.rapido-pulse-info {
    font-size: 1.55rem;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

.progress-bar {
    width: 100%;
    position: absolute;
    bottom: -4px;
}



