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

body {
    background: #f8f9fa;
    font-family: "Pretendard", "Noto Sans KR", Arial, sans-serif;
    color: #111827;
}

/* =========================
   PAGE
========================= */

.shop-detail-page {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 30px;
}

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

.shop-detail-header {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

.back-btn:hover {
    background: #f3f4f6;
}

/* =========================
   CONTENT
========================= */

.shop-detail-container {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 520px 1fr;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .06);
}

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

.shop-image-section {
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.shop-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shop-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

/* =========================
   INFO
========================= */

.shop-info-section {
    padding: 55px 50px;
    display: flex;
    flex-direction: column;
}

.shop-category span {
    display: inline-block;
    padding: 6px 14px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.shop-title {
    margin-top: 25px;
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1px;
    word-break: keep-all;
    color: #111827;
}

/* =========================
   PRICE
========================= */

.shop-price-area {
    margin-top: 35px;
}

.shop-price {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
}

.shop-usd {
    margin-top: 8px;
    font-size: 14px;
    color: #6b7280;
}

.shop-divider {
    height: 1px;
    margin: 40px 0;
    background: #e5e7eb;
}

/* =========================
   DESCRIPTION
========================= */

.shop-description h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color:#111827;
}

.shop-description p {
    font-size: 16px;
    line-height: 1.9;
    color:#111827;
    white-space: pre-line;
    word-break: break-word;
}

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

.shop-buy-area {
    margin-top: auto;
    padding-top: 40px;
}

.cart-button {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.cart-button:hover {
    background: #2563eb;
}

/* =========================
   TABLET
========================= */

@media(max-width:1024px) {

    .shop-detail-page {
        margin: 60px auto;
        padding: 0 24px;
    }

    .shop-detail-container {
        grid-template-columns: 1fr;
    }

    .shop-image-section {
        padding: 40px;
    }

    .shop-image {
        max-width: 360px;
    }

    .shop-info-section {
        padding: 40px;
    }

    .shop-title {
        font-size: 34px;
    }

    .shop-price {
        font-size: 32px;
    }
}

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

@media(max-width:767px) {

    body {
        background: #fff;
    }

    .shop-detail-page {
        margin: 25px auto 50px;
        padding: 0 16px;
    }

    .shop-detail-header {
        margin-bottom: 20px;
    }

    .back-btn {
        padding: 9px 14px;
        font-size: 13px;
    }

    .shop-detail-container {
        display: block;
        border-radius: 18px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    }

    .shop-image-section {
        padding: 35px 20px;
    }

    .shop-image {
        max-width: 260px;
    }

    .shop-info-section {
        padding: 28px 22px 30px;
    }

    .shop-category span {
        padding: 5px 12px;
        font-size: 12px;
    }

    .shop-title {
        margin-top: 18px;
        font-size: 28px;
        line-height: 1.4;
    }

    .shop-price-area {
        margin-top: 25px;
    }

    .shop-price {
        font-size: 30px;
    }

    .shop-usd {
        font-size: 13px;
    }

    .shop-divider {
        margin: 30px 0;
    }

    .shop-description h3 {
        font-size: 16px;
    }

    .shop-description p {
        font-size: 15px;
        line-height: 1.8;
    }

    .shop-buy-area {
        padding-top: 30px;
    }

    .cart-button {
        height: 52px;
        font-size: 16px;
        border-radius: 10px;
    }
}