:root {
  --yellow: #FFD93D;
  --pink: #FF6B6B;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f5f5f5;
  --gray-dark: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; color: var(--black); background: var(--white); line-height: 1.6; }

.nav { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 3rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--black); text-decoration: none; letter-spacing: 2px; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--black); font-weight: 400; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--pink); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle { display: flex; background: var(--gray); border: none; border-radius: 20px; padding: 0.25rem; cursor: pointer; font-family: inherit; }
.lang-toggle span { padding: 0.35rem 0.75rem; border-radius: 16px; font-size: 0.8rem; font-weight: 600; color: var(--gray-dark); transition: all 0.3s; }
.lang-toggle span.active { background: var(--black); color: var(--white); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.mobile-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); padding: 1rem; flex-direction: column; gap: 1rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); z-index: 999; }
.mobile-menu.active { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--black); padding: 0.75rem; font-size: 1.1rem; }

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

.btn { display: inline-block; padding: 0.875rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.3s; cursor: pointer; border: none; font-family: inherit; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--pink); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.store-hero { padding: 140px 20px 60px; text-align: center; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); }
.store-hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.store-hero p { font-size: 1.1rem; color: #999; }

.store-section { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; }
.store-filter { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 2px solid var(--black); padding: 0.5rem 1.5rem; border-radius: 50px; cursor: pointer; font-family: inherit; font-size: 0.9rem; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--black); color: var(--white); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; cursor: pointer; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.product-image { width: 100%; height: 260px; background-size: cover; background-position: center; position: relative; }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-soldout { background: #666; color: #fff; }
.badge-digital { background: #845EC2; color: #fff; }
.badge-inquiry { background: #C4784A; color: #fff; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #1a1a1a; }
.product-info .product-desc { font-size: 0.85rem; color: #666; margin-bottom: 12px; }
.product-info .product-price { font-size: 1.1rem; font-weight: 700; color: #1a1a1a; }
.product-info .product-price.inquiry { color: #C4784A; font-size: 0.95rem; }

.cart-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; position: relative; padding: 5px 10px; }
.cart-count { position: absolute; top: -2px; right: -2px; background: #C4784A; color: #fff; font-size: 0.7rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.cart-sidebar { position: fixed; top: 0; right: -400px; width: 380px; max-width: 90vw; height: 100vh; background: #fff; box-shadow: -5px 0 30px rgba(0,0,0,0.2); z-index: 1001; display: flex; flex-direction: column; transition: right 0.3s ease; }
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; }
.cart-header h3 { font-size: 1.2rem; font-weight: 600; }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; color: #999; padding: 40px 0; }
.cart-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.cart-item-image { width: 70px; height: 70px; border-radius: 8px; background-size: cover; background-position: center; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cart-item-info p { font-size: 0.85rem; color: #666; }
.cart-item-remove { background: none; border: none; color: #999; cursor: pointer; font-size: 1.2rem; }
.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; }
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cart-overlay.active { opacity: 1; visibility: visible; }

.product-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1002; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.product-modal.active { opacity: 1; visibility: visible; }
.modal-content { background: #fff; border-radius: 16px; max-width: 800px; width: 90%; max-height: 90vh; overflow: hidden; display: flex; position: relative; }
.modal-close { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; }
.modal-image { width: 50%; min-height: 400px; background-size: cover; background-position: center; background-color: #f0f0f0; }
.modal-info { width: 50%; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.modal-info h2 { font-size: 1.5rem; margin-bottom: 15px; }
.modal-desc { color: #666; margin-bottom: 20px; line-height: 1.6; }
.modal-price { font-size: 1.5rem; font-weight: 700; margin-bottom: 25px; }
.modal-actions { display: flex; gap: 10px; }

.footer { background: var(--black); color: var(--white); padding: 3rem; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 1rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.footer-links a { color: var(--white); text-decoration: none; opacity: 0.8; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { font-size: 0.85rem; opacity: 0.6; }

@media (max-width: 768px) {
  .store-hero h1 { font-size: 2rem; }
  .modal-content { flex-direction: column; }
  .modal-image { width: 100%; height: 250px; }
  .modal-info { width: 100%; padding: 25px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .product-image { height: 180px; }
  .product-info { padding: 15px; }
}
