/* ----------------------------------------------------------------------------- *
 *                               Index Main Styling                              *
 * ----------------------------------------------------------------------------- */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

article {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

article section {
    text-align: left;
    font-size: 20px;
}

article h4 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

article p {
    margin-bottom: 10px;
    font-weight: 300;
}

.price {
    font-size: 36px;
    color: gray;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

button {
    background-color: gray;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

main button:hover {
    background-color: darkgray;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background-color: white;
}

.slider-container {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    justify-content: center;
    align-items: center;
}

.slider img {
    width: 100%;
    cursor: pointer;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border: none;
    z-index: 2;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    text-align: center;
    margin-top: 0px;
    padding-bottom: 5px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 5px;
    background-color: lightgray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active-dot {
    background-color: var(--primary-color);
}

.search-hidden {
    display: none;
}

.button-color-added {
    background-color: rgb(43, 43, 43);
    color: rgb(150, 150, 150);
}

main button.button-color-added:hover {
    background-color: rgb(63, 63, 63);
}