/* Define a fonte Inter como padrão e suaviza as bordas */
body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Nova fonte para a marca */
.font-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.1em;
}
/* Custom scrollbar for cart for a cleaner look */
#cart-content::-webkit-scrollbar {
    width: 6px;
}
#cart-content::-webkit-scrollbar-thumb {
    background: #CFBFB6;
    border-radius: 10px;
}
/* Garantindo que a classe arbitrária aspect-[3/4] funcione */
.aspect-\[3\/4\] {
    aspect-ratio: 3 / 4;
}
/* Classe para esconder carrossel - Usada para simular abas */
.details-image-tab {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.details-image-tab.active {
    display: block;
    opacity: 1;
}
.option-button {
    transition: all 0.2s;
    border-width: 2px;
    border-color: #CFBFB6; /* sra-chica-secondary */
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(0,0,0,0); /* Resetting shadow base */
    /* Adicionado um identificador data-type e data-value para manipulação direta */
}
/* Estilos padrão para botões não selecionados */
.option-button:not(.selected) {
    background-color: #FFFFFF;
    color: #1F1F1F;
}
.option-button.selected {
    border-color: #A3360D; /* sra-chica-primary */
    background-color: #A3360D;
    color: #FFFFFF;
    font-weight: 700;
}
/* Aplicar hover aos botões não selecionados (com sombra sutil) */
.option-button:hover:not(.selected) {
     box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
     background-color: #f7f7f7;
}
/* Estilo para esconder barra de rolagem horizontal em categorias no mobile, mantendo a funcionalidade de rolagem */
.category-scroll-container::-webkit-scrollbar {
    display: none;
}
.category-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
/* Estilos do Chat Gemini */
#chat-messages {
    scrollbar-width: thin;
    scrollbar-color: #CFBFB6 #FFFFFF;
}
#chat-messages::-webkit-scrollbar {
    width: 6px;
}
#chat-messages::-webkit-scrollbar-thumb {
    background: #CFBFB6;
    border-radius: 10px;
}
.chat-message {
    animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-typing {
    display: inline-block;
}
.chat-typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #A3360D;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}
.chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* Swiper arrow styling */
.swiper-button-next, .swiper-button-prev {
    color: #A3360D;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Drift-zoom pane styling */
.zoom-pane {
  width: 400px;
  height: 400px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  position: absolute;
  top: 0;
  left: 105%;
  background-color: white;
  z-index: 100;
  display: none; /* Hidden by default */
}
.drift-open .zoom-pane {
  display: block; /* Shown when zoom is active */
}

/* Carousel Buttons */
.carousel-button {
    opacity: 0;
    transition: opacity 0.3s;
}

#details-main-image-container:hover .carousel-button {
    opacity: 1;
}