File manager - Edit - /home/webapp69.cm.in.th/u69319090005/shop005/css/style.css
Back
/* ========================================================================== BABYMONSTER FASHION SHOP - MODERN PREMIUM DARK STYLING Color Palette: - Primary Red: #E60023 / #FF1E27 - Dark Red/Glow: #B3001B - Pitch Black: #0B0B0E / #121216 - Surface Dark: #1A1A22 / #22222E - Border Glass: rgba(255, 255, 255, 0.1) - Text White: #FFFFFF / #E2E8F0 - Accent Neon: #FF3366 ========================================================================== */ :root { --bg-main: #0b0b0e; --bg-card: #15151c; --bg-card-hover: #1e1e28; --bg-surface: #1d1d26; --bg-input: #252533; --primary-red: #e60023; --primary-red-hover: #ff1e27; --primary-glow: rgba(230, 0, 35, 0.5); --text-primary: #ffffff; --text-secondary: #94a3b8; --text-muted: #64748b; --border-color: rgba(255, 255, 255, 0.08); --border-highlight: rgba(230, 0, 35, 0.4); --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 9999px; --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3); --shadow-glow: 0 8px 30px rgba(230, 0, 35, 0.25); --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, 0.8); --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1); --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1); --font-primary: 'Kanit', 'Outfit', sans-serif; --font-heading: 'Outfit', 'Kanit', sans-serif; } /* Reset & Global Base */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; font-size: 16px; } body { font-family: var(--font-primary); background-color: var(--bg-main); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; } /* Scrollbar Customization */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #0b0b0e; } ::-webkit-scrollbar-thumb { background: #333344; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-red); } a { color: inherit; text-decoration: none; transition: color var(--transition-fast); } button { font-family: inherit; cursor: pointer; border: none; outline: none; background: none; } input, select, textarea { font-family: inherit; color: inherit; } /* Typography & Badges */ h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; } .text-danger { color: var(--primary-red); } .text-muted { color: var(--text-muted); } .hide { display: none !important; } .badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.1); color: #fff; } .badge-danger { background: var(--primary-red); color: #fff; box-shadow: 0 0 10px var(--primary-glow); } .badge-primary { background: var(--primary-red); color: #fff; } /* Container */ .container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; } /* Button System */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; transition: all var(--transition-fast); } .btn-primary { background: var(--primary-red); color: #fff; box-shadow: 0 4px 15px var(--primary-glow); } .btn-primary:hover { background: var(--primary-red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px var(--primary-glow); } .btn-outline { border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; background: rgba(255, 255, 255, 0.05); } .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.15); } .btn-dark { background: #2a2a36; color: #fff; } .btn-dark:hover { background: #383848; } .btn-lg { padding: 14px 28px; font-size: 1.05rem; } .btn-block { width: 100%; } /* Splash Screen */ .splash-screen { position: fixed; inset: 0; background: #050507; z-index: 99999; display: flex; align-items: center; justify-content: center; text-align: center; transition: opacity 0.6s ease, visibility 0.6s; } .splash-screen.fade-out { opacity: 0; visibility: hidden; } .splash-content { display: flex; flex-direction: column; align-items: center; max-width: 480px; padding: 20px; } .splash-logo-container { position: relative; margin-bottom: 30px; } .logo-badge { background: var(--primary-red); color: #fff; font-size: 0.75rem; letter-spacing: 3px; padding: 4px 12px; border-radius: var(--radius-full); font-weight: 800; } .splash-title { font-size: 3.2rem; letter-spacing: 2px; background: linear-gradient(135deg, #ffffff 0%, #ff4d6d 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-top: 10px; } .splash-subtitle { color: var(--text-secondary); letter-spacing: 4px; font-size: 0.9rem; font-weight: 500; } .splash-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 250px; height: 250px; background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%); z-index: -1; } .splash-loader { width: 100%; margin-bottom: 25px; } .loader-bar { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; margin-bottom: 10px; } .loader-progress { width: 0%; height: 100%; background: var(--primary-red); box-shadow: 0 0 10px var(--primary-red); animation: loadProgress 2.5s ease-in-out forwards; } @keyframes loadProgress { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } } .loader-text { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 2px; } .pulse-animation { animation: btnPulse 1.8s infinite; } @keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(230, 0, 35, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0); } } /* Announcement Bar */ .announcement-bar { background: linear-gradient(90deg, #b3001b 0%, #e60023 50%, #b3001b 100%); color: #fff; font-size: 0.85rem; padding: 8px 0; overflow: hidden; white-space: nowrap; text-align: center; font-weight: 500; } .announcement-slider { display: inline-block; animation: marquee 25s linear infinite; } .announcement-slider span { margin: 0 40px; } @keyframes marquee { 0% { transform: translateX(30%); } 100% { transform: translateX(-100%); } } /* Header & Nav */ .main-header { position: sticky; top: 0; z-index: 1000; background: rgba(11, 11, 14, 0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border-color); padding: 14px 0; } .header-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; } .brand-logo { display: flex; align-items: center; font-size: 1.6rem; font-weight: 900; letter-spacing: 1px; } .logo-text-red { color: var(--primary-red); } .logo-text-white { color: #fff; } .brand-tag { background: rgba(255, 255, 255, 0.1); font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; margin-left: 6px; letter-spacing: 1px; } /* Header Search */ .header-search { flex: 1; max-width: 480px; position: relative; } .search-input-wrapper { position: relative; display: flex; align-items: center; } .search-icon { position: absolute; left: 14px; color: var(--text-muted); } .header-search input { width: 100%; padding: 10px 40px 10px 42px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-full); font-size: 0.9rem; transition: all var(--transition-fast); } .header-search input:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 12px var(--primary-glow); background: #2b2b3d; } .btn-clear-search { position: absolute; right: 12px; color: var(--text-muted); font-size: 0.9rem; } /* Search Suggestions dropdown */ .search-suggestions { position: absolute; top: 110%; left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); box-shadow: var(--shadow-modal); z-index: 100; max-height: 300px; overflow-y: auto; } .suggestion-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; border-bottom: 1px solid rgba(255, 255, 255, 0.04); } .suggestion-item:hover { background: var(--bg-card-hover); } .suggestion-img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; } /* Header Action Buttons */ .header-actions { display: flex; align-items: center; gap: 14px; } .nav-action-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #e2e8f0; font-size: 1.2rem; padding: 6px 10px; border-radius: var(--radius-sm); transition: all var(--transition-fast); } .nav-action-btn:hover { color: var(--primary-red); background: rgba(255, 255, 255, 0.05); } .action-label { font-size: 0.7rem; margin-top: 2px; font-weight: 500; } .nav-action-btn .badge { position: absolute; top: 2px; right: 4px; min-width: 18px; height: 18px; font-size: 0.65rem; padding: 0 4px; } .tiktok-mode-btn { background: linear-gradient(135deg, rgba(230, 0, 35, 0.2), rgba(0, 242, 254, 0.2)); border: 1px solid rgba(230, 0, 35, 0.5); color: #fff; } .tiktok-mode-btn:hover { background: linear-gradient(135deg, rgba(230, 0, 35, 0.4), rgba(0, 242, 254, 0.4)); } .btn-badge-live { position: absolute; top: -4px; right: -4px; background: #00f2fe; color: #000; font-weight: 900; font-size: 0.6rem; padding: 1px 4px; border-radius: 4px; } .user-avatar-small { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-surface); border: 1px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; } /* Category Navigation Pill Bar */ .category-nav { background: #111117; border-bottom: 1px solid var(--border-color); padding: 10px 0; } .category-container { display: flex; align-items: center; justify-content: space-between; gap: 15px; } .category-pills { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .category-pills::-webkit-scrollbar { display: none; } .cat-pill { white-space: nowrap; padding: 7px 16px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); font-size: 0.88rem; font-weight: 500; border: 1px solid transparent; transition: all var(--transition-fast); } .cat-pill:hover { background: rgba(255, 255, 255, 0.1); color: #fff; } .cat-pill.active { background: var(--primary-red); color: #fff; box-shadow: 0 4px 12px var(--primary-glow); } .btn-filter-trigger { display: flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--bg-surface); border: 1px solid var(--border-color); color: #fff; padding: 7px 16px; border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 500; } .btn-filter-trigger:hover { border-color: var(--primary-red); color: var(--primary-red); } /* Hero Section Carousel */ .hero-section { margin: 24px 0 30px; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); } .hero-carousel { position: relative; min-height: 380px; } .hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; padding: 40px 60px; opacity: 0; transition: opacity 0.8s ease-in-out; } .hero-slide.active { opacity: 1; position: relative; } .hero-content { max-width: 600px; z-index: 2; } .hero-tag { display: inline-block; background: var(--primary-red); color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; padding: 4px 12px; border-radius: var(--radius-sm); margin-bottom: 14px; } .hero-title { font-size: 2.5rem; margin-bottom: 12px; text-shadow: 0 4px 12px rgba(0,0,0,0.8); } .hero-desc { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 24px; } .hero-btns { display: flex; gap: 14px; } .carousel-indicators { position: absolute; bottom: 20px; right: 30px; display: flex; gap: 8px; z-index: 10; } .carousel-indicators .indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); cursor: pointer; transition: all var(--transition-fast); } .carousel-indicators .indicator.active { width: 28px; border-radius: 6px; background: var(--primary-red); } /* Features Bar */ .features-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 35px; } .feature-item { background: var(--bg-card); border: 1px solid var(--border-color); padding: 16px 20px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 14px; } .feature-item i { font-size: 1.8rem; color: var(--primary-red); } .feature-item h4 { font-size: 0.95rem; margin-bottom: 2px; } .feature-item p { font-size: 0.8rem; color: var(--text-secondary); } /* Section Containers */ .section-container { margin-bottom: 40px; } .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 15px; } .section-title-wrap { display: flex; align-items: center; gap: 12px; } .flash-icon { width: 36px; height: 36px; background: var(--primary-red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 0 15px var(--primary-glow); } .section-title { font-size: 1.4rem; } .countdown-timer { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; margin-left: 10px; } .timer-box { background: var(--primary-red); padding: 4px 8px; border-radius: 4px; font-size: 0.9rem; } /* Tabs */ .tab-buttons { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); width: 100%; } .tab-btn { padding: 10px 18px; font-size: 1rem; font-weight: 600; color: var(--text-secondary); border-bottom: 2px solid transparent; transition: all var(--transition-fast); } .tab-btn:hover { color: #fff; } .tab-btn.active { color: var(--primary-red); border-bottom-color: var(--primary-red); } /* Sub Navigation Bar (Requested Menu Items) */ .sub-nav-bar { background: #0f0f15; border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 6px 0; } .sub-nav-container { display: flex; align-items: center; justify-content: space-between; gap: 12px; overflow-x: auto; scrollbar-width: none; } .sub-nav-container::-webkit-scrollbar { display: none; } .sub-nav-item { display: flex; align-items: center; gap: 6px; padding: 8px 14px; color: #cbd5e1; font-size: 0.88rem; font-weight: 500; border-radius: 8px; white-space: nowrap; transition: all 0.25s ease; text-decoration: none; } .sub-nav-item i { font-size: 1rem; color: #94a3b8; transition: color 0.25s ease, transform 0.25s ease; } .sub-nav-item:hover, .sub-nav-item.active { color: #ffffff; background: rgba(230, 0, 35, 0.15); } .sub-nav-item:hover i, .sub-nav-item.active i { color: #ff1e27; transform: scale(1.15); } .sub-nav-item.highlight-promo { color: #ff1e27; font-weight: 700; } .sub-nav-item.highlight-promo i { color: #ff1e27; } /* Product Card Style (Matching Reference Image & Requested Hover Effects) */ .product-card { background: #14141c; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 14px; overflow: hidden; position: relative; transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; cursor: pointer; } .product-card:hover { transform: translateY(-8px) scale(1.02); border-color: rgba(230, 0, 35, 0.5); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(230, 0, 35, 0.3); } .card-img-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0d0d12; } .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); } .product-card:hover .card-img-wrapper img { transform: scale(1.1); } /* Discount Pill Badge (Top-Left) */ .card-badge-pill { position: absolute; top: 12px; left: 12px; background: #ff1e27; color: #ffffff; font-size: 0.78rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.5px; box-shadow: 0 4px 10px rgba(230, 0, 35, 0.4); z-index: 2; } /* Wishlist Button (Top-Right Circular) */ .btn-quick-wishlist { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(18, 18, 24, 0.7); backdrop-filter: blur(6px); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1rem; z-index: 2; transition: all 0.2s ease; border: 1px solid rgba(255, 255, 255, 0.08); } .btn-quick-wishlist:hover, .btn-quick-wishlist.active { background: #ff1e27; color: #ffffff; border-color: #ff1e27; } /* Card Info Layout */ .card-info { padding: 16px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; } .card-category { font-size: 0.8rem; color: #71717a; font-weight: 400; margin-bottom: 4px; } .card-title { font-size: 0.95rem; font-weight: 700; color: #ffffff; margin-bottom: 8px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; } .card-rating { display: flex; align-items: center; gap: 5px; font-size: 0.82rem; color: #ffb703; font-weight: 600; margin-bottom: 16px; } .rating-count { color: #71717a; font-weight: 400; margin-left: 2px; } .card-price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; } .price-wrap { display: flex; align-items: baseline; gap: 6px; } .price-current { font-size: 1.35rem; font-weight: 900; color: #ff1e27; font-family: 'Outfit', sans-serif; letter-spacing: -0.5px; } .price-original { font-size: 0.82rem; color: #64748b; text-decoration: line-through; font-weight: 400; } /* Shopping Bag Button (Bottom-Right Square) */ .btn-add-cart-square { width: 38px; height: 38px; border-radius: 8px; background: #1e1e28; border: 1px solid rgba(255, 255, 255, 0.08); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: all 0.2s ease; } .btn-add-cart-square:hover { background: #ff1e27; border-color: #ff1e27; box-shadow: 0 4px 12px rgba(230, 0, 35, 0.4); } /* Active Filters Indicator */ .active-filters-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--bg-card); border: 1px dashed var(--border-highlight); border-radius: var(--radius-md); margin-bottom: 20px; flex-wrap: wrap; } .filter-label { font-size: 0.85rem; color: var(--text-secondary); } .filter-tags-container { display: flex; gap: 8px; flex-wrap: wrap; } .filter-chip { background: rgba(230, 0, 35, 0.15); border: 1px solid var(--primary-red); color: #fff; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.8rem; display: flex; align-items: center; gap: 6px; } .filter-chip i { cursor: pointer; } .btn-reset-filters { margin-left: auto; font-size: 0.8rem; color: var(--primary-red); font-weight: 600; } /* Empty State */ .empty-state { text-align: center; padding: 60px 20px; background: var(--bg-card); border-radius: var(--radius-md); } .empty-icon { font-size: 3.5rem; color: var(--text-muted); margin-bottom: 16px; } /* TikTok Style Modal & Feed */ .tiktok-modal { position: fixed; inset: 0; z-index: 10000; background: #000; } .tiktok-feed-wrapper { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .tiktok-close-btn { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: #fff; font-size: 1.4rem; z-index: 100; display: flex; align-items: center; justify-content: center; } .tiktok-container { width: 100%; max-width: 420px; height: 100vh; overflow-y: snap; scroll-snap-type: y mandatory; } .tiktok-card { position: relative; width: 100%; height: 100vh; scroll-snap-align: start; background: #111; overflow: hidden; } .tiktok-video { width: 100%; height: 100%; object-fit: cover; } .tiktok-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 30px 20px 20px; } .tiktok-header-info { display: flex; align-items: center; gap: 10px; } .tiktok-avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--primary-red); } .tiktok-side-actions { position: absolute; right: 15px; bottom: 120px; display: flex; flex-direction: column; align-items: center; gap: 20px; z-index: 10; } .tiktok-action-btn { display: flex; flex-direction: column; align-items: center; color: #fff; font-size: 1.5rem; gap: 4px; } .tiktok-action-btn span { font-size: 0.75rem; } .tiktok-product-card { background: rgba(26, 26, 38, 0.95); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); padding: 12px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; } .tiktok-prod-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; } .tiktok-prod-info { flex: 1; } .tiktok-prod-info h4 { font-size: 0.9rem; margin-bottom: 4px; } .tiktok-prod-price { color: var(--primary-red); font-weight: 800; } /* Modals & Backdrop */ .modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; } .modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); } .modal-dialog { position: relative; z-index: 10; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-modal); padding: 30px; } .modal-lg { max-width: 950px; } .modal-md { max-width: 550px; } .modal-close-btn { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; display: flex; align-items: center; justify-content: center; } .modal-close-btn:hover { background: var(--primary-red); } /* Product Detail Layout inside Modal */ .product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; } .detail-gallery { display: flex; flex-direction: column; gap: 12px; } .main-preview-box { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; background: #111; } .main-preview-box img, .main-preview-box video { width: 100%; height: 100%; object-fit: cover; } .gallery-thumbs { display: flex; gap: 10px; } .thumb-item { width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.7; } .thumb-item.active, .thumb-item:hover { border-color: var(--primary-red); opacity: 1; } .thumb-item img { width: 100%; height: 100%; object-fit: cover; } .detail-info { display: flex; flex-direction: column; } .detail-category { font-size: 0.85rem; color: var(--primary-red); font-weight: 700; letter-spacing: 1px; } .detail-title { font-size: 1.7rem; margin: 6px 0 12px; } .detail-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 0.9rem; color: #ffb703; } .detail-price-box { display: flex; align-items: baseline; gap: 12px; background: rgba(255, 255, 255, 0.03); padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 20px; } .detail-current-price { font-size: 2rem; font-weight: 900; color: var(--primary-red); } .detail-original-price { color: var(--text-muted); text-decoration: line-through; } .option-group { margin-bottom: 18px; } .option-label { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; display: block; } .color-options, .size-options { display: flex; gap: 10px; flex-wrap: wrap; } .btn-option { padding: 8px 16px; border-radius: var(--radius-sm); background: var(--bg-surface); border: 1px solid var(--border-color); color: #fff; font-size: 0.88rem; } .btn-option.selected { border-color: var(--primary-red); background: rgba(230, 0, 35, 0.2); color: var(--primary-red); font-weight: 700; } .quantity-control { display: inline-flex; align-items: center; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-sm); } .btn-qty { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; } .qty-input { width: 44px; text-align: center; background: transparent; border: none; font-weight: 700; } .detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; } /* Reviews List in Product Detail */ .reviews-section { margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; } .review-item { background: rgba(255, 255, 255, 0.02); padding: 12px; border-radius: var(--radius-sm); margin-top: 10px; } .review-user { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; } /* Cart Side Drawer */ .cart-drawer { position: fixed; inset: 0; z-index: 9500; display: flex; justify-content: flex-end; } .cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); } .cart-panel { position: relative; z-index: 10; width: 100%; max-width: 450px; height: 100%; background: var(--bg-card); display: flex; flex-direction: column; box-shadow: var(--shadow-modal); } .cart-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; } .cart-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 16px; } .cart-item { display: flex; gap: 12px; background: var(--bg-surface); padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--border-color); position: relative; } .cart-item-img { width: 70px; height: 70px; border-radius: var(--radius-sm); object-fit: cover; } .cart-item-info { flex: 1; } .cart-item-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; } .cart-item-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; } .cart-item-price { font-size: 0.95rem; font-weight: 800; color: var(--primary-red); } .btn-remove-cart { position: absolute; top: 10px; right: 10px; color: var(--text-muted); } .btn-remove-cart:hover { color: var(--primary-red); } .cart-footer { padding: 20px; border-top: 1px solid var(--border-color); background: #111117; } .coupon-box { display: flex; gap: 8px; margin-bottom: 8px; } .coupon-box input { flex: 1; padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.85rem; } .coupon-message { font-size: 0.8rem; margin-bottom: 12px; } .cart-summary { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; font-size: 0.9rem; } .summary-row { display: flex; justify-content: space-between; } .total-row { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--border-color); padding-top: 10px; } .total-price { color: var(--primary-red); font-size: 1.3rem; } /* Checkout Form & Payment */ .checkout-wrapper { display: flex; flex-direction: column; gap: 20px; } .form-section { background: rgba(255, 255, 255, 0.02); padding: 16px; border-radius: var(--radius-md); border: 1px solid var(--border-color); } .form-section h4 { font-size: 1rem; margin-bottom: 14px; color: var(--primary-red); display: flex; align-items: center; gap: 8px; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .form-group label { font-size: 0.85rem; color: var(--text-secondary); } .form-group input, .form-group textarea { padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.9rem; } .form-group input:focus, .form-group textarea:focus { border-color: var(--primary-red); outline: none; } .payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .payment-card { display: flex; align-items: center; gap: 10px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 12px; cursor: pointer; } .payment-card.active { border-color: var(--primary-red); background: rgba(230, 0, 35, 0.1); } .payment-card input { accent-color: var(--primary-red); } .pay-icon { font-size: 1.4rem; color: var(--primary-red); } .pay-info strong { display: block; font-size: 0.88rem; } .pay-info small { font-size: 0.72rem; color: var(--text-muted); } .payment-details-box { margin-top: 14px; padding: 16px; background: #000; border-radius: var(--radius-md); text-align: center; border: 1px dashed var(--primary-red); } .qr-container img { width: 170px; height: 170px; background: #fff; padding: 8px; border-radius: 8px; margin: 10px 0; } /* User Profile & Tracking */ .user-modal-tabs { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; } .auth-tab-btn { flex: 1; padding: 12px; text-align: center; font-weight: 700; color: var(--text-secondary); border-bottom: 2px solid transparent; } .auth-tab-btn.active { color: var(--primary-red); border-bottom-color: var(--primary-red); } .profile-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); } .profile-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-red); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; } .dashboard-tabs { display: flex; gap: 10px; margin-bottom: 16px; } .dash-tab { padding: 8px 16px; border-radius: var(--radius-full); background: var(--bg-surface); color: var(--text-secondary); font-size: 0.85rem; } .dash-tab.active { background: var(--primary-red); color: #fff; } /* Order Tracking Cards */ .order-track-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 16px; margin-bottom: 14px; } .order-track-header { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 12px; } .order-timeline { display: flex; justify-content: space-between; position: relative; margin: 20px 0; } .order-timeline::before { content: ''; position: absolute; top: 14px; left: 10%; right: 10%; height: 2px; background: rgba(255, 255, 255, 0.1); z-index: 1; } .step-item { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; font-size: 0.72rem; color: var(--text-muted); } .step-icon { width: 30px; height: 30px; border-radius: 50%; background: #252533; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; } .step-item.active { color: #fff; } .step-item.active .step-icon { background: var(--primary-red); box-shadow: 0 0 10px var(--primary-glow); } /* Filter Drawer */ .filter-drawer { position: fixed; inset: 0; z-index: 9500; display: flex; } .filter-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); } .filter-panel { position: relative; z-index: 10; width: 100%; max-width: 380px; height: 100%; background: var(--bg-card); display: flex; flex-direction: column; box-shadow: var(--shadow-modal); } .filter-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .filter-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 20px; } .filter-group h4 { font-size: 0.9rem; margin-bottom: 10px; color: var(--primary-red); } .price-inputs { display: flex; align-items: center; gap: 8px; } .price-inputs input { width: 100%; padding: 8px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); } .color-swatches, .size-boxes { display: flex; flex-wrap: wrap; gap: 8px; } .color-swatch-item { display: flex; align-items: center; gap: 6px; background: var(--bg-surface); padding: 6px 10px; border-radius: var(--radius-sm); font-size: 0.8rem; cursor: pointer; } .color-circle { width: 14px; height: 14px; border-radius: 50%; } .color-circle.black { background: #000; border: 1px solid #555; } .color-circle.red { background: #e60023; } .color-circle.white { background: #fff; } .color-circle.grey { background: #888; } .color-circle.beige { background: #f5f5dc; } .size-chip { background: var(--bg-surface); padding: 6px 12px; border-radius: var(--radius-sm); font-size: 0.85rem; cursor: pointer; } .filter-footer { padding: 20px; border-top: 1px solid var(--border-color); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } /* Floating Chat & TikTok Buttons */ .chat-widget { position: fixed; bottom: 25px; right: 25px; z-index: 8000; } .chat-trigger-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-red); color: #fff; font-size: 1.4rem; box-shadow: 0 6px 20px var(--primary-glow); display: flex; align-items: center; justify-content: center; position: relative; transition: transform var(--transition-fast); } .chat-trigger-btn:hover { transform: scale(1.1); } .chat-unread-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #00f2fe; border: 2px solid #000; } .chat-box { position: absolute; bottom: 70px; right: 0; width: 340px; height: 420px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); display: flex; flex-direction: column; overflow: hidden; } .chat-header { background: #111117; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border-color); } .chat-store-info { display: flex; align-items: center; gap: 10px; } .admin-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-red); display: flex; align-items: center; justify-content: center; } .online-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; } .chat-messages { flex: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; } .chat-msg { max-width: 85%; font-size: 0.85rem; } .chat-msg.system-msg, .chat-msg.admin-msg { align-self: flex-start; } .chat-msg.user-msg { align-self: flex-end; } .chat-msg .msg-bubble { padding: 10px 14px; border-radius: 14px; background: var(--bg-surface); } .chat-msg.user-msg .msg-bubble { background: var(--primary-red); color: #fff; } .chat-input-area { display: flex; padding: 10px; background: #111117; border-top: 1px solid var(--border-color); } .chat-input-area input { flex: 1; padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-full); font-size: 0.85rem; } .btn-send-chat { width: 36px; height: 36px; color: var(--primary-red); font-size: 1.1rem; } .floating-tiktok-btn { position: fixed; bottom: 95px; right: 25px; z-index: 7900; display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-full); background: linear-gradient(135deg, #e60023, #00f2fe); color: #fff; font-weight: 800; font-size: 0.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.5); transition: transform var(--transition-fast); } .floating-tiktok-btn:hover { transform: scale(1.05); } /* Toast Notification */ .toast-container { position: fixed; top: 90px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; } .toast { display: flex; align-items: center; gap: 12px; background: #1a1a24; border-left: 4px solid var(--primary-red); color: #fff; padding: 12px 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-modal); min-width: 280px; animation: toastIn 0.3s ease forwards; } @keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* Admin Portal & Notification Styling */ .btn-admin-toggle { background: rgba(230, 0, 35, 0.15); border: 1px solid var(--primary-red); color: #fff; } .btn-admin-toggle:hover { background: var(--primary-red); } .admin-dashboard-container { display: flex; flex-direction: column; gap: 20px; } .admin-header-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; } .admin-tabs { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); } .admin-tab-btn { padding: 10px 18px; font-weight: 600; color: var(--text-secondary); border-bottom: 2px solid transparent; } .admin-tab-btn.active { color: var(--primary-red); border-bottom-color: var(--primary-red); } .admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; } .stat-card { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 20px; display: flex; align-items: center; gap: 16px; } .stat-card i { font-size: 2.2rem; color: var(--primary-red); } .stat-card span { font-size: 0.8rem; color: var(--text-muted); } .stat-card h3 { font-size: 1.4rem; margin-top: 2px; } .admin-action-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .admin-table-wrapper { overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); } .admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; text-align: left; } .admin-table th, .admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-color); } .admin-table th { background: #111117; color: var(--text-secondary); font-weight: 600; } .admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); } .admin-table img { width: 42px; height: 42px; border-radius: var(--radius-sm); object-fit: cover; } .notification-item { background: var(--bg-surface); border: 1px solid var(--border-color); border-left: 3px solid var(--primary-red); padding: 12px; border-radius: var(--radius-sm); margin-bottom: 10px; } .notification-item h5 { font-size: 0.88rem; margin-bottom: 4px; } .notification-item p { font-size: 0.8rem; color: var(--text-secondary); } .notification-item small { font-size: 0.72rem; color: var(--text-muted); } /* Footer */ .main-footer { background: #08080b; border-top: 1px solid var(--border-color); padding-top: 60px; margin-top: 60px; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; } .footer-about { color: var(--text-secondary); font-size: 0.9rem; margin: 14px 0 20px; } .footer-socials { display: flex; gap: 12px; } .footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; } .footer-socials a:hover { background: var(--primary-red); color: #fff; } .footer-col h4 { font-size: 1.05rem; margin-bottom: 16px; color: #fff; } .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; } .footer-col ul a { color: var(--text-secondary); font-size: 0.9rem; } .footer-col ul a:hover { color: var(--primary-red); } .newsletter-form { display: flex; gap: 8px; margin: 14px 0; } .newsletter-form input { flex: 1; padding: 10px; background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-sm); } .payment-methods-icons { display: flex; gap: 12px; font-size: 1.5rem; color: var(--text-muted); } .footer-bottom { border-top: 1px solid var(--border-color); padding: 20px 0; font-size: 0.85rem; color: var(--text-muted); } .footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; } /* Responsive Queries */ @media (max-width: 992px) { .product-detail-layout { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } .hero-slide { padding: 30px; } .hero-title { font-size: 1.8rem; } } @media (max-width: 768px) { .header-container { flex-wrap: wrap; } .header-search { order: 3; max-width: 100%; width: 100%; } .footer-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .payment-options { grid-template-columns: 1fr; } .chat-box { width: calc(100vw - 40px); right: -10px; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.23 |
proxy
|
phpinfo
|
Settings