:root {
    --my-muted-green: #63B38D;
    --my-green: #519676;
    --my-gold: #CFB860;
    --my-black: #4A4A4A;
    --my-pink: #FDE2E1;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font-family: "Simonetta", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: var(--my-black);
}

/* =HTML5 display-role reset for older browsers
----------------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: var(--my-black);
}

a:hover {
    color: #777;
}

.ui-tabs-hide {
    display: none;
}

br.clear {
    margin: 0px;
    padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 15px;
    color: var(--my-black);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: var(--my-black);
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

h4,
h5,
h6 {
    color: #666;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

h4 a {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
}

p {
    line-height: 24px;
    font-size: 18px;
}

strong {
    font-weight: bold;
    color: #666;
}

cite,
em,
i {
    font-style: italic;
}

pre {
    background-color: #eee;
    overflow: auto;
    padding: 20px;
    color: #555;
    margin-bottom: 30px;
}

pre,
code {
    font-family: Courier New, monospace;
}

ins {
    text-decoration: none;
}

sup,
sub {
    font-size: 10px;
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 6px;
}

sub {
    top: 4px;
}

main {
    padding-top: 160px;
}

@media(max-width: 768px) {
    main{
        padding-top: 110px;
    }
}

/* Form */
input[type=text],
input.text,
input.title,
textarea,
select {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 9px 10px;
    font-size: 18px;
    box-shadow: 0 2px 2px #e5e5e5 inset;
    margin: 0 0 20px;
}

input[type=text]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
    background-color: #f3f3f3;
    border: 1px solid #bbb;
}

textarea {
    padding: 10px;
    background-color: #F3F3F3;
}

.common-title,
p.common-title {
    position: relative;
    padding-top: 1.5rem;
    padding-left: 1rem;
    padding-bottom: 1rem;
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.4rem;
    text-align: left;
    border-left-color: #F6F6F6;
    border-left-width: 3px;
    border-left-style: solid;
    margin-bottom: 1rem;
}

.common-title a {
    color: black;
}

.common-title a:hover {
    text-decoration: none;
    color: #3D4349;
}

.common-description {
    padding-left: 1rem;
    text-align: justify;
}

.common-subtitle {
    padding-left: 1.5rem;
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    text-align: left;
}

.common-item-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.common-column a {
    color: black;
}

.common-column a:hover {
    text-decoration: none;
    color: #3D4349;
}

.common-column p.title {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

.common-column .item img {
    max-height: 350px;
    width: 100%;
    object-fit: contain;
}

.common-column img.yall-loaded {
    opacity: 1;
}

.common-column .item {
    height: 100%;
}

/*.common-column .thumbnail {
    height: 70%;
}*/

.common-column .details {
    height: 30%;
}


#gotoTop {
    display: inline-block;
    background-color: var(--my-gold);
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 25px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#gotoTop:hover {
    cursor: pointer;
    background-color: var(--my-gold);
}

#gotoTop:active {
    background-color: #555;
}

#gotoTop.show {
    opacity: 1;
    visibility: visible;
}

.news h4 {
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: left;
}

.news h2 {
    margin-bottom: 0px;
    padding-top: 10px;
    text-align: left;
}

.news p {
    color: black;
    text-align: left;
}

.item-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 50vh;
    padding-right: 2rem;
}


/* Items Pop-up Image */
.theImage {
    border-width: 0px;
    border-radius: 5px;
    transition: 0.3s;
}

.theImage:hover {
    opacity: 0.6;
    cursor: url('../imgs/search-outline.svg'), zoom-in;
}

.arrows {
    position: relative;
    height: 0px;
    left: 75%;
    top: 70px;
    width: 8%;
}

.arrow {
    width: 40px;
    border-radius: 20px;
}

.arrow:hover,
.arrow:focus {
    background-color: #EDEDED;
}

.link {
    margin: auto;
    display: block;
}

.link img {
    width: 100%;
}

.instagram {
    width: 100%;
    border: 0;
    overflow: hidden;
}

.height60 {
    height: 60%
}

.height40 {
    height: 40%;
}

.height5Lines {
    line-height: 3ex;
    height: 15ex;
    overflow: hidden;
}

/* === Overlays === */
.unavailable {
    position: relative;
}

.unavailable:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3E%3Ctitle%3Eionicons-v5-e%3C/title%3E%3Ccircle cx='256' cy='256' r='144' fill='%23d33030'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

.new_overlay_fr,
.sold_out_overlay_fr,
.soon_overlay_fr,
.last_ones_overlay_fr {
    position: relative;
}

