.storefront-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f2f2f2;
    padding-bottom: 80px;
    max-width: 375px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-fixed {
    max-width: 375px;
    margin: 0 auto;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e9e9e9;
    text-align: center;
    line-height: 0;
}

.full-header-img {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.top-bar {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #ddd;
    justify-content: center;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    gap: 0.8rem;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #e6e6e6;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.search-box input[type="text"] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #333;
    outline: none;
}

.heart-icon {
    font-size: 1.6rem;
    color: #000;
    cursor: pointer;
    user-select: none;
}

.banner-wrapper {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 18 / 9;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #f5f5f5;
    border-radius: 12px;
}

.banner-carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: cover;
    display: block;
}

.section-title {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.5rem 1rem 0.2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    max-height: 260px;
}

.product-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #eee;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.6em;
}

.price-row {
    width: 100%;
    display: block;
    text-align: left;
    margin-top: 0.3rem;
}

.product-price {
    color: #333333;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
}

.product-card .btn {
    background-color: #007bff;
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
    margin-top: 0.4rem;
    text-align: center;
    width: 60%;
}

.product-card .btn:hover {
    background-color: #0056b3;
}

.footer-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 375px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0 0.3rem;
    z-index: 999;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.05);
}

.footer-nav .nav-item {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
}

.footer-nav .nav-icon {
    margin-bottom: 0.2rem;
    line-height: 1;
    display: flex;
    justify-content: center;
}

.footer-nav .ri-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-nav .nav-item.active {
    color: #007bff;
}
