/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    background-color: #FFF8F8;
    color: #333333;
    line-height: 1.6;
}

/* Navigation */
header {
    background-color: #FFFFFF;
    padding: 20px 8%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    color: #7E9F7B;
    font-size: 30px;
    letter-spacing: 3px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 14px;
}

nav ul li a:hover {
    color: #7E9F7B;
}

/* Home Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #F9DEE3;
}

.hero h2 {
    font-size: 36px;
    color: #4F6B4E;
    margin-bottom: 15px;
}

.hero p {
    margin-bottom: 25px;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #7E9F7B;
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
}

.button:hover {
    background-color: #5F8060;
}

/* General Sections */
section:not(.hero) {
    padding: 60px 8%;
}

section h2 {
    text-align: center;
    color: #7E9F7B;
    margin-bottom: 25px;
}

#about p,
#contact p,
#gacha p {
    max-width: 750px;
    margin: 0 auto 15px;
    text-align: center;
}

/* Product Collection */

.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.product-card {
    background-color: #FFFFFF;
    width: 230px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.product-image {
    position: relative;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
}

.product-card h3 {
    margin-top: 12px;
    font-size: 16px;
}

.product-card p {
    color: #7E9F7B;
    font-weight: bold;
    margin-top: 5px;
}

/* Stock */
.product-card .stock-info {
    font-size: 13px;
    font-weight: 600;
    color: #5B8C5A;
}

.product-card .stock-info.stock-low {
    color: #D98324;
}

.product-card .stock-info.stock-out {
    color: #C0392B;
}

.product-card.sold-out img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.badge-soldout {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #C0392B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-card .button-disabled,
.product-card .button-disabled:hover {
    background-color: #BDBDBD;
    cursor: not-allowed;
}

/* Contact Links */
#contact a {
    color: #7E9F7B;
}

#contact a.button {
    color: #FFFFFF;
}

/* Footer */
footer {
    background-color: #4F6B4E;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        justify-content: center;
        gap: 15px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .product-card {
        width: 100%;
        max-width: 300px;
    }

    .section-box {
        padding: 30px 20px;
    }
}

/* Section Box (padding for Contact Us & Lucky Draw) */
.section-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 45px 40px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Contact Form */
#contact form {
    max-width: 500px;
    margin: 25px auto;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

#contact form input,
#contact form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font: inherit;
}

#contact form button {
    cursor: pointer;
    border: none;
    font: inherit;
    margin-top: 10px;
}

.form-result {
    max-width: 500px;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 6px;
    background-color: #FBE6EA;
    overflow-wrap: anywhere;
}

.page-counter {
    margin-top: 20px;
    font-size: 14px;
}

.product-card .button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 24px;
    background-color: #7E9F7B;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
}

.product-card .button:hover {
    background-color: #5F8060;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px auto;
}

.search-container input,
.search-container select {
    padding: 14px 18px;
    border: 2px solid #F2CDD4;
    border-radius: 30px;
    background: #FFFFFF;
    font-size: 15px;
}

.search-container input {
    width: 250px;
}

.search-container select {
    min-width: 180px;
}

.search-container button {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    background: #7E9F7B;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.search-container button:hover {
    background: #5F8060;
}

.product-count {
    margin: 20px auto;
    padding: 14px;
    border-radius: 20px;
    background: #FBE6EA;
    text-align: center;
    font-weight: 600;
}

.no-products {
    text-align: center;
    padding: 20px;
}

/* Gacha / Lucky Draw */
#gacha {
    background-color: #F9DEE3;
}

.gacha-box {
    text-align: center;
    margin-top: 20px;
}

.gacha-chances {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    background: #FBE6EA;
    margin-bottom: 20px;
}

.gacha-button {
    border: none;
    font: inherit;
    font-size: 17px;
    padding: 14px 36px;
    cursor: pointer;
}

.gacha-button:disabled {
    background-color: #BDBDBD;
    cursor: not-allowed;
}

.gacha-result {
    max-width: 450px;
    margin: 0 auto 25px;
    padding: 25px 20px;
    border-radius: 12px;
    animation: pop 0.5s ease;
}

.gacha-result p {
    margin: 0 auto 8px;
}

.gacha-voucher,
.gacha-item {
    background: #FDEFF1;
    border: 2px dashed #7E9F7B;
}

.gacha-nowin,
.gacha-limit {
    background: #F5F5F5;
    border: 2px dashed #BDBDBD;
}

.gacha-title {
    font-weight: bold;
    font-size: 18px;
}

.gacha-prize {
    font-size: 22px;
    font-weight: bold;
    color: #4F6B4E;
}

.gacha-note {
    font-size: 13px;
    color: #777777;
}

.prize-list {
    list-style: none;
    margin: 30px auto 0;
    padding: 0;
    font-size: 14px;
    color: #666666;
}

.prize-list li {
    padding: 4px 0;
}

.prize-list li.prize-out {
    text-decoration: line-through;
    color: #AAAAAA;
}

@keyframes pop {
    0%   { transform: scale(0.6); opacity: 0; }
    70%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

/* About MUSE (elegant) */
#about {
    background-color: #FFFFFF;
}

.about-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.about-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #C98A97;
    margin-bottom: 10px;
}

#about h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    font-size: 40px;
    letter-spacing: 2px;
    color: #4F6B4E;
    margin-bottom: 18px;
}

.about-divider {
    width: 70px;
    height: 2px;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, #F2CDD4, #7E9F7B, #F2CDD4);
}

#about p.about-lead {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 24px;
    color: #7E9F7B;
    margin-bottom: 18px;
}

#about p.about-text {
    max-width: 620px;
    line-height: 2;
    color: #5E5E5E;
    margin-bottom: 45px;
}

.about-values {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.about-value {
    flex: 1 1 220px;
    max-width: 260px;
    padding: 30px 22px;
    border: 1px solid #F2CDD4;
    border-radius: 14px;
    background: #FFF8F8;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-value:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(126, 159, 123, 0.18);
}

.value-icon {
    display: block;
    font-size: 24px;
    color: #C98A97;
    margin-bottom: 10px;
}

.about-value h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: normal;
    letter-spacing: 1px;
    color: #4F6B4E;
    margin-bottom: 8px;
}

#about .about-value p {
    font-size: 13px;
    color: #777777;
    margin: 0;
}

@media (max-width: 600px) {
    #about h2 {
        font-size: 30px;
    }
}