/* =========================================
   URG - PRODUCT PAGES
   Unik Gåva
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f8f6f2;
    color: #333;
    line-height: 1.6;
}


/* =========================================
   PRODUCT HEADER
========================================= */

.product-header {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 6%;

    background: #1f3a2d;

    border-bottom: 1px solid rgba(255,255,255,.08);

    position: relative;
    z-index: 1000;
}


/* =========================================
   BRAND
========================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-test {
    width: 62px;
    height: 62px;

    object-fit: cover;

    border-radius: 50%;
}

.brand h1 {
    color: #d4af37;

    font-family: 'Playfair Display', serif;

    font-size: 34px;

    line-height: 1;
}

.brand p {
    color: white;

    font-size: 13px;

    margin-top: 5px;
}


/* =========================================
   NAVIGATION
========================================= */

.product-header nav {
    display: flex;

    align-items: center;

    gap: 28px;
}

.product-header nav a {
    color: white;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    transition: color .3s ease;
}

.product-header nav a:hover {
    color: #d4af37;
}


/* =========================================
   MAIN PRODUCT
========================================= */

.product-container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 80px 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 80px;
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.product-image {
    flex: 1;

    display: flex;

    justify-content: center;
}

.product-image img {
    width: 440px;

    max-width: 100%;

    height: auto;

    display: block;

    border-radius: 22px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.12);
}


/* =========================================
   PRODUCT DETAILS
========================================= */

.product-details {
    flex: 1;

    max-width: 470px;
}

.product-details h2 {
    color: #1f3a2d;

    font-family: 'Playfair Display', serif;

    font-size: 40px;

    line-height: 1.2;

    margin-bottom: 18px;
}


/* Price */

.price {
    color: #8b6f47;

    font-size: 30px;

    font-weight: 600;

    margin-bottom: 22px;
}


/* Description */

.product-details p {
    color: #555;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* =========================================
   PRODUCT INFORMATION
========================================= */

.product-details h3 {
    color: #1f3a2d;

    font-size: 22px;

    margin-bottom: 18px;
}

.product-details ul {
    list-style: none;

    margin-bottom: 30px;
}

.product-details li {
    color: #555;

    padding: 6px 0;

    font-size: 15px;
}


/* =========================================
   DESIGN BUTTON
========================================= */

.product-details button {
    background: #8b6f47;

    color: white;

    border: none;

    padding: 14px 42px;

    border-radius: 30px;

    font-family: 'Montserrat', sans-serif;

    font-size: 16px;

    cursor: pointer;

    transition:
        background .3s ease,
        transform .2s ease;
}

.product-details button:hover {
    background: #735b3c;

    transform: translateY(-2px);
}


/* =========================================
   RELATED PRODUCTS
========================================= */

.related-products {
    max-width: 1200px;

    margin: 20px auto 80px;

    padding: 0 30px;

    text-align: center;
}
.related-products h2 {
    color: #1f3a2d;

    font-family: 'Playfair Display', serif;

    font-size: 32px;

    margin-bottom: 40px;
}

.related-grid {
    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;
}


/* =========================================
   SMALL PRODUCT CARD
========================================= */

.small-card {
    width: 230px;

    background: white;

    padding: 18px;

    border-radius: 18px;

    box-shadow:
        0 8px 22px rgba(0,0,0,.08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.small-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 14px 30px rgba(0,0,0,.12);
}

.small-card img {
    width: 100%;

    height: 200px;

    object-fit: cover;

    display: block;

    border-radius: 12px;
}

.small-card h3 {
    color: #333;

    font-size: 18px;

    margin: 15px 0 10px;
}

.small-card a {
    color: #8b6f47;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: color .3s ease;
}

.small-card a:hover {
    color: #1f3a2d;
}


/* =========================================
   FOOTER
========================================= */

footer {
    background: #1f3a2d;

    color: white;

    text-align: center;

    padding: 40px 20px;

    margin-top: 60px;
}

footer h3 {
    color: #d4af37;

    font-family: 'Playfair Display', serif;

    font-size: 25px;

    margin-bottom: 10px;
}

footer p {
    margin: 8px;

    font-size: 14px;

    color: #f5f1e8;
}

footer .copyright {
    margin-top: 20px;

    opacity: .75;

    font-size: 13px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    /* Header */

    .product-header {
        min-height: auto;

        flex-direction: column;

        gap: 18px;

        padding: 18px 20px;

        text-align: center;
    }


    .brand {
        justify-content: center;
    }


    .logo-test {
        width: 58px;
        height: 58px;
    }


    .brand h1 {
        font-size: 30px;
    }


    .brand p {
        font-size: 12px;
    }


    /* Navigation */

    .product-header nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 12px 20px;
    }


    .product-header nav a {
        font-size: 14px;
    }


    /* Product */

    .product-container {
        flex-direction: column;

        gap: 40px;

        padding: 50px 20px;

        text-align: center;
    }


    .product-image {
        width: 100%;
    }


    .product-image img {
        width: 310px;

        max-width: 100%;

        border-radius: 18px;
    }


    .product-details {
        width: 100%;

        max-width: 500px;
    }


    .product-details h2 {
        font-size: 31px;
    }


    .price {
        font-size: 27px;
    }


    .product-details p {
        font-size: 15px;
    }


    .product-details h3 {
        font-size: 21px;
    }


    .product-details ul {
        text-align: left;

        display: inline-block;
    }


    .product-details button {
        width: 100%;

        max-width: 320px;
    }


    /* Related */

    .related-products {
        margin-bottom: 60px;

        padding: 0 20px;
    }


    .related-products h2 {
        font-size: 28px;

        margin-bottom: 30px;
    }


    .related-grid {
        flex-direction: column;

        align-items: center;

        gap: 20px;
    }


    .small-card {
        width: 100%;

        max-width: 320px;
    }


    .small-card img {
        height: 220px;
    }


    /* Footer */

    footer {
        margin-top: 40px;

        padding: 35px 15px;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .product-container {
        padding: 40px 15px;
    }


    .product-details h2 {
        font-size: 28px;
    }


    .product-image img {
        width: 280px;
    }


    .product-details button {
        max-width: 100%;
    }

}