Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/laciasmara.com/public_html/shop/themes/3/css/ |
Upload File : |
/* Import Open Sans font */ @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap'); html, body { height: 100%; margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } #tailwind * { all: unset; box-sizing: border-box; } #tailwind img { all: revert; } .msrp-price { display: block; font-size: 0.9em; font-style: italic; color: #666; margin-top: 4px; } .banner-container { position: relative; z-index: 1; height: 75px; background-size: cover; background-position: center; background-repeat: no-repeat; perspective: 1000px; overflow: hidden; transition: background-image 0.4s ease-in-out; } .banner-content { height: 100%; padding: 0 60px; display: flex; align-items: center; justify-content: space-between; max-width: 100%; opacity: 0; transform: translateY(-100%); transition: all 0.4s ease-in-out; flex-wrap: wrap; } /* Active banner */ .banner-content.active { opacity: 1; transform: translateY(0); z-index: 2; } .banner-content.hidden { opacity: 0; transform: translateY(100%); z-index: 1; } .banner-left { display: flex; align-items: center; gap: 16px; height: 100%; flex: 1; } .banner-image { width: 50px; height: 50px; object-fit: cover; flex-shrink: 0; } .banner-text { height: 100%; display: flex; align-items: center; flex: 1; /* Memastikan teks memenuhi ruang yang tersedia */ word-wrap: break-word; white-space: normal; } .banner-text h2 { font-size: clamp(14px, 4vw, 18px); font-weight: 700; margin: 0; line-height: 1.2; white-space: normal; overflow: hidden; text-overflow: ellipsis; color: white; } .banner-button { background-color: white; color: #7A4397; padding: 8px 12px; text-decoration: none; font-size: 14px; font-weight: 700; border-radius: 6px; white-space: nowrap; flex-shrink: 0; position: relative; overflow: hidden; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; height: fit-content; cursor: pointer; } .banner-button:hover { border: none; background: #7A4397; background: -webkit-linear-gradient(90deg, #7A4397, #9A67D5); background: -moz-linear-gradient(90deg, #7A4397, #9A67D5); background: -o-linear-gradient(90deg, #7A4397, #9A67D5); background: linear-gradient(90deg, #7A4397, #9A67D5); color: white; -webkit-box-shadow: 0 8px 15px rgba(122, 67, 151, 0.3); -moz-box-shadow: 0 8px 15px rgba(122, 67, 151, 0.3); box-shadow: 0 8px 15px rgba(122, 67, 151, 0.3); -webkit-transform: translateY(-2px) scale(1.02); -moz-transform: translateY(-2px) scale(1.02); -ms-transform: translateY(-2px) scale(1.02); transform: translateY(-2px) scale(1.02); } /* Active/Click Effect */ .banner-button:active { background: #653680; background: -webkit-linear-gradient(90deg, #653680, #8957B8); background: -moz-linear-gradient(90deg, #653680, #8957B8); background: -o-linear-gradient(90deg, #653680, #8957B8); background: linear-gradient(90deg, #653680, #8957B8); -webkit-transform: translateY(1px) scale(0.98); -moz-transform: translateY(1px) scale(0.98); -ms-transform: translateY(1px) scale(0.98); transform: translateY(1px) scale(0.98); -webkit-box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); -moz-box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); } .banner-button:focus { outline: none; box-shadow: 0 0 0 3px rgba(122, 67, 151, 0.3); } .banner-button:disabled { background: #E0E0E0; color: #888; cursor: not-allowed; transform: none; box-shadow: none; } .new-badge { background: #E94D7D; color: white; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: bold; display: inline-flex; align-items: center; height: fit-content; box-shadow: 0 2px 4px rgba(122, 67, 151, 0.2); } /* Navbar Container */ .navbar-container { position: sticky; width: 100%; background: #7A4397; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; overflow: visible; z-index: 1000; } .navbar-content { padding: 24px 60px; display: grid; grid-template-columns: 75px 1fr 75px; align-items: start; gap: 40px; max-width: 100%; overflow-y: visible; margin: 0 auto; } .navbar-fixed { position: fixed; top: 0; left: 0; z-index: 1000; animation: slideDown 0.3s ease-in-out; overflow: visible; } body.has-fixed-nav { padding-top: 130px; } .logo img { width: 120px; height: 75px; object-fit: cover; cursor: pointer; } /* Search Wrapper */ .search-wrapper { width: 100%; max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; } /* Search Container */ .search-container-desktop { position: relative; width: 100%; max-width: 600px; margin: 0 auto; } .search-form { display: flex; align-items: center; width: 100%; position: relative; } .search-input-desktop { width: 100%; padding: 10px 40px 10px 16px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; transition: border-color 0.3s ease; } .search-input-desktop:focus { outline: none; border-color: #c9a6df; box-shadow: 0 0 5px rgba(201, 166, 223, 0.7); } .search-icon-desktop { color: #aaa; width: 20px; height: 20px; } .search-button-desktop { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 8px; } /* Menu List */ .menu-list { margin: 0; padding: 0; list-style: none; display: flex; justify-content: center; gap: 24px; } .menu-link { color: white; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .menu-link:hover { color: #c9a6df; } .nav-right { display: flex; flex-direction: column; align-items: flex-end; } .nav-right-top { display: flex; align-items: center; gap: 16px; justify-content: flex-end; } .location { display: flex; align-items: center; gap: 8px; color: white; font-size: 14px; margin-top: 12px; } .location-icon { width: 16px; height: 16px; color: white; } .location-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; } .shopping-cart-icon { color: white; width: 20px; height: 20px; } .cart-icon { display: flex; align-items: center; gap: 8px; padding: 8px; position: relative; } .cart-icon .cart-count { position: absolute; top: -6px; right: -6px; background: #dc3545; color: white; font-size: 12px; font-weight: bold; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; border-radius: 50%; } @media (max-width: 768px) { .cart-icon .cart-count { font-size: 11px; width: 12px; } } .btn { text-decoration: none; padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: all 0.3s ease; } .btn-login-navbar { color: white; border: 1px solid #fff; } .btn-login-navbar:hover { background: white; color: #7A4397; } .btn-login-navbar:active { background: #dcc9e8; } .btn-register-navbar { background: white; color: #7A4397; } .btn-register-navbar:hover { background: #dcc9e8; } .btn-register-navbar:active { background: #d0bddb; } .flag-icon { width: 24px; height: auto; } /* Language Selector Styles */ .language-selector { position: relative; cursor: pointer; padding: 4px; } .language-selector-current { display: flex; align-items: center; gap: 8px; padding: 4px; } .flag-icon { width: 24px; height: auto; border-radius: 2px; } .language-dropdown { position: absolute; top: 140%; right: 0; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); min-width: 150px; opacity: 0; z-index: 999; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; } .language-selector:hover .language-dropdown { opacity: 1; visibility: visible; transform: translateY(0); } .language-option { display: flex; align-items: center; gap: 8px; padding: 12px 16px; text-decoration: none; color: #333; transition: background-color 0.3s ease; } .language-option:first-child { border-radius: 8px 8px 0 0; } .language-option:last-child { border-radius: 0 0 8px 8px; } .language-option:hover { background-color: #7A4397; color: white; } .language-option span { font-size: 14px; } /* Add a small arrow indicator */ .language-selector-current::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid white; margin-left: 4px; transition: transform 0.3s ease; } .language-selector:hover .language-selector-current::after { transform: rotate(180deg); /* Memutar panah 180 derajat segitiga*/ } /* Main Page */ /* Carousel Image */ .carousel-image { width: 100%; height: auto; object-fit: cover; aspect-ratio: 2.4 / 1; } .owl-carousel .item { transition: all 0.5s ease-in-out; opacity: 1; } .owl-carousel .item.animated { transition: all 0.5s ease-in-out; } .owl-carousel .owl-item { backface-visibility: hidden; transform: translateZ(0); -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0); } .owl-carousel .item img { transition: transform 0.5s ease-in-out; } .owl-carousel .item:hover img { cursor: pointer; transform: scale(1.02); } /* Carousel CTA */ .carousel-cta { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); color: white; max-width: 800px; z-index: 20; } .carousel-cta h2 { text-transform: uppercase; letter-spacing: 5px; font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; } .carousel-cta-button { display: inline-block; padding: 12px 30px; background-color: transparent; color: white; text-decoration: none; border-radius: 25px; border: 1px solid white; font-weight: 600; cursor: pointer; transition: all 0.3s ease; /* Perubahan semua properti untuk efek lebih halus */ } .carousel-cta-button:hover { border: none; background: linear-gradient(90deg, #7A4397, #9A67D5); background: -webkit-linear-gradient(90deg, #7A4397, #9A67D5); background: -moz-linear-gradient(90deg, #7A4397, #9A67D5); background: -o-linear-gradient(90deg, #7A4397, #9A67D5); background: linear-gradient(90deg, #7A4397, #9A67D5); color: white; /* Tambahkan gradien warna */ color: #fff; /* Pastikan warna teks tetap putih */ box-shadow: 0 8px 15px rgba(122, 67, 151, 0.3); /* Bayangan untuk kesan timbul */ transform: scale(1.05); /* Sedikit pembesaran saat hover */ } .carousel-cta-button:active { background: #653680; /* Fallback */ background: -webkit-linear-gradient(90deg, #653680, #8957B8); background: -moz-linear-gradient(90deg, #653680, #8957B8); background: -o-linear-gradient(90deg, #653680, #8957B8); background: linear-gradient(90deg, #653680, #8957B8); -webkit-transform: translateY(1px) scale(0.98); -moz-transform: translateY(1px) scale(0.98); -ms-transform: translateY(1px) scale(0.98); transform: translateY(1px) scale(0.98); -webkit-box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); -moz-box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); box-shadow: 0 4px 8px rgba(122, 67, 151, 0.2); } /* Focus Style for Accessibility */ .carousel-cta-button:focus { outline: none; box-shadow: 0 0 0 3px rgba(122, 67, 151, 0.3); } /* Custom Navigation Styles */ .owl-carousel .owl-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); z-index: 10; } .owl-carousel .owl-nav button.owl-prev, .owl-carousel .owl-nav button.owl-next { color: white !important; margin: 0; padding: 10px 15px; opacity: 0.5; position: absolute; background: transparent !important; transition: all 0.3s ease; } .owl-carousel .owl-nav button.owl-prev { left: 24px; } .owl-carousel .owl-nav button.owl-next { right: 24px; } /* Hover effect with shadow and gradient */ .owl-carousel .owl-nav button.owl-prev:hover, .owl-carousel .owl-nav button.owl-next:hover { background-color: #333; opacity: 1; transform: scale(1.1); } /* Navigation icons */ .owl-carousel .owl-nav button.owl-prev i, .owl-carousel .owl-nav button.owl-next i { font-size: 24px; transition: transform 0.3s ease; } .owl-carousel .owl-nav button.owl-prev:hover i, .owl-carousel .owl-nav button.owl-next:hover i { transform: scale(1.2); } /* Custom Dots Styles */ .owl-carousel .owl-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); } .owl-carousel .owl-dots .owl-dot span { background: white !important; width: 8px; height: 8px; margin: 0 5px; opacity: 0.7; transition: all 0.3s ease; } .owl-carousel .owl-dots .owl-dot.active span { background: white !important; opacity: 1; width: 16px; } /* Carousel Responsive */ @media (min-width: 768px) { .carousel-image { height: 600px; } } /* Best Seller */ .bestseller-section { max-width: 100%; margin: 0 auto; padding: 20px 60px; } .bestseller-header { font-size: clamp(18px, 4vw, 30px); font-weight: 700; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; text-align: center; letter-spacing: 0.08em; } .bestseller-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); border-radius: 2px; } .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } .product-card { border-radius: 8px; overflow: hidden; position: relative; background: white; transition: box-shadow 0.3s ease, transform 0.2s ease; cursor: pointer; } .add-to-cart-button { width: 100%; height: 44px; background-color: #7A4397; /* atau warna sesuai desain Anda */ color: white; border: none; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transform: translateY(100%); transition: all 0.3s ease; position: absolute; bottom: 0; left: 0; } .add-to-cart-button i { font-size: 16px; } /* Menampilkan button saat hover */ /* .product-card:hover .add-to-cart-button { transform: translateY(0); } */ .add-to-cart-button:hover { background-color: #8D4EAF; } .add-to-cart-button:active { background-color: #683880; } .product-image-container { width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; } .product-image { width: 100%; height: 100%; object-fit: contain; background-color: white; position: relative; transition: transform 0.5s ease, opacity 0.5s ease; } .secondary-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; } .product-card:hover .first_image { opacity: 0; transform: scale(0.95); } .product-card:hover .secondary-image { opacity: 1; transform: scale(1.05); } .image-wrapper { width: 100%; height: 100%; position: relative; } .product-title { font-size: 16px; color: #333; font-weight: 600; margin: 0 0 8px 0; line-height: 1.4; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 44px; } .product-price { margin: 8px 0; } .price-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; } .current-price { font-size: 16px; font-weight: 700; color: #2d3436; /* Add highlight for discounted price */ } .current-price.discounted { color: #ff4757; font-size: 18px; } .original-price { font-size: 14px; color: #636e72; text-decoration: line-through; font-weight: 500; opacity: 0.8; } .savings-amount { background: rgba(255, 255, 255, 0.95); color: #ff6b35; border: 1px solid #ff6b35; font-weight: 700; padding: 4px 8px; border-radius: 8px; font-size: 12px; display: inline-block; margin-top: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } @keyframes savingsGlow { 0% { box-shadow: 0 2px 6px rgba(0, 184, 148, 0.3); } 100% { box-shadow: 0 2px 10px rgba(0, 184, 148, 0.5); } } .price-highlight { position: relative; overflow: hidden; } .price-highlight::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); animation: priceShine 3s infinite; } @keyframes priceShine { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } } .rating-section { display: flex; align-items: center; gap: 6px; margin: 8px 0; } .rating-section .fa-star { color: #7A4397; font-size: 16px; } .review-text { color: #636e72; font-size: 13px; font-weight: 500; } .wishlist-button { position: absolute; bottom: 0; right: 0; background: none; border: none; cursor: pointer; padding: 8px 0; transition: all 0.3s ease; } .wishlist-button { position: absolute; bottom: 12px; right: 12px; /* background: rgba(255, 255, 255, 0.9); */ border: none; cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.3s ease; backdrop-filter: blur(5px); /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */ } .wishlist-button:hover { /* background: rgba(255, 255, 255, 1); */ transform: scale(1.1); /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); */ } .heart-container { position: relative; width: 20px; height: 20px; } .heart-container i { position: absolute; top: 0; left: 0; font-size: 20px; transition: all 0.3s ease; } .outline-heart.active { color: #636e72; opacity: 1; visibility: visible; } .filled-heart.active { color: #ff6b6b; opacity: 1; visibility: visible; } .heart-container i.loading { animation: pulse 1s infinite; opacity: 0.6; } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .see-all-button { display: flex; align-items: start; justify-content: flex-start; cursor: pointer; transition: transform 0.3s ease; overflow: hidden; } .see-all-image { max-width: 100%; max-height: 100%; object-fit: contain; } .see-all-button:hover { transform: scale(1.02); } .hot-sale-badge { position: absolute; top: 8px; left: 8px; z-index: 10; background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: white; padding: 6px 10px; border-radius: 16px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3); animation: badgePulse 2s infinite; } .new-arrivals-badge { background: linear-gradient(135deg, #667eea, #764ba2) !important; box-shadow: 0 2px 8px rgba(118, 75, 162, 0.3) !important; } @keyframes badgePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .hot-sale-content { display: flex; align-items: center; gap: 4px; } .hot-sale-content i.fa-fire { color: #FFD700; margin-right: 4px; animation: flicker 1.5s infinite alternate; } .hot-sale-content span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Discount Badge - NEW */ .discount-badge { position: absolute; top: 8px; right: 8px; background: linear-gradient(135deg, #ff4757, #c44569); color: white; padding: 4px 8px; border-radius: 12px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4); z-index: 10; } .discount-percentage { font-size: 14px; font-weight: 800; } /* Animation for the fire icon */ @keyframes flicker { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.1); } } .product-info { padding: 12px; position: relative; } .product-card:focus-within { outline: 2px solid #667eea; outline-offset: 2px; } .wishlist-button:focus { outline: 2px solid #667eea; outline-offset: 2px; } /* Loading State */ .product-card.loading { opacity: 0.7; pointer-events: none; } .product-card.loading::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); z-index: 100; } /* Sold Out State */ .product-card.sold-out { opacity: 0.6; } .product-card.sold-out::before { content: 'SOLD OUT'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(45, 52, 54, 0.9); color: white; padding: 8px 16px; border-radius: 4px; font-weight: 700; font-size: 14px; z-index: 10; } /* Benefit */ .benefit-section { padding: 60px 60px 20px; max-width: 1440px; margin: 0 auto; text-align: center; } .benefit-grid { display: grid; grid-template-columns: repeat(3, 250px); gap: 2rem; align-items: stretch; justify-content: center; align-items: center; } .benefit-item { background-color: white; /* border: 1px solid #e0e0e0; */ border-radius: 8px; padding: 24px; /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); */ transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: center; align-items: center; } .benefit-item:hover { transform: translateY(-5px); /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); */ } .benefit-icon { width: 200px; height: 200px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background-color: white; border-radius: 50%; overflow: hidden; } .benefit-icon img { width: 100%; height: 100%; object-fit: contain; } .benefit-title { font-size: 18px; font-weight: 600; color: #333333; margin-top: 16px; text-transform: capitalize; } /* Kategori */ .category-section { padding: 0px; text-align: center; } /* .category-header { font-size: 32px; font-weight: 700; color: #7A4397; } */ .category-header { font-size: clamp(18px, 4vw, 30px); font-weight: 700; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; text-align: center; letter-spacing: 0.08em; } .category-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); border-radius: 2px; } .category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .category-item { width: 100%; position: relative; height: 200px; display: flex; align-items: center; justify-content: center; border-radius: 4px; overflow: hidden; transition: transform 0.3s ease-in-out; text-decoration: none; } .category-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 1; transition: transform 0.3s ease-in-out; } .category-text { position: relative; z-index: 2; color: white; text-align: center; padding: 8px; font-size: 18px; font-weight: bold; transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out; } .category-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); z-index: 2; transition: background 0.3s ease-in-out; } .category-item:hover::before { background: rgba(0, 0, 0, 0.4); /* Overlay hitam lebih gelap saat hover */ } .category-item:hover .category-text { color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); } .category-item:hover .category-image { transform: scale(1.05); /* Sedikit perbesar skala gambar */ } .category-item .coming-soon { filter: grayscale(1); /* Ubah gambar menjadi abu-abu */ opacity: 0.8; pointer-events: none; } /* Testimonial */ .testimonial-section { padding: 20px 60px; max-width: 100%; margin: 0 auto; position: relative; } .testimonial-header { font-size: clamp(18px, 4vw, 30px); font-weight: 700; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; text-align: center; letter-spacing: 0.08em; } .testimonial-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); border-radius: 2px; } .testimonial-grid { display: flex; gap: 1rem; overflow-x: auto; padding: 1rem 0.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; } .testimonial-grid::-webkit-scrollbar { display: none; } .testimonial-card { flex: 0 0 300px; height: 350px; border-radius: 8px; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; scroll-snap-align: start; transition: transform 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: relative; cursor: pointer; } /* Random Background Classes */ .bg-gradient-1 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(10).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-2 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(11).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-3 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(12).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-4 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(13).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-5 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(14).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-6 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(15).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-7 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(16).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .bg-gradient-8 { background-image: url('https://storage.googleapis.com/laciasmara-photos/laciasmara_test/Laciasmara_testimonial/background/blurry-gradient-haikei%20(9).png'); background-size: cover; background-position: center; object-fit: cover; border-radius: 8px; } .testimonial-card:hover { transform: translateY(-5px); } .customer-image { width: 100px; height: 100px; border-radius: 50%; background: white; padding: 0.5rem; margin-bottom: 1rem; z-index: 1; } .customer-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; } .customer-name { font-weight: 600; font-size: 16px; margin-bottom: 0.5rem; color: white; } .product-name { font-size: 14px; color: white; height: 40px; margin-bottom: 0.75rem; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .star-rating { font-size: 18px; display: flex; gap: 0.25rem; margin-bottom: 1rem; } .star { color: #FFD700; font-size: 1.2rem; } .testimonial-text { font-size: 14px; line-height: 1.5; color: white; font-style: italic; display: -webkit-box; line-clamp: 4; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .scroll-bar { position: relative; width: 200px; height: 4px; background-color: rgba(122, 67, 151, 0.1); border-radius: 2px; overflow: hidden; margin: 2rem auto 0; } /* Progress Bar */ .scroll-progress { width: 0%; /* Mulai dari 0 */ height: 100%; background: linear-gradient(90deg, #7A4397, #AE64C4); /* Gradien lembut */ box-shadow: 0 4px 8px rgba(122, 67, 151, 0.6); /* Efek bayangan */ transition: width 0.2s ease-out; /* Transisi lebih halus */ } /* Chevron Style */ .chevron { position: absolute; top: 50%; transform: translateY(-30%); width: 44px; height: 44px; background: white; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border: none; z-index: 10; } .chevron i { color: #7A4397; font-size: 1rem; transition: color 0.3s ease; } .chevron:hover { background: #7A4397; transform: translateY(-35%) scale(1.02); } .chevron:hover i { color: white; } .chevron-left { left: 2.25rem; } .chevron-right { right: 2.25rem; } /* Brands */ .brands-section { padding: 0 60px; max-width: 100%; margin: 0 auto; position: relative; } .brands-header { font-size: clamp(18px, 4vw, 30px); font-weight: 700; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; text-align: center; letter-spacing: 0.08em; } .brands-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); border-radius: 2px; } .brand-item { flex: 1 0 auto; } .brands-carousel { width: 100%; max-width: none; overflow: hidden; } .brands-carousel .owl-carousel .owl-item { margin: 0 !important; padding: 0 !important; width: 100% !important; /* Biarkan Owl Carousel menghitung otomatis */ } .brand-image { width: 100px; height: 100px; object-fit: contain; transition: transform 0.3s ease; } .brand-item:hover .brand-image { transform: scale(1.1); } /* Custom Navigation for Brand Carousel */ .brands-carousel.owl-carousel .owl-nav { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); pointer-events: none; } .brands-carousel.owl-carousel .owl-nav button.owl-prev, .brands-carousel.owl-carousel .owl-nav button.owl-next { background: #f5f5f5 !important; color: #333 !important; width: 30px; height: 30px; border-radius: 50%; position: absolute; pointer-events: auto; opacity: 0.7; transition: opacity 0.3s ease; } .brands-carousel.owl-carousel .owl-nav button.owl-prev { left: 0; display: none; } .brands-carousel.owl-carousel .owl-nav button.owl-next { right: 0; display: none; } .brands-carousel.owl-carousel .owl-dots { display: none; } /* certification */ .certification-section { padding: 20px 60px; max-width: 100%; margin: 0 auto; } .certification-header { font-size: clamp(18px, 4vw, 30px); font-weight: 700; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; text-align: center; letter-spacing: 0.08em; } .certification-header::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: linear-gradient(135deg, #764ba2 0%, #764ba2 100%); border-radius: 2px; } .certification-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.5rem; justify-items: center; } .certification-item { background-color: white; border-radius: 12px; padding: 16px; /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */ transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; align-items: center; cursor: pointer; } .certification-item:hover { transform: translateY(-5px); /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */ background-color: white; } .certification-icon { width: 60px; height: 60px; margin-bottom: 10px; display: flex; justify-content: center; align-items: center; border-radius: 50%; /* background-color: #f0f0f0; */ } .certification-icon img { max-width: 80%; height: auto; } .certification-title { font-size: 1rem; font-weight: 600; color: #333; text-align: center; } /* Company Text */ .company-section { padding: 20px 60px; max-width: 100%; margin-bottom: 24px; } .company-text { font-size: 16px; margin: 0; color: #333; } /* Subscription */ .subscription-section { max-width: 100%; height: 120px; background-image: url("https://storage.googleapis.com/laciasmara-photos/laciasmara_test/blurry-gradient-haikei%20(5).png"); background-size: cover; background-position: center; padding: 16px 60px; display: flex; align-items: center; justify-content: space-between; } .subscription-header { display: flex; flex-direction: column; gap: 8px; } .subscription-header h1 { font-size: 32px; color: white; margin: 0; } .subscription-header p { font-size: 16px; color: white; margin: 0; max-width: 500px; /* Atur lebar maksimal */ line-height: 1.5; } .subscription-form { display: flex; align-items: center; gap: 1rem; } .subscription-email-input { flex: 1; width: 350px; max-width: 500px; height: 48px; padding: 0 16px; font-size: 16px; color: #333; background-color: white; border: 1px solid #ccc; border-radius: 8px; box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; box-sizing: border-box; } .subscription-email-input::placeholder { color: #aaa; } /* Efek Hover */ .subscription-email-input:hover { border-color: #7a4397; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); } /* Efek Fokus */ .subscription-email-input:focus { outline: none; border-color: #7a4397; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); } /* Efek Aktif */ .subscription-email-input:active { background-color: #f9f9f9; border-color: #7a4397; } /* Disabled State */ .subscription-email-input:disabled { background-color: #f5f5f5; color: #aaa; border-color: #ddd; cursor: not-allowed; } .subscription-button { height: 48px; padding: 0 24px; background-color: transparent; color: white; font-size: 16px; font-weight: 600; border: 1px solid white; border-radius: 8px; cursor: pointer; position: relative; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; } /* Hover Effect */ .subscription-button:hover { background-color: rgba(255, 255, 255, 0.2); /* Sedikit highlight transparan */ color: white; border: 1px solid white; /* Tetap solid */ } /* Active Effect */ .subscription-button:active { transform: scale(0.96); /* Sedikit efek tekan */ background-color: rgba(255, 255, 255, 0.3); /* Sedikit lebih gelap saat ditekan */ } /* Focus Effect */ .subscription-button:focus { outline: 2px solid rgba(255, 255, 255, 0.6); /* Ring tipis untuk aksesibilitas */ outline-offset: 2px; } /* Footer */ footer { background-color: #7A4397; color: white; font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; } .footer-container { max-width: 1440px; height: max-content; max-height: fit-content; padding: 24px 60px; display: grid; grid-template-columns: repeat(3, 1fr) 2fr; column-gap: 4rem; row-gap: 2rem; } .footer-column { display: flex; flex-direction: column; } .footer-column:last-child { align-items: center; text-align: center; justify-content: center; margin: 0; } .footer-column:last-child h1 { margin-top: 0; } .footer-section { display: flex; flex-direction: column; } .footer-section i.nav-dropdown { display: none; } .footer-section p { font-size: 16px; padding: 1rem 1.5rem; line-height: 1.2rem; font-weight: 600; } .footer-section h1 { font-size: 24px; line-height: 1.5rem; font-weight: 700; } .footer-section h3 { font-size: 1.2rem; font-weight: 600; } .footer-section ul { list-style: none; padding: 0; margin: 0; } .footer-section li { margin-bottom: 0.75rem; } .footer-section a { color: white; text-decoration: none; font-size: 0.9rem; } .footer-section a:hover { color: #dcc9e8; } .footer-asmaradoor { margin: 0; } .footer-asmaradoor-image { margin-top: 16px; border-radius: 5px; height: 75px; max-width: 100%; object-fit: contain; } .payment-methods { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; /* margin-top: 1rem; */ } .payment-methods img { height: 32px; width: 48px; object-fit: contain; opacity: 0; transition: all 0.3s ease; cursor: pointer; padding: 4px; } .payment-methods .skeleton-loader { height: 32px; width: 48px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 100%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; padding: 4px; border-radius: 4px; } .payment-methods img.loaded { opacity: 1; } .payment-methods img:active { transform: scale(0.95); } .payment-methods img:hover { transform: scale(1.1); opacity: 1; /* background: rgba(255, 255, 255, 0.1); */ } .partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; /* margin-top: 1rem; */ } .partner-icon { background: white; border-radius: 5px; padding: 1rem; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; } .social-links { display: flex; gap: 0.75rem; } .social-links a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.1); transition: background 0.3s; } .social-links a:hover { background: rgba(255, 255, 255, 0.2); } .footer-bottom { width: 100%; text-align: center; padding: 28px 120px; box-sizing: border-box; } .footer-bottom p { margin-top: 0; margin-bottom: 12px; font-size: 16px; padding: 0; } /* Styling untuk tombol Scroll to Top (FAB) */ .fab-scroll-to-top { position: fixed; bottom: 20px; right: 20px; background-color: #7A4397; color: white; border-radius: 50%; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); cursor: pointer; font-size: 20px; z-index: 1002; transition: bottom 0.3s ease, transform 0.3s ease; } .fab-scroll-to-top:hover { background-color: #9b62b0; transform: translateY(-5px); } /* Styling untuk Floating Box */ .floating-box { position: fixed; bottom: 160px; right: 20px; background-color: #fff; border-radius: 8px; padding: 15px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); max-width: 300px; z-index: 999; display: flex; justify-content: space-between; align-items: center; transition: opacity 0.3s ease; } .floating-box-text { font-size: 14px; color: #333; margin: 0; } .close-btn { background: none; border: none; font-size: 18px; font-weight: bold; color: #7A4397; cursor: pointer; padding: 0; margin-left: 10px; } .close-btn i { font-size: 20px; } /* Floating Action Button (FAB) Styling */ .fab-container { position: fixed; bottom: 90px; right: 20px; z-index: 1001; } .fab-container .fab { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background-color: #25D366; border-radius: 50%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: background-color 0.3s ease, transform 0.2s ease; text-decoration: none; } .fab-icon { font-size: 32px; color: white; } @keyframes slideFromRight { 0% { transform: translateX(100%); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } } /* Bottom Navigation Styles */ /* Keyframes untuk Bottom Nav */ @keyframes slideNavUp { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } /* Keyframes untuk Nav Items */ @keyframes slideItemsUp { 0% { transform: translateY(20px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } } /* Keyframes untuk Middle Item */ @keyframes slideMiddleUp { 0% { transform: translateY(100%); opacity: 0; } 100% { transform: translateY(-15px); opacity: 1; } } .bottom-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #7A4397; border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 8px 0 12px 0; z-index: 1000; box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } @media (max-width: 768px) { .bottom-nav { display: block; } } .nav-container { display: flex; justify-content: space-around; align-items: center; max-width: 600px; margin: 0 auto; padding: 0 10px; } .nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: rgba(255, 255, 255, 0.7); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 8px 6px; border-radius: 12px; position: relative; min-width: 50px; max-width: 80px; border:none; flex:1; } .nav-item:hover { color: #ffffff; background: rgba(255, 255, 255, 0.1); } .nav-item.active { color: #ffffff; background: rgba(255, 255, 255, 0.15); } #account-button, #category-button { cursor:pointer; background: transparent; } .nav-item svg { width: 22px; height: 22px; stroke-width: 2; margin-bottom: 4px; transition: transform 0.3s ease; } .nav-item:hover svg { transform: translateY(-2px); } .nav-item span { font-size: 10px; font-weight: 500; white-space: nowrap; letter-spacing: 0.5px; text-overflow: ellipsis; } /* Remove special category button styling - keep it consistent */ /* Badge for wishlist count */ /* .nav-badge { position: absolute; top: 2px; right: 8px; background: #ff4757; color: white; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 10px; min-width: 18px; text-align: center; transform: scale(0.9); } */ /* Category Dropdown */ .footer-category-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px); z-index: 1100; opacity: 0; visibility: hidden; transition: all 0.3s ease; } .footer-category-overlay.active { opacity: 1; visibility: visible; } .footer-category-dropdown { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-radius: 20px 20px 0 0; max-height: 70vh; overflow-y: auto; z-index: 1200; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .footer-category-dropdown.active { transform: translateY(0); } .dropdown-header { padding: 20px; border-bottom: 1px solid #f1f3f4; display: flex; justify-content: space-between; align-items: center; background: #7A4397; color: white; border-radius: 20px 20px 0 0; } .dropdown-header h3 { font-size: 18px; font-weight: 600; } .footer-close-btn { background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s ease; } .footer-close-btn:hover { background: rgba(255, 255, 255, 0.3); } .footer-category-grid { padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } .footer-category-section { background: #f8f9fa; border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; } .footer-category-section:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .footer-category-header { background: white; padding: 16px; border-bottom: 1px solid #e9ecef; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; } .footer-category-header:hover { background: #f8f9fa; } .footer-category-header h4 { font-size: 14px; font-weight: 600; color: #333333; margin: 0; } .footer-category-header .footer-chevron { width: 18px; height: 18px; transition: transform 0.3s ease; color: rgb(85, 85, 85); } .footer-category-section.active .footer-chevron { transform: rotate(180deg); } .footer-category-links { padding: 0; max-height: 0; overflow: hidden; transition: all 0.3s ease; } .footer-category-section.active .footer-category-links { max-height: 300px; padding: 8px 0; } .footer-category-links a { display: block; padding: 12px 20px; color: #6c757d; text-decoration: none; font-size: 13px; transition: all 0.3s ease; border-left: 3px solid transparent; } .footer-category-links a:hover { background: white; color: #7A4397; border-left-color: #7A4397; transform: translateX(4px); } /* Quick actions for main categories */ .quick-actions { padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; } .quick-action { background: #ffffff; border: 1px solid #e9ecef; color: #333333; text-decoration: none; padding: 16px 12px; border-radius: 12px; text-align: center; font-size: 12px; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .quick-action:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); color: #7A4397; border-color: #7A4397; } @media (max-width: 360px) { .nav-item { padding: 6px 4px; min-width: 45px; } .nav-item svg { width: 20px; height: 20px; } } /* Responsive adjustments */ @media (max-width: 480px) { .footer-category-grid { grid-template-columns: 1fr; padding: 16px; } .quick-actions { grid-template-columns: repeat(2, 1fr); } } /* Animation for smooth appearance */ @keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .bottom-nav { animation: slideUp 0.5s ease-out; } /* Fullscreen search */ /* Fullscreen Search Overlay */ .fullscreen-search-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); z-index: 2000; opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .fullscreen-search-overlay.active { opacity: 1; visibility: visible; } /* Search Container */ .fullscreen-search-container { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .fullscreen-search-overlay.active .fullscreen-search-container { transform: translateY(0); } /* Search Header */ .fullscreen-search-header { background: #7A4397; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: relative; width: 100%; box-sizing: border-box; } .search-header-content { max-width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 15px; box-sizing: border-box; } .fullscreen-search-close { background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } .fullscreen-search-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); } /* Search Input Container */ .fullscreen-search-input-container { flex: 1; position: relative; min-width: 0; width: 100%; } .fullscreen-search-form { display: flex; align-items: center; background: rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 0; backdrop-filter: blur(10px); border: 2px solid transparent; transition: all 0.3s ease; } .fullscreen-search-form:focus-within { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.2); } .fullscreen-search-input { flex: 1; background: transparent; border: none; padding: 12px 16px; color: white; font-size: 16px; outline: none; min-width: 0; border-radius: 16px; } .fullscreen-search-input::placeholder { color: rgba(255, 255, 255, 0.7); } .fullscreen-search-button { background: transparent; border: none; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; margin-right: 4px; } .fullscreen-search-button:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); } /* Search Content Area */ .fullscreen-search-content { flex: 1; overflow-y: auto; background: #f8f9fa; } /* Search Suggestions (when no query) */ .search-suggestions { max-width: 800px; margin: 0 auto; padding: 30px 20px; } .search-suggestions h3 { color: #333333; font-size: 18px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; } .suggestions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-bottom: 30px; } .suggestion-item { background: white; border: 1px solid #e9ecef; border-radius: 12px; padding: 18px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; position: relative; overflow: hidden; } .suggestion-item::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(122, 67, 151, 0.1), transparent); transition: left 0.5s ease; } .suggestion-item:hover::before { left: 100%; } .suggestion-item:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(122, 67, 151, 0.15); border-color: #7A4397; } .suggestion-image { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f8f9fa, #e9ecef); position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .suggestion-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: all 0.3s ease; opacity: 1; } .suggestion-item:hover .suggestion-image img { transform: scale(1.1); } .image-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(122, 67, 151, 0.1), rgba(30, 144, 255, 0.1)); opacity: 0; transition: opacity 0.3s ease; } .suggestion-item:hover .image-overlay { opacity: 1; } /* Enhanced fallback icon */ .suggestion-icon-fallback { background: linear-gradient(135deg, #7A4397, #9b59b6); color: white; width: 100%; height: 100%; border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; } .suggestion-icon-fallback::before { content: ''; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 10px; } .suggestion-icon-fallback svg { width: 22px; height: 22px; z-index: 1; } .suggestion-text { flex: 1; } .suggestion-title { font-weight: 600; color: #2c3e50; margin-bottom: 4px; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .suggestion-subtitle { font-size: 13px; color: #7f8c8d; display: flex; align-items: center; gap: 4px; } .product-count { font-weight: 600; color: #7A4397; } .trending-searches { display: flex; flex-wrap: wrap; gap: 10px; } .trending-tag { background: white; border: 1px solid #dee2e6; color: #333333; padding: 8px 16px; border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; } .trending-tag:hover { background: #7A4397; color: white; border-color: #7A4397; transform: translateY(-1px); } /* Search Results */ .fullscreen-search-results { max-width: 800px; margin: 0 auto; padding: 20px; } .search-result-header { color: #333333; font-size: 16px; font-weight: 600; margin-bottom: 20px; padding: 16px 20px; background: white; border-radius: 12px; /* border-left: 4px solid #7A4397; */ } .search-result-section { background: white; border-radius: 12px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); } .search-result-section-title h3{ color: #333333; font-size: 18px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 0 20px; } .search-result-item { padding: 16px 20px; cursor: pointer; transition: all 0.3s ease; border-bottom: 1px solid #f1f3f4; position: relative; } .search-result-item.has-discount { border-left: 3px solid #e74c3c; } .search-discounted-price, .search-current-price { color: #e74c3c; font-weight: bold; font-size: 14px; } .search-regular-price { color: #2c3e50; font-weight: 600; font-size: 14px; } .search-original-price, .search-old-price { color: #95a5a6; font-size: 12px; text-decoration: line-through; font-weight: normal; } /* Brand styling */ .search-result-brand { color: #7f8c8d; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; display: block; } /* Discount badge alternative */ .search-discount-badge { position: absolute; top: 5px; right: 5px; background: #e74c3c; color: white; padding: 2px 6px; border-radius: 12px; font-size: 10px; font-weight: bold; z-index: 2; } .search-result-item:last-child { border-bottom: none; } .search-result-item:hover { background: #f8f9fa; /* transform: translateX(5px); */ } .search-result-content { display: flex; align-items: center; gap: 15px; } .search-result-image { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; } .search-result-text { flex: 1; display: flex; flex-direction: column; gap: 2px; } .search-result-title { font-weight: 600; color: #333333; margin-bottom: 4px; line-height: 1.3; } .search-result-subtitle { font-size: 14px; color: #6c757d; } /* Loading State */ .search-loading { display: flex; align-items: center; justify-content: center; padding: 40px; color: #6c757d; } .loading-spinner { width: 24px; height: 24px; border: 2px solid #e9ecef; border-top: 2px solid #7A4397; border-radius: 50%; animation: spin 1s linear infinite; margin-right: 10px; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @media (max-width: 768px) { .search-discount-flag { font-size: 10px; padding: 3px 6px; } .search-price-container, .search-price-display { gap: 1px; } .search-discounted-price, .search-current-price { font-size: 13px; } .search-original-price, .search-old-price { font-size: 11px; } } /* Empty State */ .search-empty { text-align: center; padding: 20px 20px; color: #6c757d; } .search-empty-icon { width: 80px; height: 80px; margin: 0 auto 20px; opacity: 0.5; } /* Responsive Design */ @media (max-width: 768px) { .fullscreen-search-header { padding: 15px; } .suggestions-grid { grid-template-columns: 1fr; gap: 12px; } .search-suggestions { padding: 20px 15px; } .fullscreen-search-results { padding: 15px; } } /* Animation for smooth entry */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .search-result-section { animation: fadeInUp 0.3s ease-out; } .suggestion-item { animation: fadeInUp 0.3s ease-out; } /* End of fullscreen search */ .title_link { text-decoration: none; color: #333; font-weight: 600; transition: color 0.2s ease; } .title_link:hover { color: #7A4397; text-decoration: none; } .certification-carousel.owl-carousel { display: none !important; } /* Product Badge */ .product-badges-container { position: absolute; top: 8px; left: 8px; z-index: 10; display: flex; flex-direction: column; gap: 6px; max-width: calc(100% - 16px); } /* Base Badge Styles */ .product-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); animation: badgePulse 2s infinite; backdrop-filter: blur(4px); max-width: fit-content; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Position-based positioning */ .product-badges-container.position-top-left { top: 8px; left: 8px; } .product-badges-container.position-top-right { top: 8px; right: 8px; left: auto; align-items: flex-end; } .product-badges-container.position-bottom-left { bottom: 8px; top: auto; left: 8px; } .product-badges-container.position-bottom-right { bottom: 8px; top: auto; right: 8px; left: auto; align-items: flex-end; } .product-badges-container.position-center { top: 50%; left: 50%; transform: translate(-50%, -50%); align-items: center; } /* Badge Icon Styles */ .badge-icon { font-size: 12px; line-height: 1; display: inline-block; } .badge-icon.emoji { font-style: normal; font-size: 10px; } .badge-icon.fa, .badge-icon.fas, .badge-icon.far, .badge-icon.fab { font-size: 10px; } /* Badge Text */ .badge-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Badge Animations */ @keyframes badgePulse { 0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } 50% { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } } @keyframes badgeGlow { 0%, 100% { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } 50% { box-shadow: 0 0 20px rgba(231, 176, 8, 0.6); } } /* Special animations for specific badge types */ .product-badge.priority-1 { animation: badgeGlow 2s infinite; } .product-badge.priority-2 { animation: badgePulse 2.5s infinite; } .product-badge.priority-3 { animation: none; } /* Responsive adjustments */ @media (max-width: 768px) { .product-badges-container { gap: 4px; top: 6px; left: 6px; right: 6px; } .product-badge { padding: 4px 8px; font-size: 10px; border-radius: 12px; } .badge-text { max-width: 150px; } .badge-icon { font-size: 9px; } .badge-icon.emoji { font-size: 8px; } } @media (max-width: 480px) { .product-badges-container { gap: 3px; top: 4px; left: 4px; right: 4px; } .product-badge { padding: 3px 6px; font-size: 9px; border-radius: 10px; } .badge-text { max-width: 150px; } } @media (min-width: 769px) and (max-width: 1024px) { /* Navbar */ .navbar-container { width: 100%; z-index: 1001; } .navbar-content { padding: 16px 40px; display: grid; grid-template-columns: 65px 1fr auto; gap: 16px; max-width: 100%; } /* Logo */ .logo img { width: 75px; height: 55px; object-fit: contain; } /* Search Wrapper */ .search-wrapper { max-width: 100%; width: 100%; } /* Menu List - buat menu lebih compact */ .menu-list { gap: 16px; } .menu-link { font-size: 14px; } /* Dropdown - agar tidak terlalu lebar dan keluar dari viewport */ .dropdown-content { min-width: 600px; max-width: 700px; padding: 12px; } /* Nav Right - susun ulang untuk mencegah tumpang tindih */ .nav-right { display: flex; flex-direction: column; align-items: flex-end; } .nav-right-top { display: flex; align-items: center; gap: 8px; } /* Buttons */ .btn { padding: 6px 12px; font-size: 13px; } /* Language selector */ .language-selector { margin-left: 8px; } /* Location */ .location { margin-top: 6px; font-size: 12px; } .location-text { max-width: 120px; } /* Cart */ .cart-icon-container { position: relative; } /* Cart dropdown */ .cart-dropdown { right: 0; width: 300px; } /* Customer dropdown menu */ .customer-dropdown-menu { right: 0; left: auto; } .search-container-desktop { position: relative; width: 90%; } .banner-content { padding: 0 40px; } .bestseller-section { padding: 0 40px; } .testimonial-section { padding: 0 40px; } .brands-section { padding: 0 40px; } .benefit-section { padding: 20px 40px; } .certification-section { padding: 0 40px; } .company-section { padding: 0 40px; } .subscription-section { padding: 12px 40px; } .subscription-header h1 { font-size: 24px; } .subscription-header p { font-size: 12px; color: white; } .footer-container { padding: 16px 40px; } .footer-bottom { padding: 16px 40px; } } /* Best Seller Responsive */ @media (max-width: 768px) { /* Category */ .category-grid { gap: 2px; } .category-item { height: 100px; } .category-header { font-size: 20px; } .category-header::after { bottom: -5px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; } .category-text { font-size: 12px; } /* Best Seller */ .bestseller-section { padding: 0 20px; } .bestseller-header { font-size: 20px; } .bestseller-header::after { bottom: -5px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; } .product-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 4px; align-items: start; } .product-card { padding-bottom: 16px; } .product-info{ padding: 6px; } .product-title { font-size: 14px; height: 40px; } .current-price { font-size: 14px; } .current-price.discounted { font-size: 16px; } .original-price { font-size: 12px; } .rating-section { margin: 8px 0; } .rating-section .fa-star { font-size: 14px; } .review-text { font-size: 10px; } .wishlist-button .heart-container i { font-size: 16px; } .wishlist-button { bottom: 8px; padding: 0; } .add-to-cart-button { display: none; } .product-card:hover .add-to-cart-button { transform: none; } /* Testimonial */ .testimonial-section { padding: 0 20px; max-width: 100%; } .testimonial-header { font-size: 20px; } .testimonial-header::after { bottom: -5px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; } .testimonial-grid { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem; scroll-snap-type: x mandatory; } .testimonial-card { flex: 0 0 175px; height: 250px; padding: 1rem; border-radius: 8px; } .customer-image { width: 65px; height: 65px; margin-bottom: 0.75rem; } .customer-name { font-size: 10px; margin-bottom: 0.5rem; } .product-name { font-size: 12px; margin: 0; } .star-rating { font-size: 14px; margin-bottom: 0.75rem; } .testimonial-text { font-size: 10px; line-clamp: 3; -webkit-line-clamp: 3; height: 45px; } .scroll-bar { width: 150px; margin: 1rem auto 0; } .chevron { display: none; } /* Brands */ .brands-section { padding: 0 20px; } .brands-header { font-size: 20px; margin-bottom: 0; } .brands-header::after { bottom: -5px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; } .brand-item { padding: 8px; margin: 0 8px; } /* Certification */ .certification-grid { display: none !important; } .certification-carousel.owl-carousel { display: block !important; } .certification-section { padding: 0; margin: 0; } .certificaiton-header { font-size: 20px; } .certificaiton-header::after { bottom: -5px; left: 50%; transform: translateX(-50%); width: 30px; height: 2px; } .certification-grid { grid-template-columns: repeat(3, 1fr); } .certification-title { font-size: 14px; } /* Company */ .company-section { padding: 20px; } .company-text { font-size: 14px; } /* Subscription */ .subscription-section { height: auto; padding: 20px; flex-direction: column; align-items: center; text-align: center; gap: 12px; } .subscription-header { margin-bottom: 16px; } .subscription-header h1 { font-size: 20px; } .subscription-header p { font-size: 14px; max-width: 100%; line-height: 1.5; } .subscription-form { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; } .subscription-email-input { width: 100%; max-width: none; height: 40px; font-size: 14px; padding: 12px 16px; margin: 0; } .subscription-button { width: 100%; height: 40px; padding: 12 16px; } /* Benefit */ .benefit-section { margin-top: 24px; padding: 0; } .benefit-grid { grid-template-columns: repeat(3, 100px); gap: 14px; } .benefit-item { padding: 16px; } .benefit-icon { width: 100px; height: 100px; } .benefit-icon img { width: 100%; height: 100%; } .benefit-title { font-size: 14px; } .carousel-image { height: 175px; } .carousel-cta { top: 40%; left: 5%; max-width: 100%; } .carousel-cta h2 { letter-spacing: 2px; margin-bottom: 10px; font-size: 0.7rem; } .carousel-cta-button { padding: 6px 8px; font-size: 8px; } .owl-carousel .owl-nav button.owl-prev { display: none; } .owl-carousel .owl-nav button.owl-next { display: none; } .owl-carousel .owl-dots { bottom: 2px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 0 !important; } .owl-carousel .owl-dots .owl-dot { padding: 0; margin: 0; touch-action: manipulation; } .owl-carousel .owl-dots .owl-dot span { width: 6px !important; height: 6px !important; margin: 5px !important; background: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; display: block; border-radius: 50%; } .owl-carousel .owl-dots .owl-dot.active span { width: 16px !important; background: white; border-radius: 4px; } /* Animasi hover state */ .owl-carousel .owl-dots .owl-dot:hover span { background: rgba(255, 255, 255, 0.8); } .hot-sale-content { font-size: 8px; padding: 3px 6px; } .hot-sale-content span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hot-sale-badge { font-size: 10px; padding: 4px 8px; } .floating-box { bottom: 147px; padding: 12px; right: 78px; animation: slideFromRight 0.5s ease-out; } .floating-box-text { align-items: center; font-size: 14px; font-weight: 500; } .close-btn i { font-size: 14px; } .fab-scroll-to-top { width: 50px; height: 50px; font-size: 16px; bottom: 72px; animation: slideFromRight 0.5s ease-out; } .fab-container { bottom: 145px; animation: slideFromRight 0.3s ease-out; } .fab-container .fab { width: 50px; height: 50px; } .fab-icon { font-size: 24px; } .footer-container { height: fit-content; display: flex; flex-direction: column; gap: 0; padding-top: 24px; padding-left: 20px; padding-right: 20px; padding-bottom: 0; } small { font-size: 10px; } .footer-column { width: 100%; } .footer-section nav { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.3s ease; } .footer-section nav.open { max-height: 300px; opacity: 1; } .footer-section h3 { font-size: 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; } .footer-section i.nav-dropdown { display: inline-block; transition: transform 0.3s ease-in-out; } .footer-section h3:focus { text-decoration-line: none; } .footer-section i.nav-dropdown.rotate { transform: rotate(180deg); } .payments-section { margin-top: 8px; margin-bottom: 8px; } .footer-section p { font-size: 12px; } .footer-asmaradoor { margin-bottom: 8px; } .partners { display: grid; grid-template-columns: repeat(4, 75px); gap: 0.5rem; } .footer-bottom { padding-top: 30px; padding-left: 20px; padding-right: 20px; padding-bottom: 120px; } .footer-column:last-child { align-items: center; text-align: center; justify-content: center; margin-top: 30px; } .footer-column:last-child h1 { margin: 0; font-size: 20px; } }