822 lines
13 KiB
CSS
822 lines
13 KiB
CSS
/* Import Amsterdam Three Font */
|
|
@font-face {
|
|
font-family: 'Amsterdam Three';
|
|
src: url('/assets/fonts/AmsterdamThreeSlant-axaym.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
/* Modern Navbar Styles */
|
|
.modern-navbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
background: #FFD0D0;
|
|
box-shadow: none;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
.navbar-wrapper {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 0 24px;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
height: 72px;
|
|
}
|
|
|
|
/* Logo Section */
|
|
.navbar-brand {
|
|
flex-shrink: 0 !important;
|
|
min-width: 240px !important;
|
|
margin-right: 48px !important;
|
|
}
|
|
|
|
.brand-link {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 20px !important;
|
|
text-decoration: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.brand-link:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 56px;
|
|
height: 56px;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-family: 'Amsterdam Three', cursive;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
color: #202023;
|
|
letter-spacing: 0.5px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Main Navigation */
|
|
.navbar-menu {
|
|
flex: 1 !important;
|
|
display: flex !important;
|
|
justify-content: center !important;
|
|
padding: 0 60px !important;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.nav-menu-list {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 8px !important;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.nav-item {
|
|
margin: 0;
|
|
}
|
|
|
|
.nav-link {
|
|
display: block;
|
|
padding: 10px 20px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: #202023;
|
|
text-decoration: none;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link.active {
|
|
color: #202023;
|
|
background: #FCB1D8;
|
|
}
|
|
|
|
/* Right Actions */
|
|
.navbar-actions {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 16px !important;
|
|
flex-shrink: 0 !important;
|
|
min-width: 120px !important;
|
|
justify-content: flex-end !important;
|
|
margin-left: 48px !important;
|
|
}
|
|
|
|
.action-item {
|
|
position: relative;
|
|
}
|
|
|
|
.action-btn {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #202023;
|
|
font-size: 22px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.action-btn:hover {
|
|
background: #FFEBEB;
|
|
color: #202023;
|
|
}
|
|
|
|
.action-badge {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
background: #FCB1D8;
|
|
color: #202023;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
border-radius: 9px;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.action-badge.show {
|
|
display: flex;
|
|
}
|
|
|
|
/* Dropdown Styles */
|
|
.action-dropdown {
|
|
position: absolute;
|
|
top: calc(100% + 16px);
|
|
right: 0;
|
|
width: 380px;
|
|
max-height: 500px;
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
display: none;
|
|
flex-direction: column;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.action-dropdown.active {
|
|
display: flex;
|
|
}
|
|
|
|
.dropdown-head {
|
|
padding: 20px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.dropdown-head h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.dropdown-close {
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #6b7280;
|
|
font-size: 18px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.dropdown-close:hover {
|
|
background: #f3f4f6;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.dropdown-body {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
max-height: 350px;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: #9ca3af;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.dropdown-foot {
|
|
padding: 16px 20px;
|
|
border-top: 1px solid #e5e5e5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.cart-summary {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.summary-label {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.summary-value {
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary-full,
|
|
.btn-outline,
|
|
.btn-text {
|
|
display: block;
|
|
text-align: center;
|
|
padding: 12px 20px;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-primary-full {
|
|
background: #6b46c1;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary-full:hover {
|
|
background: #5936a3;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: #6b46c1;
|
|
border: 1px solid #6b46c1;
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: #f3f0ff;
|
|
}
|
|
|
|
.btn-text {
|
|
background: transparent;
|
|
color: #6b7280;
|
|
padding: 8px;
|
|
}
|
|
|
|
.btn-text:hover {
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
/* Mobile Toggle */
|
|
.mobile-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
width: 44px;
|
|
height: 44px;
|
|
padding: 10px;
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.mobile-toggle:hover {
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.toggle-line {
|
|
width: 100%;
|
|
height: 2px;
|
|
background: #4a4a4a;
|
|
border-radius: 2px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
/* Mobile Menu */
|
|
.mobile-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 320px;
|
|
height: 100vh;
|
|
background: white;
|
|
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
|
|
z-index: 1002;
|
|
transition: right 0.3s ease;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mobile-menu.active {
|
|
right: 0;
|
|
}
|
|
|
|
.mobile-menu-header {
|
|
padding: 24px;
|
|
border-bottom: 1px solid #e5e5e5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.mobile-brand {
|
|
font-family: 'Amsterdam Three', cursive;
|
|
font-size: 22px;
|
|
font-weight: 400;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.mobile-close {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
background: transparent;
|
|
color: #6b7280;
|
|
font-size: 20px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-close:hover {
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.mobile-menu-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 16px;
|
|
}
|
|
|
|
.mobile-menu-list li {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.mobile-link {
|
|
display: block;
|
|
padding: 14px 16px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #4a4a4a;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.mobile-link:hover,
|
|
.mobile-link.active {
|
|
color: #6b46c1;
|
|
background: #f3f0ff;
|
|
}
|
|
|
|
/* Responsive Design - Mobile & Tablet (up to 1024px includes all iPads) */
|
|
@media (max-width: 1024px) {
|
|
.navbar-menu {
|
|
display: none !important;
|
|
}
|
|
|
|
.mobile-toggle {
|
|
display: flex !important;
|
|
}
|
|
|
|
.navbar-brand {
|
|
min-width: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.navbar-actions {
|
|
margin-left: 16px;
|
|
}
|
|
|
|
/* Wider mobile menu for tablets */
|
|
.mobile-menu {
|
|
width: 350px;
|
|
max-width: 85%;
|
|
}
|
|
|
|
.mobile-link {
|
|
padding: 16px 20px;
|
|
font-size: 17px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.navbar-wrapper {
|
|
padding: 0 16px;
|
|
height: 64px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.navbar-brand {
|
|
min-width: auto;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.navbar-actions {
|
|
margin-left: 12px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.action-dropdown {
|
|
width: 100vw;
|
|
max-width: 380px;
|
|
right: -16px;
|
|
}
|
|
}
|
|
|
|
/* Tablet-specific (iPad) enhancements - portrait and landscape */
|
|
@media (min-width: 641px) and (max-width: 1024px) {
|
|
.navbar-wrapper {
|
|
padding: 0 24px;
|
|
height: 72px;
|
|
}
|
|
|
|
.brand-logo {
|
|
width: 52px;
|
|
height: 52px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* Larger hamburger menu for tablets */
|
|
.mobile-toggle {
|
|
width: 48px;
|
|
height: 48px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.toggle-line {
|
|
width: 26px;
|
|
height: 3px;
|
|
}
|
|
|
|
/* Wider mobile menu for tablets */
|
|
.mobile-menu {
|
|
width: 380px;
|
|
max-width: 75%;
|
|
padding: 24px;
|
|
}
|
|
|
|
.mobile-menu-header {
|
|
padding-bottom: 20px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.mobile-brand {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.mobile-close {
|
|
font-size: 28px;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.mobile-link {
|
|
padding: 18px 24px;
|
|
font-size: 18px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.mobile-menu-list li {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
/* Larger action buttons for tablets */
|
|
.action-btn {
|
|
width: 48px;
|
|
height: 48px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.action-badge {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Mobile Navbar Fixes
|
|
* Ensures hamburger menu, cart, and wishlist are visible on mobile/tablet devices
|
|
*/
|
|
|
|
/* Mobile/Tablet hamburger menu - visible on screens up to 1024px (includes iPads) */
|
|
@media (max-width: 1024px) {
|
|
.mobile-toggle {
|
|
display: flex !important;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
z-index: 10;
|
|
}
|
|
|
|
.toggle-line {
|
|
width: 24px;
|
|
height: 3px;
|
|
background-color: #202023;
|
|
border-radius: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* Hide desktop menu on mobile */
|
|
.navbar-menu {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Ensure cart and wishlist icons are visible */
|
|
.navbar-actions {
|
|
display: flex !important;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.action-item {
|
|
display: block !important;
|
|
}
|
|
|
|
.action-btn {
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
color: #202023;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.action-btn i {
|
|
display: block !important;
|
|
}
|
|
|
|
.action-badge {
|
|
display: flex !important;
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
background: #fcb1d8;
|
|
color: #202023;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
border-radius: 50%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.action-badge.show {
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
/* Mobile menu overlay */
|
|
.mobile-menu-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s ease;
|
|
z-index: 999;
|
|
}
|
|
|
|
.mobile-menu-overlay.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
/* Mobile menu sidebar */
|
|
.mobile-menu {
|
|
position: fixed;
|
|
top: 0;
|
|
right: -100%;
|
|
width: 80%;
|
|
max-width: 300px;
|
|
height: 100vh;
|
|
background: white;
|
|
box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
|
|
transition: right 0.3s ease;
|
|
z-index: 1000;
|
|
overflow-y: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
.mobile-menu.active {
|
|
right: 0;
|
|
}
|
|
|
|
.mobile-menu-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.mobile-brand {
|
|
font-family: "Roboto", sans-serif;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #202023;
|
|
}
|
|
|
|
.mobile-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
color: #202023;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.mobile-menu-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.mobile-menu-list li {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.mobile-link {
|
|
display: block;
|
|
padding: 12px 16px;
|
|
color: #202023;
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.mobile-link:hover,
|
|
.mobile-link:focus {
|
|
background: #ffebeb;
|
|
color: #fcb1d8;
|
|
}
|
|
|
|
/* Dropdown menus on mobile */
|
|
.action-dropdown {
|
|
position: fixed !important;
|
|
right: 0;
|
|
left: 0;
|
|
top: auto;
|
|
bottom: 0;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
max-height: 70vh;
|
|
border-radius: 16px 16px 0 0 !important;
|
|
transform: translateY(100%) !important;
|
|
}
|
|
|
|
.action-dropdown.show {
|
|
transform: translateY(0) !important;
|
|
}
|
|
|
|
/* Compact dropdown on mobile */
|
|
.dropdown-head {
|
|
padding: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.dropdown-head h3 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.dropdown-body {
|
|
max-height: calc(70vh - 140px);
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
}
|
|
|
|
.dropdown-foot {
|
|
padding: 12px 16px;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
/* Prevent body scroll when menu is open */
|
|
body.menu-open {
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
/* Desktop - hide mobile elements (only on screens larger than 1024px) */
|
|
@media (min-width: 1025px) {
|
|
.mobile-toggle {
|
|
display: none !important;
|
|
}
|
|
|
|
.mobile-menu,
|
|
.mobile-menu-overlay {
|
|
display: none !important;
|
|
}
|
|
|
|
.navbar-actions {
|
|
gap: 16px;
|
|
}
|
|
|
|
.action-btn {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.action-dropdown {
|
|
max-width: 360px !important;
|
|
}
|
|
}
|
|
|
|
/* Accessibility improvements */
|
|
.action-btn:focus,
|
|
.mobile-toggle:focus,
|
|
.mobile-close:focus {
|
|
outline: 2px solid #fcb1d8;
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.mobile-link:focus {
|
|
outline: 2px solid #fcb1d8;
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
/* Smooth transitions */
|
|
* {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
}
|
|
|
|
/* Fix for iOS Safari button styling */
|
|
button:focus {
|
|
outline: none;
|
|
}
|
|
|
|
button:focus-visible {
|
|
outline: 2px solid #fcb1d8;
|
|
outline-offset: 2px;
|
|
}
|