
:root {
    --red: #be1e2d;
    --verde: #6b9367;
}

        
        body{background-color: rgb(88, 86, 86);}        
        .banner{display: flex; flex-direction: column; width: 100%; justify-content: center; transform: translateY(-10%);}        
        .column{display: flex; flex-direction: column; justify-content: center; align-items: center;}        
        .row{display: flex; flex-direction: row; justify-content: center; align-items: center;}        
        img{box-shadow: 5px 5px 14px 0px black; border-radius: 50%; width: 15%; border: 1px solid black;}        
        .bandera{ box-shadow: 5px 5px 14px 0px black; width: 30%; height: 200px;}    
         .banderaBody{ width: 30%; height: 60px;}       
        .cardGrend{background-color: var(--verde);}        
        .cardWhite{background-color: white;}        
        .cardRed{background-color: var(--red);}        

        /* NUEVAS SECCIONES */
        .categorias-section, .contenido-section {
          box-shadow: 5px 10px 14px 0px black;
            margin-top: 40px;
            padding: 20px;
            background: #ffffff22;
            border-radius: 12px;
            width: 80%;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            backdrop-filter: blur(3px);
        }

        .categorias-container {
            /* margin-top: 20px; */
            /* background: #fff; */
            display: flex;
            justify-content: center;
            padding: 20px;
            border-radius: 12px;
            min-height: 120px;
        }

        footer{
            margin-top: 50px;
            text-align: center;
            padding: 20px;
            color: white;
            opacity: 0.8;
        }
        .cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
    margin: 5px;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card-row{
      display: flex;
    flex-direction: row;
    align-items: stretch
}

.card-column{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch
}

.card-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header{
width: -webkit-fill-available;
    display: flex;
    flex-direction: row;
    padding: 20px;
    top: 0px;
    z-index: 300;
    border-radius: 12px;
    position: fixed;
    margin-top: 10px;
    align-items: center;
    justify-content: flex-end;
}
.header > * {
  margin-left: 20px;
}

.badge{
  position: absolute;
 transform: translate(40px, -30px);
  background-color: var(--red);
  border-radius: 50%;
  border: 1px solid black;
  color: black;
  padding: 5px;
  width: 20px;
  height: 20px;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--red);
}

.title{
 text-shadow: 1px 1px 2px black;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

.section-title {
  text-shadow: 1px 1px 2px black;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: var(--red);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
    color: var(--verde);
}

.product-desc {
  text-align: start;
  padding-left: 10px;
  color: black;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}

.btn-agregar {
  background: #1a73e8;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-agregar:hover {
  background: #155bb5;
}

/* Botón base */
.btn {
  margin:3px;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
  display: inline-block;
}

.btn2 {

  padding: 5px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}
.tuPedido{color: black;}
/* Botón principal */
.btn-primary {
border: 1px solid black;
    background: #6b936761;
    color: rgb(190 30 45);
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
  background: #7ead7a;
  box-shadow: 0 6px 14px rgba(26, 115, 232, 0.4);
  transform: translateY(-2px);
}

/* Botón secundario */
.btn-secondary {
  background: #6c757d;
  color: white;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: #5b6369;
  transform: translateY(-2px);
}

/* Botón bordeado (outline) */
.btn-outline {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.btn-outline:hover {
  background: #1a73e8;
  color: white;
}

/* Botón deshabilitado */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid var(--verde);
    border-right-color: white;
    border-top-color: var(--red);
    /* border-left-color: var(--red); */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none; /* oculto por defecto */
}

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

.dots {
  flex: 1;                   /* se estira */
  border-bottom: 3px dotted var(--red);
  margin: 0 10px;
}

.h3absolute{
    position: absolute;
}

body {
  background-image: url('./dalmasettoBg.png'); /* ruta de la imagen */
  /*background-repeat: repeat; /* Se repite en X y Y */
  /*background-size: auto; /* Mantiene el tamaño original de la imagen */
  /*background-position: top left; /* (opcional) */
  background-size: cover;
background-repeat: no-repeat;

}

.footer{
  color: black;
}