.new_overlay_fr:after,
.sold_out_overlay_fr:after,
.soon_overlay_fr:after,
.last_ones_overlay_fr:after {
    content: "";
    display: block;
    width: 130px;
    height: 45px;
    position: absolute;
    top: -20px;
    right: -10px;
    background-size: 130px 45px;
    background-position: 0px 0px;
    background-repeat: no-repeat;
}

.new_overlay_fr:after {
    background-image: url("../imgs/new_overlay_fr.png");
}

.sold_out_overlay_fr:after {
    background-image: url("../imgs/sold_out_overlay_fr.png");
}

.soon_overlay_fr:after {
    background-image: url("../imgs/soon_overlay_fr.png");
}

.last_ones_overlay_fr:after {
    background-image: url("../imgs/last_ones_overlay_fr.png");
}

/* === BOUTON === */
button.btn.bouncing_button,
button.btn.bouncing_button:disabled,
button.btn.bouncing_button:active,
button.btn.bouncing_button:focus-visible {
    border: none;
    color: #f1f1f1;
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    background-color: var(--my-muted-green);
}

button.btn.bouncing_button:hover {
    color: #f1f1f1;
    background-color: var(--my-green);
    animation: bounce 1s ease;
    animation-iteration-count: 1;
}

@keyframes bounce {
    10% {
        transform: translateY(0%);
    }

    30% {
        transform: translateY(-15%);
    }

    60% {
        transform: translateY(0%);
    }

    75% {
        transform: translateY(-7%);
    }

    85% {
        transform: translateY(0%);
    }

    90% {
        transform: translateY(-3%);
    }

    100% {
        transform: translateY(0);
    }
}

textArea {
    height: 100px !important;
}

.form-floating>label {
    color: darkgray;
}

/* === CART FORM === */
.content-wrapper {
    margin: 0 auto;
}

main .cart table {
    width: 100%;
}

main .cart table thead td {
    padding: 20px 10px;
    border-bottom: 1px solid #DDD;
}

main .cart table thead td:nth-child(2),
main .cart table thead td:last-child {
    text-align: right;
    padding-right: 15px;
}

main .cart table .img {
    width: 150px;
}

main .cart table tbody td {
    padding: 20px 10px;
    border-bottom: 1px solid #DDD;
    vertical-align: middle;
}

main .cart table .remove {
    color: olive;
    font-size: 12px;
    padding-top: 3px;
}

main .cart table .remove:hover {
    text-decoration: underline;
}

.price {
    color: #555;
    text-align: right;
}

main .cart table a {
    text-decoration: none;
    color: #555555;
}

main .cart table a.remove {
    color: #A29378;
    font-size: 14px;
}

main .cart table input[type="number"] {
    width: 80px;
    padding: 5px;
    border: 1px solid #ccc;
    color: #555555;
    border-radius: 5px;
}

main .cart table input[type="number"]:focus-visible {
    outline: olive solid thin;
    border-color: olive;
}

main .cart .subtotal {
    text-align: right;
    padding: 40px 0;
}

main .cart .subtotal .text {
    padding-right: 40px;
    font-size: 18px;
}

main .cart .subtotal .price {
    font-size: 18px;
    padding-right: 5px;
}

main #cartForm input[type="radio"],
main #cartForm input[type="checkbox"] {
    margin-top: 0px;
}

main #cartForm input[type="radio"]:checked,
main #cartForm input[type="checkbox"]:checked {
    background-color: var(--my-gold);
    border-color: var(--my-gold);
}

main #cartForm input:focus,
main #cartForm input:focus-visible,
main #cartForm input:active,
main #cartForm textarea:focus,
main #cartForm textarea:focus-visible,
main #cartForm textarea:active,
main #cartForm select:focus,
main #cartForm select:focus-visible,
main #cartForm select:active {
    outline: none;
    box-shadow: 0 0 0 1px rgba(128, 128, 0, 0.25);
    border-color: var(--my-gold);
}

main #cartForm select.quantity {
    max-width: 80px;
    margin-top: 1rem;
}

.form-control.is-valid,
.was-validated .form-control:valid {
    border-color: #ced4da;
    padding-right: calc(1.5em + .75rem);
    background-image: none;
}

.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"],
.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"] {
    border-color: #ced4da;
    padding-right: calc(1.5em + .75rem);
    background-image: none;
}

/* === LOADING OVERLAY === */
.loading-state {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 5px solid #ddd;
    border-top-color: var(--my-muted-green);
    animation: loading 1s linear infinite;
}

@keyframes loading {
    to {
        transform: rotate(360deg);
    }
}

.tiny_img {
    width: 80px;
}

p.thumbnail_line_1 {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    color: red;
}

p.thumbnail_line_2 {
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    color: var(--my-black);
}

.item-badge {
    top: 0.3rem;
    left: 75%;
    background-color: var(--my-green);
}

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