html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    color: #222;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: linear-gradient(90deg, #ff6fae, #ff6fae);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.bottom-nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    height: 60px;
}

.bottom-nav a {
    flex: 1;
    font-size: 12px;
    text-align: center;
    font-weight: bold;
    color: #444;
    text-decoration: none;
    line-height: 60px;
}

.top-nav {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#product-list {
    padding-top: 130px;
}

.img-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.img-btn img {
    width: 120px;
    height: auto;
    border-radius: 8px;
}

.card {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.card img {
    width: 100px;
    height: 125px;
    object-fit: cover;
    border-radius: 8px;
}

.card-category {
    font-size: 12px;
    color: #888;
}

.card-title {
    font-size: 15px;
    font-weight: bold;
    padding-top: 5px
}

.price {
    font-size: 15px;
    color: #d60000;
    font-weight: bold;
    padding-top: 5px
}

.status {
    font-size: 15px;
    font-weight: bold;
    color: #555;
    padding-top: 5px
}

.status.blink {
    animation: blink 1s infinite;
    color: #ff0000;
}

@keyframes blink {
    0% {
        color: #ff0000;
    }

    50% {
        color: #000;
    }

    100% {
        color: #ff0000;
    }
}

.cart-controls {
    padding-top: 5px
}

.cart-controls .count {
    min-width: 20px;
    text-align: center;
    font-weight: bold;
}

.cart-controls button {
    width: 30px;
    height: 30px;
    padding: 4px 8px;
    background: #fff;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.15s ease;
}

.cart-controls button:active {
    background: #000;
    color: #fff;
}

.bottom-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ff6fae;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    height: 60px;
    box-sizing: border-box;
}

.bottom-cart button {
    background: #fff;
    color: #ff6fae;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
}

.bottom-cart button:hover {
    background: #f5f5f5;
}

.site-footer {
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    background: #fff;
    margin-top: 10px;
    border-top: 1px solid #eee;
}

.site-footer .footer-info {
    font-size: 12px;
    color: #777;
    line-height: 1.6;
}

.site-footer .footer-menu a:link,
.site-footer .footer-menu a:visited,
.site-footer .footer-menu a:active {
    color: #777;
    text-decoration: none;
}

.popup-bankguide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-webbroswer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup {
    background: #fff;
    width: 500px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.popup h2 {
    margin-top: 0;
    font-size: 18px;
}

.popup button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background: #0078ff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.close-btn:hover {
    color: #ff6fae;
}