@charset "UTF-8";

:root {
    --primary-color: #b372ff;
    --card-background: white;
    --text-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --padding: 15px;
    --gap: 20px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    box-sizing: border-box;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
    min-height: 100%;
    scroll-behavior: smooth;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-print-color-adjust: exact;
    background-color: #fff;
    font: 400 15px / 20px LibreFranklin, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    letter-spacing: .16px;
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #666;
}

h1, h2, h3, h4, h5, h6 {
    color: #2d2d2d;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: center;
    font-family: monospace;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

a {
    color: #b372ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus-visible {
    color: #003366;
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid #b372ff;
    outline-offset: 2px;
}

hr {
    border-top: 1px dotted #e0e0e0;
    width: 95%;
    margin: 1.5rem auto;
}

/* ==========================================================================
   Componentes
   ========================================================================== */
/* Imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: attr(width) / attr(height);
}

/* ==========================================================================
   Layout
   ========================================================================== */
   .container, .wrapper, .content {
    max-width: 1200px;
    min-height: 60px;
    margin: 0 auto;
    padding: 0.5rem;
}

main, aside, section {
    margin: 1rem auto;
}

article {
    text-align: left;
}

article h1, h2, h3, h4 {
    margin: 15px auto;
    width: 100%;
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: left;
}

article img {
    max-width: 640px;
    margin: 0.5rem auto;
}

article ul {
    text-align: left;
    margin: 0.5rem auto;
    padding-left: 1.5rem;
}

article ul > li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    list-style-position: inside;
    list-style-type: square;
}


/* Formulários (Login, Registro, Upload) */
form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-weight: 500;
    color: #2c3e50;
}

form input, form select, form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #3498db;
    outline: none;
}

form button {
    background-color: #3498db;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #2980b9;
}

.error, .message {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message {
    background-color: #d4edda;
    color: #155724;
}


#logo {
    width: 100%;
    height: auto;
    max-width: 150px;
    min-height: 45px;
}




/* Breadcrumb */
.breadcrumb-container {
    min-height: 2.5rem;
    max-width: 1200px;
    margin: 1rem auto;
}

.breadcrumb {
    padding: 0.5rem 1rem;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: #2d2d2d;
    background-color: #f5f5f5;
    border-radius: 4px;
}

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

.breadcrumb li + li::before {
    content: "›";
    margin: 0 0.25rem;
    color: #666;
    font-size: 0.75rem;
}

.breadcrumb a {
    color: #1abc9c;
}

.breadcrumb span[aria-current="page"] {
    color: #2d2d2d;
    font-weight: 500;
}

/* Navegação */
header {
    min-height: 80px;
    background: #fff;
    padding: 0.5rem 0;
}

.topleft {
    width: 60%;
    min-height: 60px
    display: inline-block;
    float: left;
    text-align: left;
}

.topright {
    width: 40%;
    min-height: 60px
    display: inline-block;
    float: right;
    text-align: right;
}

.primary-navigation {
    display: block;
}


.primary-navigation ul {
    position: relative;
    top: 10%;
    width: 100%;
    margin-top: 6.5rem;
    text-align: center;
}

.primary-navigation ul>li {
    width: 80%;
    background: #f9f9f9;
    margin: 15px auto;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: center;
}


/* Estilo para a div de busca */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 90px auto;
    max-width: 600px;
    position: relative;
}

/* Estilo para o campo de texto */
.search-input {
    width: 100%;
    padding: 12px 40px 12px 20px; /* Espaço para o ícone de lupa */
    font-size: 16px;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao focar no campo de texto */
.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

/* Estilo para o botão */
.search-button {
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    margin: 15px auto;
    text-align: center;
    transition: background-color 0.3s ease;
}

/* Efeito ao passar o mouse sobre o botão */
.search-button:hover {
    background-color: #0056b3;
}

/* Media query para telas menores */
@media (max-width: 768px) {
    .search-container {
        max-width: 90%;
    }

    .search-input {
        padding: 10px 35px 10px 15px;
        font-size: 14px;
    }

    .search-button {
        padding: 10px 15px;
        font-size: 14px;
        margin-left: -45px;
    }
}



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #fff;
    z-index: 1000;
    overflow-x: hidden;
    transition: width 0.3s ease;
    visibility: hidden;
}

.overlay.open {
    width: 75%;
    visibility: visible;
}

.close-overlay {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    display: none;
}

.close-overlay.visible {
    display: block;
}

.icons-container {
    padding: 0.1rem;
}

.icon {
    font-size: 1.5rem;
    margin: 0 1rem;
    cursor: pointer;
}

@media (min-width: 8200px) {
    .overlay {
        position: static;
        width: 100%;
        height: auto;
        visibility: visible;
        background: none;
        transition: none;
    }

    .close-overlay {
        display: none;
    }
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap);
    padding: var(--padding);
}

