* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(-45deg, #009b3a, #fedf00, #002776);
    background-size: 400% 400%;
    animation: brasilGradient 8s ease infinite;
    min-height: 100vh;
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

@keyframes brasilGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.header {
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    padding: .1rem 0;
    position: fixed;
    top: 0;
    border-bottom: 2px solid #009C3B;
    box-shadow: 0 0 10px #009c3b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
    margin: auto;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 .3rem #fedf00);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.cursor-pointer-logo:hover {
    cursor: pointer;
    filter: drop-shadow(0 0 .1rem #fedf00);
    transform: translateY(-5px);
}

.cart-count {
    color: #000000;
    background-color: #ffffff;
    border-radius: .5rem;
    margin: auto 0;
    padding: .1rem .5rem;
    font-size: .8rem;
    font-weight: 600;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    border: 1px solid #ffffff;
    box-shadow: 0 0 5px #ffdd00;
    display: flex;
}

.cart-button {
    color: white;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #ffffff0d;
    border: 1px solid #ffe203;
    border-radius: 100px;
    align-items: center;
    gap: .40rem;
    padding: .6rem 1.2rem;
    font-size: .9rem;
    font-weight: 600;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
}

.cart-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

button {
    cursor: pointer;
    font-family: sans-serif;
}

.cart-button:hover {
    filter: drop-shadow(0 0 .2rem #ffffff);
    transform: translateY(-4px);
}

.Adm-Button {
    background: #009c3c31;
    border: 1px solid #009C3B;
    border-radius: 20px;
    align-items: center;
    gap: .50rem;
    padding: 0.5rem;
    margin: 0.5rem;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
}

.Adm-Button:hover {
    filter: drop-shadow(0 0 .1rem #009C3B);
    transform: translateY(-3px);
}

.adm-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%) drop-shadow(0 0 .1rem #ffffffbb);
}

.instagram-link {
    display: flex;
    align-items: center;
}

.instagram-icon {
    width: 1.8rem;
    height: 1.8rem;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%) drop-shadow(0 0 .4rem #ffffff);
}

.hero {
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
    padding: 12rem 1.5rem 8rem;
}

.text-pasion {
    color: #ffdf00;
}

.highlight {
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
    font-style: italic;
    display: block;
}

.hero-title {
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Black', sans-serif;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
    font-style: italic;
}

.hero-description {
    text-transform: uppercase;
    color: #000000;
    text-shadow: 0 0 10px #fcfcfcb4;
    max-width: 650px;
    margin: 50px auto 0;
    font-size: 1.3rem;
    font-weight: 650;
    letter-spacing: 0.5px;
    font-family: 'Arial', sans-serif;
    font-style: italic;
}

.section-gallery {
    padding-bottom: 8rem;
    padding-top: 100px;
    background-color: rgba(0, 0, 0, 0.70);
    box-shadow: 0px 0px 10px black;
    max-width: 1500px;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ffdf00;
    padding-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
    color: white;
}

.gallery-title-highlight {
    color: #ffdf00;
    text-shadow: 0 0 5px #ffdf00;
    font-style: italic;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding-bottom: 8rem;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

.carrito-modal-overlay {
    z-index: 100;
    background: #000000d9;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    display: flex;
    position: fixed;
    inset: 0;
}

.carrito-modal-content {
    background: #ffdd00;
    border: 1px solid #ffdd00;
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0px 50px -12px rgb(255, 255, 255);
}

.carrito-modal-close {
    color: black;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255);
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-weight: 600;
}

.carrito-modal-title {
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 900;
    color: black;
    font-family: Arial, Helvetica, sans-serif;
}

.empty-cart {
    text-align: center;
    color: #474747;
    padding: 3rem 0;
}

.empty-cart-text {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.container-hidden, .admin-overlay {
    background: #000000d9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 100;
    position: fixed;
    inset: 0;
}

.card, .adm-content-overlay {
    background-color: #000000bb;
    width: 100%;
    max-width: 550px;
    border-radius: 9px;
    padding: 2.5rem;
    color: white;
    position: relative;
}

.input-group input, .albname, .date, .photo-price-input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #fff;
    margin-bottom: 10px;
}

.btn-primary, .btn-secondary, .Submit {
    padding: 0.6rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.album-card {
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #ffffff14;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.album-card:hover {
    border-color: #ffdd00;
    transform: translateY(-5px);
}

.album-cover-container {
    aspect-ratio: 16/9;
    background: #111;
    position: relative;
    overflow: hidden;
}

.album-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.album-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
}

.album-info {
    padding: 1rem;
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    width: 100%;
}

.photo-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.85);
}

.photo-price {
    color: #ffdf00;
    font-weight: 900;
    font-size: 1.1rem;
}

.btn-select {
    background: #009c3b;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
}

.btn-select.selected {
    background: #fedf00;
    color: #000;
}

/* Botón flotante para eliminar álbumes */
.delete-album-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.delete-album-btn:hover {
    background-color: rgb(239, 68, 68);
    transform: scale(1.1);
}

.cart-item-list {
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #000;
}

.cart-total {
    margin-top: 1rem;
    text-align: right;
    font-size: 1.2rem;
    color: #000;
    border-top: 2px solid #000;
    padding-top: 0.5rem;
}
.btn-secondary-back {
    padding: .6rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}
/* Botón para eliminar fotos individualmente dentro del modal del carrito */
.cart-remove-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cart-remove-btn:hover {
    background-color: #cc0000;
    transform: scale(1.1);
}