﻿.login-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 40px 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.login-sub {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .login-form input[type="text"],
    .login-form input[type="password"] {
        height: 46px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0 14px;
        font-size: 14px;
    }

    .login-form input:focus {
        outline: none;
        border-color: #6f3b1f;
    }

.login-btn {
    margin-top: 10px;
    height: 48px;
    border-radius: 999px;
    border: none;
    background: #3a2316;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

    .login-btn:hover {
        background: #5a2d19;
    }

.login-error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.login-links {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
}

    .login-links a {
        color: #6f3b1f;
        font-weight: 700;
    }

.login-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

.auto-login-check {
    font-size: 14px;
    color: #555;
}
.mall-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 24px;
}

.section-title {
    margin: 32px 0 22px;
    font-size: 28px;
    font-weight: 800;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    overflow: hidden;
    transition: all .2s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    }

.product-image {
    height: 210px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-info {
    padding: 18px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-desc {
    color: #777;
    font-size: 14px;
    line-height: 1.5;
    min-height: 42px;
}

.product-price {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 800;
    color: #5a2d19;
}

.soldout-badge {
    margin-top: 10px;
    display: inline-block;
    background: #222;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
}

.detail-wrap,
.detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 36px;
}

.detail-top {
    align-items: start;
}

.detail-image {
    background: #f3f3f3;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: 360px;
}

    .detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.detail-info h2 {
    font-size: 32px;
    margin: 0 0 16px;
}

.detail-info {
    min-width: 0;
}

.detail-desc {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.detail-price {
    font-size: 30px;
    font-weight: 800;
    color: #5a2d19;
    margin: 24px 0;
}

.detail-bottom {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 36px;
}

.detail-section-title {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
    font-size: 24px;
    font-weight: 900;
}

.detail-description-images {
    max-width: 960px;
    margin: 0 auto;
    color: #444;
    line-height: 1.8;
}

    .detail-description-images img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 0 auto 18px;
    }

    .detail-description-images p {
        margin: 0 0 18px;
    }

.qty-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

    .qty-box input {
        width: 90px;
        height: 42px;
        padding: 0 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

.empty-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 48px;
    text-align: center;
    color: #777;
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .detail-wrap,
    .detail-top {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .detail-bottom {
        padding: 22px;
    }
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
}

    .cart-table th, .cart-table td {
        padding: 16px;
        border-bottom: 1px solid #eee;
        text-align: center;
    }

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .cart-product img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 10px;
    }

.cart-total {
    margin-top: 24px;
    font-size: 22px;
    text-align: right;
}

body {
    margin: 0;
    font-family: 'Malgun Gothic', Arial, sans-serif;
    color: #222;
    background: #fafafa;
}

a {
    color: inherit;
    text-decoration: none;
}

.mall-header {
    min-height: 68px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.mall-header-inner {
    max-width: 1180px;
    min-height: 68px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mall-logo {
    width: 78px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.mall-logo img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.mall-nav {
    display: flex;
    gap: 28px;
    font-weight: 700;
}

.mall-user {
    display: flex;
    gap: 14px;
    font-size: 14px;
}

.home-hero {
    background: linear-gradient(135deg, #1f130c, #6f3b1f);
    color: #fff;
}

.home-hero-inner {
    max-width: 1180px;
    min-height: 430px;
    margin: 0 auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
}

.hero-kicker {
    color: #e4c49a;
    font-weight: 700;
    margin-bottom: 14px;
}

.home-hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin: 0 0 22px;
}

.home-hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #f0e6dc;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.btn-main,
.btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
}

.btn-main {
    background: #fff;
    color: #3a2316;
}

.btn-sub {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.home-hero .btn-sub {
    color: #fff;
    border-color: rgba(255,255,255,.45);
}

.mall-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 24px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    min-height: 0;
    aspect-ratio: 656 / 436;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    display: block;
    overflow: hidden;
}

    .category-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        display: block;
    }

    .category-card strong {
        display: block;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .category-card span {
        color: #777;
        line-height: 1.5;
    }

.home-category-products {
    padding-top: 24px;
}

.section-heading-row {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

    .section-heading-row .section-title {
        margin: 0 0 8px;
    }

    .section-heading-row p {
        margin: 0;
        color: #6b7280;
        line-height: 1.6;
    }

.home-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.more-link {
    min-width: 64px;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
}

    .more-link:hover {
        border-color: #3a2316;
        color: #3a2316;
    }

.mall-footer {
    background: #1f1f1f;
    color: #fff;
    padding: 34px 24px;
    margin-top: 60px;
}

.mall-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    color: #d1d5db;
    font-size: 13px;
    line-height: 1.7;
}

    .mall-footer-inner strong {
        display: block;
        margin-bottom: 10px;
        color: #fff;
        font-size: 16px;
    }

    .mall-footer-inner p {
        margin: 10px 0 0;
        color: #9ca3af;
    }

.mall-footer-info {
    display: flex;
    gap: 6px 16px;
    flex-wrap: wrap;
}

.mall-footer-links {
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-weight: 800;
}

    .mall-footer-links a {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.legal-document-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 42px 24px;
}

.legal-document {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 34px;
}

    .legal-document h1 {
        margin: 0 0 24px;
        font-size: 28px;
        font-weight: 900;
    }

    .legal-document pre {
        margin: 0;
        color: #374151;
        font: inherit;
        line-height: 1.8;
        white-space: pre-wrap;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

.contact-wrap {
    max-width: 840px;
}

.contact-form {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .mall-header-inner {
        height: auto;
        flex-direction: column;
        gap: 14px;
        padding: 18px 24px;
    }

    .mall-logo {
        width: 72px;
        height: 42px;
    }

    .mall-header {
        height: auto;
    }

    .mall-nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-hero h1 {
        font-size: 36px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .category-card {
        grid-template-columns: none;
    }

        .category-card img {
            width: 100%;
            height: 100%;
        }
}
.checkout-wrap {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 28px;
}

.checkout-form-box,
.checkout-summary {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 30px;
}

    .checkout-form-box h3,
    .checkout-summary h3 {
        margin-top: 0;
    }

.form-row {
    margin-bottom: 16px;
}

    .form-row label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .form-row input {
        width: 100%;
        height: 44px;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 0 12px;
        box-sizing: border-box;
    }

.checkout-submit {
    margin-top: 20px;
    width: 100%;
}

.checkout-copy-check {
    margin: 8px 0 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

    .checkout-copy-check input {
        width: 16px;
        height: 16px;
    }

.summary-item,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.summary-total {
    font-size: 20px;
}

.payment-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.payment-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 32px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

    .payment-row span {
        color: #777;
    }

.payment-button {
    width: 100%;
    margin-top: 24px;
}

.mypage-wrap {
    max-width: 1040px;
}

.mypage-header {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

    .mypage-header h1 {
        margin: 0;
        font-size: 30px;
        font-weight: 900;
    }

.mypage-order-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mypage-order-card,
.mypage-detail-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 22px;
}

.mypage-order-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.mypage-order-date {
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.mypage-order-no {
    display: inline-block;
    margin-bottom: 8px;
    color: #5a2d19;
    font-size: 18px;
    font-weight: 900;
}

.mypage-order-product {
    color: #374151;
    line-height: 1.5;
}

.mypage-order-amount {
    white-space: nowrap;
    font-size: 20px;
    font-weight: 900;
}

.mypage-order-meta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .mypage-order-meta span {
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: #f3f4f6;
        color: #374151;
        display: inline-flex;
        align-items: center;
        font-size: 13px;
        font-weight: 800;
    }

.mypage-detail-box {
    margin-bottom: 18px;
}

    .mypage-detail-box h2 {
        margin: 0 0 16px;
        font-size: 20px;
        font-weight: 900;
    }

.mypage-detail-title {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
}

    .mypage-detail-title strong {
        font-size: 22px;
        color: #5a2d19;
    }

    .mypage-detail-title span {
        color: #6b7280;
        font-size: 14px;
        font-weight: 700;
    }

.mypage-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

    .mypage-status-grid div {
        min-height: 74px;
        padding: 14px;
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
    }

    .mypage-status-grid span,
    .mypage-status-grid strong {
        display: block;
    }

    .mypage-status-grid span {
        margin-bottom: 8px;
        color: #6b7280;
        font-size: 13px;
        font-weight: 800;
    }

.mypage-address {
    margin: 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px 18px;
}

    .mypage-address dt {
        color: #6b7280;
        font-weight: 900;
    }

    .mypage-address dd {
        margin: 0;
        color: #111827;
    }

.admin-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}

.admin-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.admin-title {
    padding: 18px 20px;
    font-size: 20px;
    font-weight: 900;
    border-bottom: 1px solid #e5e7eb;
}

.admin-menu {
    display: flex;
    flex-direction: column;
}

    .admin-menu a {
        padding: 14px 20px;
        color: #374151;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 700;
    }

        .admin-menu a:hover,
        .admin-menu a.active {
            background: #f8fafc;
            color: #5a2d19;
        }

.admin-content {
    min-width: 0;
}

.admin-header {
    min-height: 44px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

    .admin-header h1 {
        margin: 0;
        font-size: 26px;
        font-weight: 900;
    }

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.admin-stat {
    min-height: 96px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .admin-stat span {
        color: #6b7280;
        font-weight: 700;
    }

    .admin-stat strong {
        font-size: 28px;
        color: #111827;
    }

    .admin-stat small {
        color: #6b7280;
        font-size: 13px;
        font-weight: 800;
    }

.admin-section,
.admin-form {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

    .admin-section h2 {
        margin: 0 0 16px;
        font-size: 20px;
    }

.admin-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-filter {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

    .admin-filter label {
        min-width: 220px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        color: #374151;
        font-weight: 800;
    }

    .admin-filter select {
        height: 40px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 0 10px;
        font: inherit;
    }

.admin-button {
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
}

    .admin-button.primary {
        background: #3a2316;
        border-color: #3a2316;
        color: #fff;
    }

    .admin-button.small {
        min-height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

.admin-link {
    color: #5a2d19;
    font-weight: 800;
}

.admin-badge {
    min-width: 54px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

    .admin-badge.active {
        background: #ecfdf5;
        color: #047857;
    }

    .admin-badge.muted {
        background: #f3f4f6;
        color: #4b5563;
    }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

    .admin-table th,
    .admin-table td {
        padding: 14px 16px;
        border-bottom: 1px solid #e5e7eb;
        text-align: left;
        font-size: 14px;
    }

    .admin-table th {
        background: #f8fafc;
        color: #374151;
        font-weight: 900;
    }

    .admin-table .empty-row td {
        height: 120px;
        color: #6b7280;
        text-align: center;
    }

.admin-pager {
    margin-top: 18px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.admin-pager-summary {
    color: #4b5563;
    font-size: 14px;
    font-weight: 800;
}

.admin-pager-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

    .admin-pager-links a,
    .admin-pager-links span {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        font-size: 13px;
        font-weight: 900;
    }

    .admin-pager-links a:hover,
    .admin-pager-links .active {
        background: #3a2316;
        border-color: #3a2316;
        color: #fff;
    }

    .admin-pager-links .disabled {
        background: #f9fafb;
        color: #9ca3af;
    }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-form label,
.full-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    color: #374151;
    font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0 12px;
    box-sizing: border-box;
    font: inherit;
    font-weight: 400;
}

.admin-form input,
.admin-form select {
    height: 42px;
}

.admin-form textarea {
    padding-top: 12px;
    resize: vertical;
}

.compact-form {
    margin-bottom: 18px;
}

.inline-delivery-form {
    display: grid;
    grid-template-columns: 110px minmax(100px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) auto;
    gap: 8px;
    align-items: center;
}

    .inline-delivery-form input,
    .inline-delivery-form select {
        height: 34px;
        min-width: 0;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 0 8px;
        font: inherit;
        font-size: 13px;
        box-sizing: border-box;
    }

.admin-message {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 700;
}

    .admin-message.success {
        background: #ecfdf5;
        border: 1px solid #a7f3d0;
        color: #047857;
    }

    .admin-message.error {
        background: #fff1f2;
        border: 1px solid #fecdd3;
        color: #be123c;
    }

.admin-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.upload-field {
    min-height: 132px;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 900;
}

    .upload-field input {
        height: auto;
        padding: 10px;
        background: #fff;
    }

    .upload-field span {
        color: #64748b;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.5;
    }

.uploaded-image-list {
    margin: 18px 0;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

    .uploaded-image-list h2 {
        margin: 0 0 12px;
        font-size: 18px;
    }

.uploaded-image-item {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #e5e7eb;
}

    .uploaded-image-item img {
        width: 80px;
        height: 64px;
        object-fit: cover;
        border-radius: 6px;
        background: #e5e7eb;
    }

    .uploaded-image-item strong,
    .uploaded-image-item span,
    .uploaded-image-item small {
        display: block;
    }

    .uploaded-image-item small {
        color: #64748b;
        overflow-wrap: anywhere;
    }

@media (max-width: 900px) {
    .admin-page {
        grid-template-columns: 1fr;
    }

    .admin-stat-grid,
    .form-grid,
    .admin-upload-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .inline-delivery-form {
        grid-template-columns: 1fr;
    }

    .mypage-order-main,
    .mypage-detail-title {
        flex-direction: column;
    }

    .mypage-order-amount {
        white-space: normal;
    }

    .mypage-status-grid,
    .mypage-address {
        grid-template-columns: 1fr;
    }
}