.product-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px var(--shadow-color);
    padding: var(--padding);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin: 10px 0;
}

.product-card p {
    color: var(--text-color);
    font-size: 1em;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}


/* Formulário de Produto */
.product-form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.upload-area {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

.upload-area:hover {
    border-color: #3498db;
}

.upload-area p {
    color: #666;
}

.preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.preview-item, .product-image {
    position: relative;
    width: 150px;
    height: 150px;
}

.preview-item img, .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.preview-item .remove, .product-image .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.preview-item .remove:hover, .product-image .remove:hover {
    background-color: #c0392b;
}

/* Detalhes do Produto */
.product-details {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.product-details p {
    margin-bottom: 10px;
}

.product-details a {
    color: #3498db;
    text-decoration: none;
}

.product-details a:hover {
    text-decoration: underline;
}

.product-details .video-short {
    margin: 0 auto;
    text-align: center;
}

.product-details .video-short iframe {
    border-radius: 8px;
}

/* Galeria de Imagens do Produto */
.product-gallery {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
    text-align: center;
}

.main-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-slider {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.slider-button {
    background: #b372ff;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-button.prev {
    left: 0;
}

.slider-button.next {
    right: 0;
}

.slider-button:hover {
    background-color: #b372ff;
}

.thumbnails {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 80%;
}

.thumbnails img {
    width: 60px;
    height: 50px;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 4px;
}

.thumbnails img:hover,
.thumbnails img.active {
    opacity: 1;
    transform: scale(1.1);
    border: 2px solid #b372ff;
}

.bt {
    width: 100%;
    display: flex;
}

.bt-buy {
text-decoration: none;
    margin: 10px auto;
    width: 100%;
    max-width: 300px;
    text-align: center;
    display: inline-block;
    align-items: center;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
}

.bt-buy:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.bt-buy span {
    margin-left: 10px;
    font-size: 22px;
    transition: transform 0.3s ease-in-out;
}

.bt-buy:hover span {
    transform: translateX(5px);
}


.bt-more {
  display: inline-block;
  background: #ff6a88;
  color: #fff;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 40px;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bt-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


.info {
    display: block;
    width: 100%;
    margin: 5px auto;
    text-align: center;
    color: #999;
}

.price {
    font-size: 22px;
    color: #2d2d2d;
}


@media (max-width: 600px) {
    .bt-buy {
        padding: 15px 20px;
        font-size: 24px;
    }
}

/* Produtos Relacionados */
.related-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.related-product {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 200px;
    text-align: center;
}

.related-product a {
    text-decoration: none;
    color: inherit;
}

.related-product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.related-product h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-product p {
    font-size: 0.9rem;
    color: #666;
}

/* Edição de Imagens */
.edit-form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.edit-form input, .edit-form select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


/* Estilos para a paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 12px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: linear-gradient(135deg, #2980b9, #1a5276);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Botões gerais */
button {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}




.page-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.page-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-content p strong {
    color: #333;
    font-weight: 600;
}

.page-content div {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin-top: 10px;
}

.page-content div strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

@media (max-width: 768px) {

    .container {
        padding: 8px;
    }

    .page-content {
        padding: 15px;
    }

    .page-content p {
        font-size: 1rem;
    }

    .page-content div {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {

    .page-content {
        padding: 10px;
    }
}







/* Footer */
footer {
    background-color: #fff;
    color: #ecf0f1;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Footer */
.footer {
    background: #fff;
    color: #666;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-disclamer {
    display: block;
    width: 100%;
    height: auto;
    margin: 25px auto;
    color: #ccc;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav ul li>span {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

.footer-nav ul li a {
    color: #666;
    font-size: 1rem;
}

.footer-nav ul li a:hover, .footer-nav ul li a:focus-visible {
    color: #1abc9c;
}


.copyright, .disclaimer {
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
    color: #b0b0b0;
    margin-top: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    main {
        padding: 15px;
    }

    nav {
        padding: 10px;
    }

    nav a {
        margin-right: 10px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    form {
        max-width: 100%;
    }

    .product-images div, .preview-item, .product-image {
        width: 120px;
        height: 120px;
    }

    .related-product {
        width: 150px;
    }

    .related-product img {
        height: 120px;
    }

    .thumbnails img {
        width: 50px;
        height: 40px;
    }

    .slider-button {
        font-size: 20px;
        padding: 5px 10px;
    }
}

@media (min-width: 768px) {
    .product-gallery {
        display: block;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
    }

    .thumbnails {
        justify-content: center;
    }

    .slider-button {
        font-size: 30px;
        padding: 8px 15px;
    }

    .thumbnails img {
        width: 90px;
        height: 80px;
    }
}