/* =====================================================
   RESET & GLOBAL
===================================================== */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-image: linear-gradient(
        to bottom,
        rgb(111, 73, 139),
        rgba(75, 70, 70, 0.6)
    );
    background-repeat: no-repeat;
}


/* =====================================================
   MAIN PRODUCT CARD
===================================================== */
.container {
    display: flex;
    max-width: 1200px;
    width: 90%;

    background: white;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


/* =====================================================
   GALLERY SECTION
===================================================== */
.gallery-section {
    flex: 1.2;
    position: relative;

    display: flex;
    align-items: center;

    background: #ffffff;
    overflow: hidden;
}


/* =====================================================
   SLIDER
===================================================== */
.slider {
    position: relative;
    width: 100%;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background-color: #ffffff;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;

    transition: transform 0.4s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;

    object-fit: contain;
    padding: 30px;

    image-rendering: -webkit-optimize-contrast;
}


/* =====================================================
   SMALL IMAGE FIX
===================================================== */
.slide.small-res {
    width: 226px;
    height: auto;

    margin: 0 auto;

    object-fit: scale-down;
    image-rendering: -webkit-optimize-contrast;
}


/* =====================================================
   NAVIGATION ARROWS
===================================================== */
button.prev-btn,
button.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    padding: 12px;
    margin: 0 10px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;

    z-index: 10;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }


/* =====================================================
   CONTENT SECTION
===================================================== */
.content-section {
    flex: 1;
    padding: 40px;
}

.home-btn {
    display: block;
    margin-bottom: 15px;

    text-decoration: none;
    font-size: 0.8rem;
    color: #888;
}

h1 {
    margin-top: 0;
    color: #333;
}

.description {
    color: #555;
    line-height: 1.6;
}

.details ul {
    padding-left: 20px;
    color: #666;
}


/* =====================================================
   MOBILE RESPONSIVENESS
===================================================== */
@media (max-width: 768px) {

    body {
        height: auto;
        padding: 20px 0;
    }

    .container {
        flex-direction: column;
        width: 95%;
    }

    .slider {
        height: 300px;
    }

    .content-section {
        padding: 20px;
    }
}