html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.h-100 {
    min-height: 100vh!important;
    height: auto!important;
}

wh-max {
    height: 100%;
    width: 100%;
}

html {
  height: 100vh;
  position: relative;
  min-height: 100%;
}

body {
    height: 100vh;
}

.text-justify {
    text-align:justify;
}

.btn-edit-item {
    height: 4rem;
}

/*.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}*/

.order-round {
    border-radius: .5rem 2rem 2rem .5rem !important;
}

@media screen and (max-width: 425px) {
    .logo {
        height: 150px ;
        text-align: center;
    }

    
}

.desaturate {
    filter: grayscale(100%);
}

.btn-clean {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.confirm-delete-popup {
    --bs-popover-border-color: #2B4570;
}

.popover-header {
    margin-top: 0;
}

.img-logo {
    max-width:100px;
}

@media (min-width: 769px) {
    .img-logo {
        max-width: 130px;
    }
}

.backdrop {
    width: 100dvw;
    height: 100dvh;
    position: absolute;
    z-index: -10;
}

.announcement-backdrop {
    background-color: azure;
}

.announcement-container {
    min-height: 100dvh;
    display:flex;
    flex-direction:column;
}

.announcement {
    background-image: url("../media/images/parchment.jpg");
    background-position: center;
    background-repeat:no-repeat;
    background-size:cover;
    padding: 2rem;
    flex-grow: 1;
}

.text {
    font-size: 1.2rem;
    color: black;
    max-width: 72ch;
}

@media (min-width: 1470px){
    .text {
        font-size:1.5rem;
    }
}

.announcement .img-logo {
    height:100px;
    max-width: none;
}

@media (min-height: 769px) {
    .announcement .img-logo {
        height: 250px;
        width:250px;
    }
}

.sale-item-variant {
    color:#D32F2F;
    font-weight: 800;
}

/* Anchor for the overlay */
.sale-item-img-container{
  position: relative;
}

/* The overlay badge */
.sale-item-img-container::after{
  content: "";
  position: absolute;

  /* pick your corner */
  top: -5px;
  right: 20px;

  width: 80px;          /* tweak */
  height: 80px;         /* tweak */
  background: url("/media/images/special-offer.png") no-repeat center / contain;
  pointer-events: none; /* don't block clicks */
  z-index: 2;
}

@media (max-width: 768px){
    #promo-banner {
        padding-top: 45px;
    }
}

@media (min-width: 426px) {
    .sale-item-img-container::after{
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (min-width: 769px) {
    .sale-item-img-container::after{
        top: 20px;
        right: 20px;
        width: 70px;
        height: 70px;
    }
}

/* Optional: ensure the base image is below the badge */
.sale-item-img{
  position: relative;
  z-index: 1;
  display: block;
}
