:root {
    --bg: linear-gradient(to right, #faa6c0, #b7d5e5);
    --card: #ffffff;
    --text: #333;
    --muted: #999;
    --accent: #3f36f3;
    --accent-hover: #5a54d4;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: var(--text);
}

h2 {
    margin: 0 0 1.5rem 0;
    width: 100%;
    font-size: 1.5rem;
    color: var(--text);
}

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

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto 15px;
    background: var(--card);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.header-logo{
    display: flex;
    align-items: center;
}

header p {
    text-align: center;
    margin: 0;
    max-width: 600px;
    color: var(--text);
}

.nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    padding: 10px 20px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav a:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
    text-decoration: none;
}

#search-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

#search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

#search-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.search-btn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: var(--text);
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover,
.search-btn.active {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.card {
    background: var(--card);
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.card-images {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    align-items: center;
    height: 475px;
}

.card-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 6px;
    cursor: pointer;
}

.card-img:hover {
    transform: scale(1.05);
}

.card-img:nth-child(n+2) {
    display: none;
}

.card:hover .card-img:nth-child(-n+4) {
    display: block;
    max-width: 45%;
}

.card-content {
    padding: 0 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text);
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    white-space: pre-line;
}

.prices{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kits-grid .card, 
#adicionais-grid .card {
 padding: 10px;
}

.categorias {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.75rem;
    background: linear-gradient(135deg, #faa6c0, #b7d5e5);
    border-radius: 20px;
    padding: 4px 10px;
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding: 0 0 1rem 0;
}

.button {
    flex: 1;
    min-width: 150px;
    padding: 10px 16px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
}

.contact-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    background-color: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    color: var(--text)
}

.site-footer {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text);
    font-size: 0.9rem;
}

#whatsButton {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background-color: #01883b;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    font-weight: 600;
    z-index: 1000;
    height: 50px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

#whatsButton:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

#whatsButton img {
    height: 35px;
    width: auto;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.swipe-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1002;
}

.close {
    position: absolute;
    top: 50px;
    right: 20px;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}