/* ============================= product (start) ============================= */

/* Header Styles */
header {
    background: linear-gradient(90deg, #f8e1e9, #f5f5f5);
    color: #333;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.header-title img {
    height: 92px;
    width: 278px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d68aa6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
}

/* Product Grid Styles */
.product-container {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-header h1 {
    font-family: "Cormorant", serif;
    font-size: 32px;
    color: #d68aa6;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    background: #f7eded;
    border-radius: 8px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-name {
    margin: 0 0 15px 0;
    color: #333;
    flex-grow: 1;
}

.shop-now-btn {
    background: #d68aa6;
    color: #fff;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-top: auto;
    width: fit-content;
    align-self: center;
}

.shop-now-btn:hover {
    background: transparent;
    color: #d68aa6;
    border-color: #d68aa6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 138, 166, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #d68aa6;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #c07a94;
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .shop-now-btn {
        padding: 10px 25px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .shop-now-btn {
        padding: 8px 20px;
        font-size: 0.85em;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, #f8e1e9, #f5f5f5);
    color: #333;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-section h3 {
    font-size: 20px;
    color: #d68aa6;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d68aa6;
}

.newsletter form {
    display: flex;
    gap: 10px;
}

.newsletter input[type="email"] {
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 250px;
}

.newsletter button {
    padding: 10px 20px;
    background: #d68aa6;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #c07a94;
}

.social-links a {
    color: #555;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #d68aa6;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }

    .header-title img {
        height: 40px;
        max-width: 150px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #f8e1e9;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
    }

    .hamburger {
        display: block;
    }

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

    .product-header h1 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter input[type="email"] {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .social-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }

    .header-title img {
        height: 65px;
        max-width: 195px;
    }

    nav ul {
        top: 50px;
        padding: 15px;
    }

    nav ul li a {
        font-size: 16px;
    }

    .product-container {
        margin: 70px auto 30px;
        padding: 10px;
    }

    .product-header h1 {
        font-size: 24px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        bottom: 35px;
        right: 28px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* ============================= product (end) ============================= */