1163 lines
25 KiB
CSS
1163 lines
25 KiB
CSS
/* ============================================
|
||
MOBILE & TABLET RESPONSIVE FIXES
|
||
iPhone, iPad, and Mobile Device Optimizations
|
||
============================================ */
|
||
|
||
/* === VIEWPORT & SAFE AREA FIXES === */
|
||
:root {
|
||
/* Safe area insets for notched devices (iPhone X+) */
|
||
--safe-area-top: env(safe-area-inset-top, 0px);
|
||
--safe-area-bottom: env(safe-area-inset-bottom, 0px);
|
||
--safe-area-left: env(safe-area-inset-left, 0px);
|
||
--safe-area-right: env(safe-area-inset-right, 0px);
|
||
}
|
||
|
||
/* Ensure proper touch behavior */
|
||
* {
|
||
-webkit-tap-highlight-color: transparent;
|
||
-webkit-touch-callout: none;
|
||
}
|
||
|
||
/* Prevent zoom on input focus (iOS) */
|
||
input, select, textarea {
|
||
font-size: 16px !important;
|
||
}
|
||
|
||
/* === NAVBAR RESPONSIVE FIXES === */
|
||
|
||
/* iPhone SE, iPhone 8 (375px) */
|
||
@media (max-width: 375px) {
|
||
.navbar {
|
||
padding: 0 var(--spacing-sm) !important;
|
||
height: 60px !important;
|
||
}
|
||
|
||
.nav-brand img {
|
||
width: 36px !important;
|
||
height: 36px !important;
|
||
}
|
||
|
||
.nav-brand span {
|
||
font-size: 1rem !important;
|
||
max-width: 120px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.nav-icon-btn {
|
||
width: 36px !important;
|
||
height: 36px !important;
|
||
font-size: 1rem !important;
|
||
}
|
||
|
||
.nav-icon-btn .badge {
|
||
min-width: 16px !important;
|
||
height: 16px !important;
|
||
font-size: 0.6rem !important;
|
||
top: -2px !important;
|
||
right: -2px !important;
|
||
}
|
||
|
||
.nav-actions {
|
||
gap: var(--spacing-xs) !important;
|
||
}
|
||
|
||
.nav-mobile-toggle {
|
||
padding: 8px !important;
|
||
}
|
||
|
||
.nav-mobile-toggle span {
|
||
width: 20px !important;
|
||
}
|
||
}
|
||
|
||
/* iPhone 12/13/14, most Android phones (390px-430px) */
|
||
@media (min-width: 376px) and (max-width: 430px) {
|
||
.navbar {
|
||
padding: 0 var(--spacing-md) !important;
|
||
height: 64px !important;
|
||
}
|
||
|
||
.nav-brand img {
|
||
width: 40px !important;
|
||
height: 40px !important;
|
||
}
|
||
|
||
.nav-brand span {
|
||
font-size: 1.1rem !important;
|
||
max-width: 140px;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.nav-icon-btn {
|
||
width: 40px !important;
|
||
height: 40px !important;
|
||
font-size: 1.1rem !important;
|
||
}
|
||
|
||
.nav-actions {
|
||
gap: var(--spacing-sm) !important;
|
||
}
|
||
}
|
||
|
||
/* Larger phones / Phablets (431px-576px) */
|
||
@media (min-width: 431px) and (max-width: 576px) {
|
||
.navbar {
|
||
padding: 0 var(--spacing-lg) !important;
|
||
height: 68px !important;
|
||
}
|
||
|
||
.nav-brand img {
|
||
width: 44px !important;
|
||
height: 44px !important;
|
||
}
|
||
|
||
.nav-brand span {
|
||
font-size: 1.2rem !important;
|
||
}
|
||
}
|
||
|
||
/* All mobile devices - hide desktop menu, show hamburger */
|
||
@media (max-width: 768px) {
|
||
.nav-menu {
|
||
position: fixed !important;
|
||
top: 0 !important;
|
||
left: 0 !important;
|
||
right: 0 !important;
|
||
bottom: 0 !important;
|
||
flex-direction: column !important;
|
||
background: var(--bg-white) !important;
|
||
padding: 80px var(--spacing-lg) var(--spacing-lg) !important;
|
||
gap: var(--spacing-xs) !important;
|
||
transform: translateX(-100%) !important;
|
||
opacity: 0 !important;
|
||
visibility: hidden !important;
|
||
transition: all 0.3s ease !important;
|
||
z-index: 999 !important;
|
||
overflow-y: auto !important;
|
||
}
|
||
|
||
.nav-menu.open {
|
||
transform: translateX(0) !important;
|
||
opacity: 1 !important;
|
||
visibility: visible !important;
|
||
}
|
||
|
||
.nav-link {
|
||
width: 100% !important;
|
||
padding: var(--spacing-md) !important;
|
||
text-align: center !important;
|
||
font-size: 1.1rem !important;
|
||
border-radius: var(--radius-md) !important;
|
||
}
|
||
|
||
.nav-mobile-toggle {
|
||
display: flex !important;
|
||
flex-direction: column !important;
|
||
gap: 5px !important;
|
||
z-index: 1001 !important;
|
||
}
|
||
|
||
/* Hamburger animation */
|
||
.nav-mobile-toggle.active span:nth-child(1) {
|
||
transform: rotate(45deg) translate(5px, 5px);
|
||
}
|
||
|
||
.nav-mobile-toggle.active span:nth-child(2) {
|
||
opacity: 0;
|
||
}
|
||
|
||
.nav-mobile-toggle.active span:nth-child(3) {
|
||
transform: rotate(-45deg) translate(7px, -6px);
|
||
}
|
||
}
|
||
|
||
/* === iPad Mini (768px) === */
|
||
@media (min-width: 768px) and (max-width: 834px) {
|
||
.navbar {
|
||
padding: 0 var(--spacing-lg) !important;
|
||
}
|
||
|
||
.nav-brand img {
|
||
width: 44px !important;
|
||
height: 44px !important;
|
||
}
|
||
|
||
.nav-brand span {
|
||
font-size: 1.25rem !important;
|
||
}
|
||
|
||
.nav-menu {
|
||
gap: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.nav-link {
|
||
padding: var(--spacing-xs) var(--spacing-sm) !important;
|
||
font-size: 0.85rem !important;
|
||
}
|
||
|
||
.nav-icon-btn {
|
||
width: 40px !important;
|
||
height: 40px !important;
|
||
}
|
||
}
|
||
|
||
/* === iPad Air / iPad Pro 11" (820px-1024px) === */
|
||
@media (min-width: 835px) and (max-width: 1024px) {
|
||
.navbar {
|
||
padding: 0 var(--spacing-xl) !important;
|
||
}
|
||
|
||
.nav-brand img {
|
||
width: 46px !important;
|
||
height: 46px !important;
|
||
}
|
||
|
||
.nav-brand span {
|
||
font-size: 1.35rem !important;
|
||
}
|
||
|
||
.nav-menu {
|
||
gap: var(--spacing-md) !important;
|
||
}
|
||
|
||
.nav-link {
|
||
padding: var(--spacing-sm) var(--spacing-md) !important;
|
||
font-size: 0.9rem !important;
|
||
}
|
||
}
|
||
|
||
/* === HERO SLIDER RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.hero-slider {
|
||
height: 400px !important;
|
||
}
|
||
|
||
.slide-content {
|
||
padding: 0 var(--spacing-md) !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.75rem !important;
|
||
line-height: 1.3 !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 0.95rem !important;
|
||
margin-bottom: var(--spacing-md) !important;
|
||
}
|
||
|
||
.slider-arrow {
|
||
width: 40px !important;
|
||
height: 40px !important;
|
||
font-size: 1rem !important;
|
||
}
|
||
|
||
.slider-arrows {
|
||
padding: 0 var(--spacing-sm) !important;
|
||
}
|
||
|
||
.slider-nav {
|
||
bottom: var(--spacing-md) !important;
|
||
}
|
||
|
||
.slider-dot {
|
||
width: 10px !important;
|
||
height: 10px !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.hero-slider {
|
||
height: 450px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 2.25rem !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 1rem !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 769px) and (max-width: 1024px) {
|
||
.hero-slider {
|
||
height: 500px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 2.75rem !important;
|
||
}
|
||
}
|
||
|
||
/* === SECTION & CONTAINER RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.section {
|
||
padding: var(--spacing-xl) 0 !important;
|
||
}
|
||
|
||
.container {
|
||
padding: 0 var(--spacing-md) !important;
|
||
}
|
||
|
||
.section-title {
|
||
font-size: 1.5rem !important;
|
||
}
|
||
|
||
.section-subtitle {
|
||
font-size: 0.9rem !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.section {
|
||
padding: var(--spacing-xl) 0 !important;
|
||
}
|
||
|
||
.container {
|
||
padding: 0 var(--spacing-lg) !important;
|
||
}
|
||
|
||
.section-title {
|
||
font-size: 1.75rem !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 769px) and (max-width: 1024px) {
|
||
.container {
|
||
padding: 0 var(--spacing-xl) !important;
|
||
}
|
||
|
||
.section-title {
|
||
font-size: 2rem !important;
|
||
}
|
||
}
|
||
|
||
/* === PRODUCT GRID RESPONSIVE === */
|
||
@media (max-width: 480px) {
|
||
.products-grid {
|
||
grid-template-columns: repeat(2, 1fr) !important;
|
||
gap: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.product-card {
|
||
border-radius: var(--radius-md) !important;
|
||
}
|
||
|
||
.product-info {
|
||
padding: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.product-name {
|
||
font-size: 0.85rem !important;
|
||
display: -webkit-box;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 2;
|
||
line-clamp: 2;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.product-price {
|
||
font-size: 1rem !important;
|
||
}
|
||
|
||
.product-badge {
|
||
font-size: 0.65rem !important;
|
||
padding: 2px 8px !important;
|
||
}
|
||
|
||
.product-actions .btn {
|
||
font-size: 0.75rem !important;
|
||
padding: var(--spacing-xs) var(--spacing-sm) !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 481px) and (max-width: 768px) {
|
||
.products-grid {
|
||
grid-template-columns: repeat(2, 1fr) !important;
|
||
gap: var(--spacing-md) !important;
|
||
}
|
||
|
||
.product-name {
|
||
font-size: 0.9rem !important;
|
||
}
|
||
|
||
.product-price {
|
||
font-size: 1.1rem !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 769px) and (max-width: 1024px) {
|
||
.products-grid {
|
||
grid-template-columns: repeat(3, 1fr) !important;
|
||
gap: var(--spacing-lg) !important;
|
||
}
|
||
}
|
||
|
||
/* === CART & WISHLIST DRAWER RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.cart-drawer,
|
||
.wishlist-drawer {
|
||
width: 100% !important;
|
||
max-width: 100% !important;
|
||
}
|
||
|
||
.cart-header,
|
||
.wishlist-header {
|
||
padding: var(--spacing-md) !important;
|
||
}
|
||
|
||
.cart-header h2,
|
||
.wishlist-header h2 {
|
||
font-size: 1.25rem !important;
|
||
}
|
||
|
||
.cart-items,
|
||
.wishlist-items {
|
||
padding: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.cart-item,
|
||
.wishlist-item {
|
||
padding: var(--spacing-sm) !important;
|
||
gap: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.cart-item-image,
|
||
.wishlist-item-image {
|
||
width: 70px !important;
|
||
height: 70px !important;
|
||
}
|
||
|
||
.cart-item-name,
|
||
.wishlist-item-name {
|
||
font-size: 0.9rem !important;
|
||
}
|
||
|
||
.cart-item-price,
|
||
.wishlist-item-price {
|
||
font-size: 0.95rem !important;
|
||
}
|
||
|
||
.cart-footer {
|
||
padding: var(--spacing-md) !important;
|
||
}
|
||
|
||
.cart-total {
|
||
font-size: 1.1rem !important;
|
||
}
|
||
}
|
||
|
||
/* === PAGE HEADER RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.page-header {
|
||
padding: var(--spacing-xl) 0 !important;
|
||
}
|
||
|
||
.page-header h1 {
|
||
font-size: 1.5rem !important;
|
||
}
|
||
|
||
.page-header p {
|
||
font-size: 0.9rem !important;
|
||
}
|
||
|
||
.breadcrumb {
|
||
font-size: 0.8rem !important;
|
||
flex-wrap: wrap !important;
|
||
justify-content: center !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.page-header h1 {
|
||
font-size: 1.75rem !important;
|
||
}
|
||
}
|
||
|
||
/* === SHOP SIDEBAR RESPONSIVE === */
|
||
@media (max-width: 992px) {
|
||
.shop-layout {
|
||
flex-direction: column !important;
|
||
}
|
||
|
||
.shop-sidebar {
|
||
width: 100% !important;
|
||
position: relative !important;
|
||
margin-bottom: var(--spacing-lg) !important;
|
||
}
|
||
|
||
.filter-card {
|
||
margin-bottom: var(--spacing-md) !important;
|
||
}
|
||
}
|
||
|
||
/* === FOOTER RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.footer {
|
||
padding: var(--spacing-xl) var(--spacing-md) !important;
|
||
}
|
||
|
||
.footer-grid {
|
||
grid-template-columns: 1fr !important;
|
||
gap: var(--spacing-lg) !important;
|
||
text-align: center !important;
|
||
}
|
||
|
||
.footer-brand img {
|
||
width: 50px !important;
|
||
height: 50px !important;
|
||
margin: 0 auto var(--spacing-sm) !important;
|
||
}
|
||
|
||
.footer-brand span {
|
||
font-size: 1.25rem !important;
|
||
}
|
||
|
||
.footer h4 {
|
||
font-size: 1rem !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.footer-links {
|
||
gap: var(--spacing-xs) !important;
|
||
}
|
||
|
||
.footer-links a {
|
||
font-size: 0.9rem !important;
|
||
}
|
||
|
||
.footer-bottom {
|
||
flex-direction: column !important;
|
||
gap: var(--spacing-md) !important;
|
||
text-align: center !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.footer-grid {
|
||
grid-template-columns: repeat(2, 1fr) !important;
|
||
}
|
||
}
|
||
|
||
/* === BUTTONS RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.btn {
|
||
padding: var(--spacing-sm) var(--spacing-md) !important;
|
||
font-size: 0.9rem !important;
|
||
}
|
||
|
||
.btn-lg {
|
||
padding: var(--spacing-md) var(--spacing-lg) !important;
|
||
font-size: 1rem !important;
|
||
}
|
||
}
|
||
|
||
/* === FORM ELEMENTS RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
input[type="text"],
|
||
input[type="email"],
|
||
input[type="password"],
|
||
input[type="tel"],
|
||
input[type="number"],
|
||
textarea,
|
||
select {
|
||
padding: var(--spacing-sm) var(--spacing-md) !important;
|
||
font-size: 16px !important; /* Prevents zoom on iOS */
|
||
border-radius: var(--radius-md) !important;
|
||
}
|
||
|
||
.form-group {
|
||
margin-bottom: var(--spacing-md) !important;
|
||
}
|
||
|
||
label {
|
||
font-size: 0.9rem !important;
|
||
margin-bottom: var(--spacing-xs) !important;
|
||
}
|
||
}
|
||
|
||
/* === BLOG GRID RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.blog-grid {
|
||
grid-template-columns: 1fr !important;
|
||
gap: var(--spacing-md) !important;
|
||
}
|
||
|
||
.blog-card-info h3 {
|
||
font-size: 1rem !important;
|
||
}
|
||
|
||
.blog-card-info p {
|
||
font-size: 0.85rem !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 992px) {
|
||
.blog-grid {
|
||
grid-template-columns: repeat(2, 1fr) !important;
|
||
}
|
||
}
|
||
|
||
/* === PORTFOLIO GRID RESPONSIVE === */
|
||
@media (max-width: 576px) {
|
||
.portfolio-grid {
|
||
grid-template-columns: 1fr !important;
|
||
gap: var(--spacing-md) !important;
|
||
}
|
||
}
|
||
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.portfolio-grid {
|
||
grid-template-columns: repeat(2, 1fr) !important;
|
||
}
|
||
}
|
||
|
||
/* === CONTACT PAGE RESPONSIVE === */
|
||
@media (max-width: 768px) {
|
||
.contact-layout {
|
||
flex-direction: column !important;
|
||
}
|
||
|
||
.contact-info,
|
||
.contact-form {
|
||
width: 100% !important;
|
||
}
|
||
}
|
||
|
||
/* === ABOUT PAGE RESPONSIVE === */
|
||
@media (max-width: 768px) {
|
||
.about-content {
|
||
flex-direction: column !important;
|
||
}
|
||
|
||
.about-text,
|
||
.about-image {
|
||
width: 100% !important;
|
||
}
|
||
|
||
.about-text {
|
||
text-align: center !important;
|
||
}
|
||
}
|
||
|
||
/* === PRODUCT DETAIL PAGE RESPONSIVE === */
|
||
@media (max-width: 768px) {
|
||
.product-detail-layout {
|
||
flex-direction: column !important;
|
||
gap: var(--spacing-lg) !important;
|
||
}
|
||
|
||
.product-gallery,
|
||
.product-details {
|
||
width: 100% !important;
|
||
}
|
||
|
||
.product-gallery-main {
|
||
max-height: 350px !important;
|
||
}
|
||
|
||
.product-title {
|
||
font-size: 1.5rem !important;
|
||
}
|
||
|
||
.product-price-main {
|
||
font-size: 1.5rem !important;
|
||
}
|
||
}
|
||
|
||
/* === LANDSCAPE MODE FIXES (Mobile) === */
|
||
@media (max-width: 896px) and (orientation: landscape) {
|
||
.hero-slider {
|
||
height: 300px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.5rem !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
display: none !important;
|
||
}
|
||
|
||
.nav-wrapper {
|
||
position: fixed !important;
|
||
}
|
||
|
||
.page-content {
|
||
padding-top: 60px !important;
|
||
}
|
||
}
|
||
|
||
/* === iOS SPECIFIC FIXES === */
|
||
@supports (-webkit-touch-callout: none) {
|
||
/* Safari-only styles */
|
||
body {
|
||
/* Fix for iOS momentum scrolling */
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
|
||
/* Fix 100vh issue on iOS Safari */
|
||
.nav-menu.open,
|
||
.mobile-menu,
|
||
.cart-drawer,
|
||
.wishlist-drawer {
|
||
height: 100vh;
|
||
height: -webkit-fill-available;
|
||
}
|
||
|
||
/* Fix for fixed positioning on iOS */
|
||
.nav-wrapper {
|
||
transform: translateZ(0);
|
||
-webkit-transform: translateZ(0);
|
||
}
|
||
}
|
||
|
||
/* === ACCESSIBILITY IMPROVEMENTS === */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
*,
|
||
*::before,
|
||
*::after {
|
||
animation-duration: 0.01ms !important;
|
||
animation-iteration-count: 1 !important;
|
||
transition-duration: 0.01ms !important;
|
||
scroll-behavior: auto !important;
|
||
}
|
||
}
|
||
|
||
/* Focus states for touch devices */
|
||
@media (hover: none) and (pointer: coarse) {
|
||
.btn:active,
|
||
.nav-link:active,
|
||
.product-card:active {
|
||
transform: scale(0.98);
|
||
opacity: 0.9;
|
||
}
|
||
|
||
/* Remove hover effects on touch devices */
|
||
.product-card:hover {
|
||
transform: none;
|
||
}
|
||
|
||
.product-card:active {
|
||
transform: scale(0.98);
|
||
}
|
||
}
|
||
|
||
/* High contrast mode support */
|
||
@media (prefers-contrast: high) {
|
||
:root {
|
||
--text-primary: #000000;
|
||
--text-secondary: #333333;
|
||
--border-light: #000000;
|
||
}
|
||
|
||
.btn-outline {
|
||
border-width: 3px;
|
||
}
|
||
}
|
||
|
||
/* Dark mode support (if implemented) */
|
||
@media (prefers-color-scheme: dark) {
|
||
/* Ready for dark mode implementation */
|
||
}
|
||
|
||
/* Print optimizations */
|
||
@media print {
|
||
.nav-wrapper,
|
||
.nav-mobile-toggle,
|
||
.cart-drawer,
|
||
.wishlist-drawer,
|
||
.cart-overlay,
|
||
.wishlist-overlay {
|
||
display: none !important;
|
||
}
|
||
|
||
.page-content {
|
||
padding-top: 0 !important;
|
||
}
|
||
|
||
.section {
|
||
break-inside: avoid;
|
||
}
|
||
}
|
||
|
||
/* ============================================
|
||
HERO SLIDER TEXT & BUTTON FIXES (MOBILE/TABLET)
|
||
Make text and buttons smaller to fit within white box
|
||
============================================ */
|
||
|
||
/* iPhone SE and smaller phones */
|
||
@media (max-width: 375px) {
|
||
.slide.has-image .slide-content {
|
||
padding: var(--spacing-sm) var(--spacing-md) !important;
|
||
max-width: calc(100% - 24px) !important;
|
||
margin: 0 12px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.25rem !important;
|
||
line-height: 1.25 !important;
|
||
margin-bottom: var(--spacing-xs) !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 0.8rem !important;
|
||
line-height: 1.4 !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 3;
|
||
line-clamp: 3;
|
||
-webkit-box-orient: vertical;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.slide-content .btn {
|
||
padding: 8px 16px !important;
|
||
font-size: 0.75rem !important;
|
||
}
|
||
}
|
||
|
||
/* iPhone 12/13/14 and similar phones */
|
||
@media (min-width: 376px) and (max-width: 430px) {
|
||
.slide.has-image .slide-content {
|
||
padding: var(--spacing-md) !important;
|
||
max-width: calc(100% - 32px) !important;
|
||
margin: 0 16px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.4rem !important;
|
||
line-height: 1.3 !important;
|
||
margin-bottom: var(--spacing-xs) !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 0.85rem !important;
|
||
line-height: 1.45 !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 3;
|
||
line-clamp: 3;
|
||
-webkit-box-orient: vertical;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.slide-content .btn {
|
||
padding: 10px 18px !important;
|
||
font-size: 0.8rem !important;
|
||
}
|
||
}
|
||
|
||
/* Phablets and small tablets */
|
||
@media (min-width: 431px) and (max-width: 576px) {
|
||
.slide.has-image .slide-content {
|
||
padding: var(--spacing-md) var(--spacing-lg) !important;
|
||
max-width: calc(100% - 48px) !important;
|
||
margin: 0 24px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.5rem !important;
|
||
line-height: 1.3 !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 0.9rem !important;
|
||
line-height: 1.5 !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 3;
|
||
line-clamp: 3;
|
||
-webkit-box-orient: vertical;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.slide-content .btn {
|
||
padding: 10px 20px !important;
|
||
font-size: 0.85rem !important;
|
||
}
|
||
}
|
||
|
||
/* Tablets (iPad Mini, iPad) */
|
||
@media (min-width: 577px) and (max-width: 834px) {
|
||
.slide.has-image .slide-content {
|
||
padding: var(--spacing-lg) !important;
|
||
max-width: 80% !important;
|
||
margin: 0 auto !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 1.75rem !important;
|
||
line-height: 1.3 !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 0.95rem !important;
|
||
line-height: 1.5 !important;
|
||
margin-bottom: var(--spacing-md) !important;
|
||
}
|
||
|
||
.slide-content .btn {
|
||
padding: 12px 24px !important;
|
||
font-size: 0.9rem !important;
|
||
}
|
||
}
|
||
|
||
/* iPad Air and iPad Pro */
|
||
@media (min-width: 835px) and (max-width: 1024px) {
|
||
.slide.has-image .slide-content {
|
||
padding: var(--spacing-lg) var(--spacing-xl) !important;
|
||
max-width: 550px !important;
|
||
}
|
||
|
||
.slide-content h1 {
|
||
font-size: 2rem !important;
|
||
line-height: 1.25 !important;
|
||
}
|
||
|
||
.slide-content p {
|
||
font-size: 1rem !important;
|
||
line-height: 1.5 !important;
|
||
}
|
||
|
||
.slide-content .btn {
|
||
padding: 12px 28px !important;
|
||
font-size: 0.95rem !important;
|
||
}
|
||
}
|
||
|
||
/* ============================================
|
||
HAMBURGER MOBILE MENU - IMPROVED SPACING
|
||
============================================ */
|
||
@media (max-width: 768px) {
|
||
.nav-menu {
|
||
padding: 100px var(--spacing-xl) var(--spacing-xl) !important;
|
||
gap: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.nav-menu li {
|
||
width: 100%;
|
||
margin-bottom: var(--spacing-xs);
|
||
}
|
||
|
||
.nav-link {
|
||
display: block !important;
|
||
width: 100% !important;
|
||
padding: 16px 24px !important;
|
||
text-align: center !important;
|
||
font-size: 1.1rem !important;
|
||
font-weight: 500 !important;
|
||
border-radius: var(--radius-lg) !important;
|
||
background: var(--bg-cream, #fdf6f0) !important;
|
||
color: var(--text-primary) !important;
|
||
border: 1px solid var(--border-light, #e5e5e5) !important;
|
||
transition: all 0.2s ease !important;
|
||
margin-bottom: 8px !important;
|
||
}
|
||
|
||
.nav-link:hover,
|
||
.nav-link.active {
|
||
background: var(--primary-pink, #f8c8dc) !important;
|
||
border-color: var(--primary-pink-dark, #f0a8c0) !important;
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 4px 12px rgba(248, 200, 220, 0.4);
|
||
}
|
||
|
||
.nav-link.active {
|
||
font-weight: 600 !important;
|
||
}
|
||
}
|
||
|
||
/* ============================================
|
||
FOOTER MOBILE LAYOUT
|
||
Quick Links (left), Customer Service (right), Contact (below)
|
||
============================================ */
|
||
@media (max-width: 576px) {
|
||
.footer-grid {
|
||
display: grid !important;
|
||
grid-template-columns: 1fr 1fr !important;
|
||
grid-template-rows: auto auto auto !important;
|
||
gap: var(--spacing-lg) var(--spacing-md) !important;
|
||
text-align: left !important;
|
||
}
|
||
|
||
/* Footer about section - full width on top */
|
||
.footer-about {
|
||
grid-column: 1 / -1 !important;
|
||
text-align: center !important;
|
||
margin-bottom: var(--spacing-sm);
|
||
}
|
||
|
||
.footer-brand {
|
||
justify-content: center !important;
|
||
}
|
||
|
||
.footer-about p {
|
||
max-width: 320px;
|
||
margin: 0 auto var(--spacing-md);
|
||
font-size: 0.85rem !important;
|
||
}
|
||
|
||
.footer-social {
|
||
justify-content: center !important;
|
||
}
|
||
|
||
/* Quick Links - left column */
|
||
.footer-column:nth-of-type(1) {
|
||
grid-column: 1 !important;
|
||
grid-row: 2 !important;
|
||
}
|
||
|
||
/* Customer Service - right column */
|
||
.footer-column:nth-of-type(2) {
|
||
grid-column: 2 !important;
|
||
grid-row: 2 !important;
|
||
}
|
||
|
||
/* Contact Us - full width below */
|
||
.footer-column:nth-of-type(3) {
|
||
grid-column: 1 / -1 !important;
|
||
grid-row: 3 !important;
|
||
text-align: center !important;
|
||
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||
padding-top: var(--spacing-md);
|
||
}
|
||
|
||
.footer-column:nth-of-type(3) .footer-links {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: var(--spacing-xs);
|
||
}
|
||
|
||
.footer-column h4 {
|
||
font-size: 0.9rem !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
}
|
||
|
||
.footer-links a,
|
||
.footer-links li {
|
||
font-size: 0.85rem !important;
|
||
}
|
||
|
||
.footer-bottom {
|
||
margin-top: var(--spacing-md);
|
||
padding-top: var(--spacing-md);
|
||
}
|
||
}
|
||
|
||
/* Tablet footer layout */
|
||
@media (min-width: 577px) and (max-width: 768px) {
|
||
.footer-grid {
|
||
display: grid !important;
|
||
grid-template-columns: 1fr 1fr !important;
|
||
gap: var(--spacing-lg) !important;
|
||
}
|
||
|
||
.footer-about {
|
||
grid-column: 1 / -1 !important;
|
||
}
|
||
|
||
.footer-column:nth-of-type(1),
|
||
.footer-column:nth-of-type(2) {
|
||
grid-column: auto !important;
|
||
}
|
||
|
||
.footer-column:nth-of-type(3) {
|
||
grid-column: 1 / -1 !important;
|
||
text-align: center;
|
||
}
|
||
|
||
.footer-column:nth-of-type(3) .footer-links {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
justify-content: center;
|
||
gap: var(--spacing-sm) var(--spacing-lg);
|
||
}
|
||
}
|
||
|
||
/* ============================================
|
||
SHOP PAGE - COLLAPSIBLE FILTERS
|
||
============================================ */
|
||
@media (max-width: 992px) {
|
||
.shop-sidebar {
|
||
position: relative !important;
|
||
width: 100% !important;
|
||
margin-bottom: var(--spacing-lg) !important;
|
||
}
|
||
|
||
/* Make filter cards collapsible */
|
||
.filter-card {
|
||
border: 1px solid var(--border-light, #e5e5e5) !important;
|
||
border-radius: var(--radius-md) !important;
|
||
margin-bottom: var(--spacing-sm) !important;
|
||
overflow: hidden !important;
|
||
}
|
||
|
||
.filter-title {
|
||
cursor: pointer !important;
|
||
display: flex !important;
|
||
justify-content: space-between !important;
|
||
align-items: center !important;
|
||
padding: var(--spacing-md) !important;
|
||
margin: 0 !important;
|
||
background: var(--bg-cream, #fdf6f0) !important;
|
||
font-size: 0.95rem !important;
|
||
font-weight: 600 !important;
|
||
user-select: none !important;
|
||
transition: background 0.2s ease !important;
|
||
}
|
||
|
||
.filter-title:hover {
|
||
background: var(--primary-pink-light, #fef0f5) !important;
|
||
}
|
||
|
||
.filter-title::after {
|
||
content: '−' !important;
|
||
font-size: 1.25rem !important;
|
||
font-weight: 400 !important;
|
||
color: var(--text-secondary) !important;
|
||
transition: transform 0.2s ease !important;
|
||
}
|
||
|
||
.filter-card.collapsed .filter-title::after {
|
||
content: '+' !important;
|
||
}
|
||
|
||
.filter-options {
|
||
padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md) !important;
|
||
max-height: 300px !important;
|
||
overflow-y: auto !important;
|
||
transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease !important;
|
||
}
|
||
|
||
.filter-card.collapsed .filter-options {
|
||
max-height: 0 !important;
|
||
padding-top: 0 !important;
|
||
padding-bottom: 0 !important;
|
||
opacity: 0 !important;
|
||
overflow: hidden !important;
|
||
}
|
||
|
||
/* Search filter card - always open */
|
||
.filter-card:first-child {
|
||
border: none !important;
|
||
background: transparent !important;
|
||
}
|
||
|
||
.filter-card:first-child .filter-title {
|
||
background: transparent !important;
|
||
}
|
||
|
||
.filter-card:first-child .filter-title::after {
|
||
display: none !important;
|
||
}
|
||
}
|