/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #F9FAFB;
    color: #1F2937;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

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

/* Header Styles */
.header {
    width: 100%;
}

.top-banner {
    background: linear-gradient(to right, #F472B6, #EC4899);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
}

.main-header {
    background: white;
    border-bottom: 1px solid #E5E7EB;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 0.875rem;
}

.header-btn:hover {
    color: #EC4899;
}

/* Navigation */
.navigation {
    background: white;
    border-bottom: 1px solid #E5E7EB;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem 0;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link.active {
    font-weight: 500;
}

.nav-link:hover {
    color: #EC4899;
}

/* Hero Section */
.hero-section {
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.main-banner {
    background: linear-gradient(to bottom right, #F472B6, #EC4899);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 10;
}

.banner-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.banner-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.banner-text {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.banner-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-white {
    background: white;
    color: #EC4899;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-white:hover {
    background-color: #FDF2F8;
}

.btn-primary {
    background: #DB2777;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #BE185D;
}

.discount-badge {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    width: 8rem;
    height: 8rem;
    background: #DC2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(12deg);
}

.discount-badge .badge-text {
    text-align: center;
}

.badge-percent {
    font-size: 1.5rem;
    font-weight: bold;
}

.badge-label {
    font-size: 0.75rem;
}

.sale-badge {
    position: absolute;
    right: 6rem;
    top: 3rem;
    width: 6rem;
    height: 6rem;
    background: #EF4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-12deg);
}

.sale-badge .badge-text {
    font-size: 1.125rem;
    font-weight: bold;
}

.sub-banners {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.sub-banner {
    background: linear-gradient(to bottom right, #F472B6, #EC4899);
    border-radius: 1rem;
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.sub-banner-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.sub-banner-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.phone-number {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.btn-white-sm {
    background: white;
    color: #EC4899;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-white-sm:hover {
    background-color: #FDF2F8;
}

.banner-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 4rem;
    opacity: 0.2;
}

.banner-emoji {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 4rem;
    height: 4rem;
    background: #FBBF24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Section Styles */
.category-section,
.product-section,
.notice-section {
    padding: 3rem 0;
}

.cs-section {
    background: #F9FAFB;
    padding: 4rem 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-header-with-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-marker {
    width: 0.25rem;
    height: 1.5rem;
    background: #EC4899;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1F2937;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0.5rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background: #EC4899;
    color: white;
}

.tab:not(.active) {
    background: #F3F4F6;
    color: #4B5563;
}

.tab:not(.active):hover {
    background: #E5E7EB;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.category-column {
    display: flex;
    flex-direction: column;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    position: relative;
}

.category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #F472B6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-btn:hover span {
    color: #EC4899;
}

.category-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-btn span {
    font-size: 0.875rem;
    color: #374151;
    flex: 1;
    text-align: left;
    transition: color 0.2s;
}

.bg-red { background: #EF4444; }
.bg-blue { background: #3B82F6; }
.bg-green { background: #10B981; }
.bg-purple { background: #A855F7; }
.bg-pink { background: #EC4899; }
.bg-gray { background: #374151; }
.bg-yellow { background: #FBBF24; }
.bg-red-dark { background: #DC2626; }
.bg-blue-dark { background: #2563EB; }

.badge-hot,
.badge-new {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.badge-hot {
    background: #EF4444;
}

.badge-new {
    background: #3B82F6;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.product-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.5rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.bg-blue-gradient {
    background: linear-gradient(to bottom right, #60A5FA, #2563EB);
}

.product-badge-best {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: #EF4444;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.product-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #EF4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-score {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.rating-count {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.product-price {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-original {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.price-sale {
    font-size: 1.125rem;
    font-weight: bold;
    color: #111827;
}

.btn-cart {
    width: 100%;
    background: #EC4899;
    color: white;
    padding: 0.625rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
}

.btn-cart:hover {
    background: #DB2777;
}

/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.notice-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.notice-card:hover {
    border-color: #F472B6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.notice-card:hover .notice-title {
    color: #EC4899;
}

.notice-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.notice-badge {
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
}

.bg-blue-badge { background: #3B82F6; }
.bg-orange-badge { background: #F97316; }
.bg-green-badge { background: #10B981; }

.notice-date {
    font-size: 0.75rem;
    color: #9CA3AF;
}

.notice-title {
    font-size: 1rem;
    font-weight: 500;
    color: #1F2937;
    transition: color 0.2s;
}

.notice-link {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    color: #9CA3AF;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.notice-card:hover .notice-link {
    color: #EC4899;
}

/* CS Center */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cs-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #F3F4F6;
    transition: all 0.3s;
}

.cs-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cs-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.cs-card:hover .cs-icon {
    transform: scale(1.1);
}

.bg-purple-light { background: #EDE9FE; }
.bg-orange-light { background: #FFEDD5; }
.bg-yellow-light { background: #FEF3C7; }
.bg-pink-light { background: #FCE7F3; }
.bg-blue-light { background: #DBEAFE; }
.bg-green-light { background: #D1FAE5; }

.icon-purple { color: #A855F7; }
.icon-orange { color: #F97316; }
.icon-yellow { color: #CA8A04; }
.icon-pink { color: #EC4899; }
.icon-blue { color: #3B82F6; }
.icon-green { color: #10B981; }

.cs-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #1F2937;
    margin-bottom: 0.25rem;
}

.cs-description {
    font-size: 0.875rem;
    color: #4B5563;
    margin-bottom: 0.25rem;
}

.cs-subtext {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-bottom: 1rem;
}

.cs-button {
    width: 100%;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cs-button:hover {
    opacity: 0.9;
}

.cs-button.bg-purple { background: #A855F7; }
.cs-button.bg-orange { background: #F97316; }
.cs-button.bg-yellow { background: #EAB308; }
.cs-button.bg-pink { background: #EC4899; }
.cs-button.bg-blue { background: #3B82F6; }
.cs-button.bg-green { background: #10B981; }

/* Footer */
.footer {
    background: #111827;
    color: #D1D5DB;
    padding: 3rem 0;
}

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

.footer-title {
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-hours {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-info {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.footer-info p {
    margin-bottom: 0.25rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .notice-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .cs-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.875rem;
    }
}
