:root {
--primary: #FFC107;
--primary-dark: #FFB300;
--primary-soft: #FFF8E1;
--dark: #1A1A1A;
--dark-2: #2C2C2C;
--text: #1A1A1A;
--text-muted: #8A8A8A;
--bg: #F5F5F5;
--card: #FFFFFF;
--border: #EEEEEE;
--success: #4CAF50;
--danger: #E53935;
--radius: 20px;
--radius-sm: 12px;
--radius-xs: 8px;
--shadow: 0 4px 24px rgba(0,0,0,0.06);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.5;
min-height: 100vh;
padding-bottom: 90px;
-webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; }
button { cursor: pointer; }
.hero {
background: var(--dark);
color: white;
padding: 16px 20px 28px;
border-radius: 0 0 28px 28px;
position: relative;
}
.hero-top {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
gap: 10px;
}
.hero-logo {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.hero-logo img {
height: 36px;
width: auto;
max-width: 120px;
object-fit: contain;
border-radius: 8px;
}
.hero-logo-text {
font-weight: 700;
font-size: 0.95rem;
color: white;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 140px;
}
.hero.scrolled {
position: sticky;
top: 0;
z-index: 100;
padding: 12px 20px 14px;
border-radius: 0 0 28px 28px;
box-shadow: 0 4px 24px rgba(0,0,0,0.3);
transition: padding 0.25s ease;
}
.hero.scrolled .hero-title {
display: none;
}
.hero.scrolled .hero-top {
margin-bottom: 12px;
}
.hero.scrolled .search-bar {
display: flex;
}
.location-box {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
max-width: 48%;
}
.location-box .loc-text span {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
max-width: 160px;
}
.location-box .loc-icon {
width: 36px;
height: 36px;
background: rgba(255,255,255,0.12);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.location-box .loc-text small {
display: block;
font-size: 0.7rem;
opacity: 0.6;
}
.location-box .loc-text span {
font-size: 0.85rem;
font-weight: 600;
}
.hero-actions {
display: flex;
gap: 10px;
}
.hero-icon-btn {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.12);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
color: white;
transition: background 0.2s;
}
.hero-icon-btn:active { background: rgba(255,255,255,0.2); }
.cart-badge {
position: absolute;
top: -2px;
right: -2px;
background: var(--primary);
color: var(--dark);
font-size: 0.65rem;
font-weight: 700;
width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.hero-title {
font-size: 1.55rem;
font-weight: 700;
line-height: 1.3;
margin-bottom: 16px;
letter-spacing: -0.3px;
}
.search-bar {
display: flex;
gap: 10px;
align-items: center;
position: relative;
}
.search-wrap {
flex: 1;
position: relative;
}
.search-wrap svg {
position: absolute;
left: 16px;
top: 50%;
transform: translateY(-50%);
opacity: 0.5;
z-index: 1;
}
.search-wrap input {
width: 100%;
background: rgba(255,255,255,0.1);
border-radius: 50px;
padding: 12px 16px 12px 44px;
color: white;
font-size: 0.9rem;
}
.search-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.search-hints {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 56px;
background: var(--card);
border-radius: var(--radius-sm);
box-shadow: var(--shadow-lg);
z-index: 150;
max-height: 260px;
overflow-y: auto;
display: none;
animation: hintIn 0.25s ease;
}
.search-hints.show { display: block; }
.search-hint-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
cursor: pointer;
transition: background 0.15s;
border-bottom: 1px solid var(--border);
}
.search-hint-item:last-child { border-bottom: none; }
.search-hint-item:active { background: var(--bg); }
.search-hint-item img {
width: 40px;
height: 40px;
border-radius: 8px;
object-fit: cover;
background: var(--bg);
}
.search-hint-item .hint-info { flex: 1; }
.search-hint-item .hint-name {
font-weight: 600;
font-size: 0.9rem;
color: var(--dark);
}
.search-hint-item .hint-price {
font-size: 0.8rem;
color: var(--text-muted);
}
.search-hint-empty {
padding: 20px;
text-align: center;
color: var(--text-muted);
font-size: 0.9rem;
}
.filter-btn {
background: var(--primary);
color: var(--dark);
width: 46px;
height: 46px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: transform 0.2s;
}
.filter-btn:active { transform: scale(0.95); }
.offer-section {
padding: 20px 20px 0;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 14px;
gap: 12px;
}
.section-header h2 {
font-size: 1.15rem;
font-weight: 800;
letter-spacing: -0.02em;
color: #ffffff;
text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}
.section-header a,
.see-all-link {
font-size: 0.8rem;
color: var(--text-muted);
font-weight: 600;
transition: color 0.2s;
}
.see-all-link:hover { color: var(--dark); }
.filter-icon-btn {
width: 40px;
height: 40px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.92);
color: var(--dark);
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 14px rgba(0,0,0,0.12);
transition: transform 0.15s, background 0.15s;
flex-shrink: 0;
}
.filter-icon-btn:active {
transform: scale(0.94);
background: #fff;
}
.filter-icon-btn svg { display: block; }
.offer-card,
.offer-card-v2 {
background: linear-gradient(135deg, #FFF9E6 0%, #FFE8A3 50%, #FFD54F 100%);
border-radius: 20px;
padding: 18px 18px 18px 20px;
display: flex;
align-items: center;
gap: 14px;
position: relative;
overflow: hidden;
animation: fadeUp 0.5s ease both;
box-shadow: 0 8px 24px rgba(255, 193, 7, 0.22);
border: 1px solid rgba(255, 213, 79, 0.5);
min-height: 130px;
}
.offer-card-v2::before {
content: '';
position: absolute;
top: -40px;
right: -30px;
width: 140px;
height: 140px;
background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
pointer-events: none;
}
.offer-badge {
position: absolute;
top: 10px;
right: 12px;
background: var(--dark);
color: #FFC107;
font-size: 0.65rem;
font-weight: 700;
padding: 4px 10px;
border-radius: 50px;
z-index: 2;
letter-spacing: 0.02em;
}
.offer-content { flex: 1; z-index: 1; min-width: 0; }
.offer-content h3 {
font-size: 1.2rem;
font-weight: 800;
margin-bottom: 6px;
color: var(--dark);
letter-spacing: -0.02em;
}
.offer-product-line {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin-bottom: 6px;
}
.offer-prod-name {
font-weight: 700;
font-size: 0.88rem;
color: var(--dark);
}
.offer-prod-price {
background: var(--dark);
color: #FFC107;
font-size: 0.75rem;
font-weight: 700;
padding: 3px 10px;
border-radius: 50px;
}
.offer-desc {
font-size: 0.78rem;
color: rgba(26,26,26,0.65);
margin-bottom: 12px;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.offer-btn {
background: var(--dark);
color: white;
padding: 10px 20px;
border-radius: 50px;
font-size: 0.82rem;
font-weight: 700;
display: inline-block;
transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.offer-btn:active { transform: scale(0.97); background: #333; }
.offer-img-wrap {
flex-shrink: 0;
width: 110px;
height: 110px;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
}
.offer-emoji {
font-size: 4rem;
line-height: 1;
}
.offer-product-img {
width: 110px;
height: 110px;
object-fit: cover;
border-radius: 18px;
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
border: 3px solid rgba(255,255,255,0.7);
}
.offer-card { cursor: default; }
.offer-card[onclick] { cursor: pointer; }
.offer-card[onclick]:active { transform: scale(0.985); }
.categories {
display: flex;
gap: 12px;
padding: 20px 20px 8px;
overflow-x: auto;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
}
.categories::-webkit-scrollbar { display: none; }
.cat-btn {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 8px;
padding: 10px 18px 10px 10px;
border-radius: 50px;
background: var(--card);
box-shadow: var(--shadow);
font-weight: 600;
font-size: 0.85rem;
color: var(--text);
transition: all 0.25s ease;
white-space: nowrap;
border: 2px solid transparent;
}
.cat-btn .cat-icon {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bg);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
overflow: hidden;
}
.cat-btn .cat-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
.cat-btn.active {
background: var(--primary);
color: var(--dark);
border-color: var(--primary);
box-shadow: 0 4px 16px rgba(255,193,7,0.35);
transform: translateY(-2px);
}
.cat-btn:active { transform: scale(0.97); }
.products-section {
padding: 16px 20px 20px;
}
.products-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}
@media (min-width: 600px) {
.products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
.products-grid {
grid-template-columns: repeat(4, 1fr);
max-width: 1000px;
margin: 0 auto;
}
}
.product-card {
background: var(--card);
border-radius: var(--radius);
overflow: hidden;
box-shadow: var(--shadow);
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: fadeUp 0.5s ease both;
position: relative;
cursor: pointer;
}
.product-card:active { transform: scale(0.98); }
.product-img-wrap {
position: relative;
width: 100%;
height: 140px;
overflow: hidden;
background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}
.product-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}
.product-img[src^="data:"] {
object-fit: contain;
padding: 20px;
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-rating {
position: absolute;
top: 10px;
left: 10px;
background: rgba(0,0,0,0.65);
backdrop-filter: blur(8px);
color: white;
font-size: 0.7rem;
font-weight: 600;
padding: 4px 8px;
border-radius: 50px;
display: flex;
align-items: center;
gap: 3px;
}
.product-body {
padding: 12px 14px 14px;
}
.product-name {
font-size: 0.9rem;
font-weight: 700;
margin-bottom: 2px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.product-desc {
font-size: 0.72rem;
color: var(--text-muted);
margin-bottom: 10px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.product-footer {
display: flex;
align-items: center;
justify-content: space-between;
}
.product-price {
font-weight: 700;
font-size: 1rem;
color: var(--dark);
}
.add-btn {
background: var(--primary);
color: var(--dark);
width: 34px;
height: 34px;
border-radius: 50%;
font-size: 1.3rem;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.2s, background 0.2s;
box-shadow: 0 2px 8px rgba(255,193,7,0.4);
z-index: 2;
position: relative;
}
.add-btn:active {
transform: scale(1.15);
background: var(--primary-dark);
}
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 300;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
backdrop-filter: blur(4px);
display: flex;
align-items: flex-end;
justify-content: center;
}
.modal-overlay.open {
opacity: 1;
visibility: visible;
}
.modal-overlay.center {
align-items: center;
padding: 20px;
}
.filter-popup {
background: rgba(255, 255, 255, 0.78);
backdrop-filter: blur(18px) saturate(1.4);
-webkit-backdrop-filter: blur(18px) saturate(1.4);
border-radius: 24px 24px 0 0;
width: 100%;
max-width: 480px;
padding: 8px 20px 28px;
transform: translateY(100%);
transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
max-height: 85vh;
overflow-y: auto;
border-top: 1px solid rgba(255, 255, 255, 0.5);
box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
}
.modal-overlay.open .filter-popup {
transform: translateY(0);
}
.filter-popup .drag-handle {
width: 40px;
height: 4px;
background: #ddd;
border-radius: 2px;
margin: 8px auto 12px;
}
.filter-popup-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
}
.filter-popup h3 {
font-size: 1.15rem;
font-weight: 700;
margin: 0;
text-align: left;
}
.filter-reset-btn {
background: transparent;
color: var(--text-muted);
font-size: 0.85rem;
font-weight: 600;
padding: 6px 10px;
border-radius: 8px;
}
.filter-reset-btn:active { color: var(--dark); background: var(--bg); }
.filter-block {
margin-bottom: 22px;
}
.filter-label {
display: block;
font-size: 0.8rem;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 12px;
}
.filter-cats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.filter-cat-item {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
background: var(--bg);
border-radius: var(--radius-sm);
font-weight: 600;
font-size: 0.95rem;
transition: all 0.2s;
border: 2px solid transparent;
cursor: pointer;
}
.filter-cat-item:active,
.filter-cat-item.active {
background: var(--primary-soft);
border-color: var(--primary);
}
.filter-cat-item .fc-icon {
width: 42px;
height: 42px;
border-radius: 50%;
background: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.4rem;
box-shadow: var(--shadow);
overflow: hidden;
flex-shrink: 0;
}
.price-range-display {
display: flex;
justify-content: space-between;
font-size: 0.9rem;
font-weight: 700;
color: var(--dark);
margin-bottom: 14px;
}
.price-slider-wrap {
position: relative;
height: 28px;
}
.price-slider-wrap .price-range {
position: absolute;
left: 0;
right: 0;
width: 100%;
height: 28px;
margin: 0;
background: transparent;
pointer-events: none;
-webkit-appearance: none;
appearance: none;
}
.price-slider-wrap .price-range::-webkit-slider-runnable-track {
height: 6px;
background: transparent;
border: none;
}
.price-slider-wrap .price-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--primary);
border: 3px solid #fff;
box-shadow: 0 2px 10px rgba(255, 193, 7, 0.55);
cursor: pointer;
pointer-events: auto;
margin-top: -8px;
position: relative;
z-index: 2;
}
.price-slider-wrap .price-range::-moz-range-track {
height: 6px;
background: transparent;
border: none;
}
.price-slider-wrap .price-range::-moz-range-thumb {
width: 22px;
height: 22px;
border-radius: 50%;
background: var(--primary);
border: 3px solid #fff;
box-shadow: 0 2px 10px rgba(255, 193, 7, 0.55);
cursor: pointer;
pointer-events: auto;
}
.price-slider-track {
position: absolute;
left: 0;
right: 0;
top: 11px;
height: 6px;
background: rgba(0, 0, 0, 0.06);
border-radius: 3px;
pointer-events: none;
z-index: 0;
overflow: hidden;
}
.price-slider-track .price-slider-fill {
position: absolute;
top: 0;
height: 100%;
left: 0%;
width: 100%;
background: var(--primary);
border-radius: 3px;
box-shadow: 0 0 10px rgba(255, 193, 7, 0.55);
transition: left 0.05s linear, width 0.05s linear;
}
.btn-apply-filter {
width: 100%;
padding: 14px 20px;
border-radius: 50px;
background: var(--primary);
color: var(--dark);
font-weight: 700;
font-size: 1rem;
margin-top: 4px;
box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}
.btn-apply-filter:active { transform: scale(0.98); }
.detail-popup {
background: var(--card);
border-radius: 24px 24px 0 0;
width: 100%;
max-width: 480px;
transform: translateY(100%);
transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
max-height: 90vh;
overflow-y: auto;
position: relative;
}
.modal-overlay.open .detail-popup {
transform: translateY(0);
}
.detail-img-wrap {
position: relative;
width: 100%;
height: 260px;
overflow: hidden;
background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
}
.detail-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover !important;
}
.detail-img-wrap img {
width: 100%;
height: 100%;
object-fit: cover !important;
}
.detail-close {
position: absolute;
top: 16px;
left: 16px;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.95);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
color: var(--dark);
box-shadow: var(--shadow);
z-index: 5;
}
.detail-body {
padding: 20px 20px 30px;
}
.detail-category {
font-size: 0.8rem;
color: var(--text-muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 6px;
}
.detail-name {
font-size: 1.4rem;
font-weight: 700;
margin-bottom: 10px;
}
.detail-meta {
display: flex;
gap: 16px;
margin-bottom: 14px;
}
.detail-meta span {
display: flex;
align-items: center;
gap: 4px;
font-size: 0.85rem;
color: var(--text-muted);
font-weight: 500;
}
.detail-desc {
font-size: 0.9rem;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 20px;
}
.detail-footer {
display: flex;
align-items: center;
gap: 16px;
}
.detail-price {
font-size: 1.4rem;
font-weight: 700;
flex: 1;
}
.detail-qty {
display: flex;
align-items: center;
gap: 12px;
background: var(--bg);
border-radius: 50px;
padding: 6px 8px;
}
.detail-qty button {
width: 34px;
height: 34px;
border-radius: 50%;
background: white;
font-weight: 700;
font-size: 1.1rem;
box-shadow: var(--shadow);
display: flex;
align-items: center;
justify-content: center;
}
.detail-qty span {
font-weight: 700;
min-width: 24px;
text-align: center;
}
.detail-add-btn {
background: var(--primary);
color: var(--dark);
padding: 14px 28px;
border-radius: 50px;
font-weight: 700;
font-size: 0.95rem;
box-shadow: 0 4px 16px rgba(255,193,7,0.4);
white-space: nowrap;
transition: transform 0.2s;
}
.detail-add-btn:active { transform: scale(0.97); }
.cart-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.4);
z-index: 200;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
backdrop-filter: blur(2px);
}
.cart-overlay.open {
opacity: 1;
visibility: visible;
}
.cart-drawer {
position: fixed;
top: 0;
right: 0;
width: 100%;
max-width: 400px;
height: 100%;
background: var(--card);
z-index: 201;
transform: translateX(100%);
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
flex-direction: column;
border-radius: 24px 0 0 24px;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
padding: 20px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.2rem; font-weight: 700; }
.close-cart {
width: 36px;
height: 36px;
border-radius: 50%;
background: var(--bg);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
color: var(--text-muted);
}
.cart-items {
flex: 1;
overflow-y: auto;
padding: 16px 20px;
}
.cart-item {
display: flex;
gap: 14px;
padding: 14px 0;
border-bottom: 1px solid var(--border);
animation: fadeIn 0.3s ease;
}
.cart-item-img {
width: 70px;
height: 70px;
border-radius: var(--radius-sm);
object-fit: cover;
background: var(--bg);
}
.cart-item-info { flex: 1; }
.cart-item-name {
font-weight: 700;
font-size: 0.9rem;
margin-bottom: 2px;
}
.cart-item-price {
color: var(--text-muted);
font-size: 0.8rem;
margin-bottom: 8px;
}
.qty-control {
display: flex;
align-items: center;
gap: 12px;
}
.qty-btn {
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--bg);
font-weight: 700;
font-size: 1rem;
display: flex;
align-items: center;
justify-content: center;
color: var(--dark);
transition: background 0.2s;
}
.qty-btn:active { background: var(--primary); }
.cart-item-total {
font-weight: 700;
font-size: 0.95rem;
align-self: center;
}
.cart-footer {
padding: 20px;
border-top: 1px solid var(--border);
background: var(--card);
}
.cart-total-row {
display: flex;
justify-content: space-between;
margin-bottom: 6px;
font-size: 0.9rem;
color: var(--text-muted);
}
.cart-total-row.grand {
font-size: 1.15rem;
font-weight: 700;
color: var(--dark);
margin-top: 10px;
padding-top: 12px;
border-top: 1px dashed var(--border);
margin-bottom: 16px;
}
.btn-checkout {
width: 100%;
padding: 16px;
background: var(--primary);
color: var(--dark);
border-radius: 50px;
font-size: 1rem;
font-weight: 700;
transition: transform 0.2s, background 0.2s;
box-shadow: 0 4px 16px rgba(255,193,7,0.4);
}
.btn-checkout:active {
transform: scale(0.98);
background: var(--primary-dark);
}
.btn-checkout:disabled {
background: #ddd;
color: #999;
box-shadow: none;
cursor: not-allowed;
}
.empty-cart {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
}
.empty-cart .empty-icon {
font-size: 3rem;
margin-bottom: 12px;
opacity: 0.4;
}
.checkout-page {
max-width: 480px;
margin: 0 auto;
padding: 0 0 40px;
}
.checkout-header {
background: var(--dark);
color: white;
padding: 16px 20px 24px;
border-radius: 0 0 24px 24px;
display: flex;
align-items: center;
gap: 14px;
}
.back-btn {
width: 40px;
height: 40px;
background: rgba(255,255,255,0.12);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 1.2rem;
}
.checkout-header h1 {
font-size: 1.2rem;
font-weight: 700;
}
.checkout-body { padding: 20px; }
.form-card {
background: var(--card);
border-radius: var(--radius);
padding: 20px;
margin-bottom: 16px;
box-shadow: var(--shadow);
}
.form-card h3 {
font-size: 0.95rem;
font-weight: 700;
margin-bottom: 14px;
}
.form-group {
margin-bottom: 14px;
}
.form-group label {
display: block;
font-weight: 600;
font-size: 0.8rem;
margin-bottom: 6px;
color: var(--text-muted);
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 13px 16px;
border: 1.5px solid var(--border);
border-radius: var(--radius-sm);
font-size: 0.95rem;
background: var(--bg);
transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
border-color: var(--primary);
background: white;
}
.summary-item {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
.summary-item:last-child { border-bottom: none; }
.summary-item img {
width: 56px;
height: 56px;
border-radius: var(--radius-xs);
object-fit: cover;
background: var(--bg);
}
.summary-item-info { flex: 1; }
.summary-item-info .name {
font-weight: 600;
font-size: 0.9rem;
}
.summary-item-info .meta {
font-size: 0.75rem;
color: var(--text-muted);
}
.summary-item .price {
font-weight: 700;
font-size: 0.9rem;
}
.totals-box {
background: var(--card);
border-radius: var(--radius);
padding: 20px;
box-shadow: var(--shadow);
margin-bottom: 20px;
}
.total-line {
display: flex;
justify-content: space-between;
padding: 6px 0;
font-size: 0.9rem;
color: var(--text-muted);
}
.total-line.grand {
font-size: 1.15rem;
font-weight: 700;
color: var(--dark);
border-top: 1.5px dashed var(--border);
margin-top: 8px;
padding-top: 12px;
}
.success-page {
text-align: center;
padding: 80px 24px;
max-width: 400px;
margin: 0 auto;
}
.success-icon {
width: 90px;
height: 90px;
background: var(--primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px;
font-size: 2.8rem;
color: var(--dark);
animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 8px 30px rgba(255,193,7,0.4);
}
.success-page h2 {
font-size: 1.4rem;
margin-bottom: 8px;
}
.success-page p {
color: var(--text-muted);
margin-bottom: 8px;
font-size: 0.95rem;
}
.order-num {
font-size: 1.3rem;
font-weight: 700;
color: var(--dark);
margin: 12px 0 24px;
letter-spacing: 1px;
}
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.72);
backdrop-filter: blur(18px) saturate(1.4);
-webkit-backdrop-filter: blur(18px) saturate(1.4);
display: flex;
justify-content: space-around;
padding: 10px 0 14px;
box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
z-index: 90;
border-radius: 24px 24px 0 0;
border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.bottom-nav a {
display: flex;
flex-direction: column;
align-items: center;
gap: 3px;
font-size: 0.65rem;
color: var(--text-muted);
font-weight: 600;
padding: 4px 12px;
transition: color 0.2s;
}
.bottom-nav a.active { color: var(--dark); }
.bottom-nav a.active svg { color: var(--primary); }
.bottom-nav svg { width: 24px; height: 24px; }
.toast {
position: fixed;
bottom: 100px;
left: 50%;
transform: translateX(-50%) translateY(80px);
background: var(--dark);
color: white;
padding: 12px 28px;
border-radius: 50px;
font-weight: 600;
font-size: 0.9rem;
z-index: 400;
opacity: 0;
transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show {
opacity: 1;
transform: translateX(-50%) translateY(0);
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes scaleIn {
from { opacity: 0; transform: scale(0.4); }
to { opacity: 1; transform: scale(1); }
}
@keyframes hintIn {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
.product-card:nth-child(1) { animation-delay: 0.04s; }
.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.12s; }
.product-card:nth-child(4) { animation-delay: 0.16s; }
.product-card:nth-child(5) { animation-delay: 0.20s; }
.product-card:nth-child(6) { animation-delay: 0.24s; }
.product-card:nth-child(7) { animation-delay: 0.28s; }
.product-card:nth-child(8) { animation-delay: 0.32s; }
.alert-error {
background: #FFEBEE;
color: var(--danger);
padding: 12px 16px;
border-radius: var(--radius-sm);
margin-bottom: 16px;
font-size: 0.9rem;
}
.nav-icon-wrap {
position: relative;
display: inline-flex;
}
.nav-cart-badge {
position: absolute;
top: -6px;
right: -10px;
background: var(--primary, #FFC107);
color: var(--dark, #1A1A1A);
font-size: 0.65rem;
font-weight: 700;
min-width: 18px;
height: 18px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
padding: 0 4px;
line-height: 1;
}
.form-group .input-with-icon {
position: relative !important;
display: block !important;
width: 100% !important;
}
.form-group .input-with-icon .input-icon {
position: absolute !important;
right: 14px !important;
left: auto !important;
top: 50% !important;
bottom: auto !important;
transform: translateY(-50%) !important;
margin: 0 !important;
padding: 0 !important;
width: 22px !important;
height: 22px !important;
color: #9e9e9e !important;
pointer-events: none !important;
z-index: 5 !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
line-height: 1 !important;
}
.form-group .input-with-icon.icon-top .input-icon {
top: 14px !important;
transform: none !important;
}
.form-group .input-with-icon input,
.form-group .input-with-icon textarea {
display: block !important;
width: 100% !important;
padding: 14px 46px 14px 16px !important;
margin: 0 !important;
border: 1.5px solid #e8e8e8 !important;
border-radius: 14px !important;
background: #f3f3f3 !important;
font-size: 0.95rem !important;
box-sizing: border-box !important;
}
.form-group .input-with-icon input:focus,
.form-group .input-with-icon textarea:focus {
border-color: #FFC107 !important;
background: #fff !important;
}
.form-group .input-with-icon .input-icon svg {
display: block !important;
width: 18px !important;
height: 18px !important;
}
.btn-locate {
display: inline-flex !important;
align-items: center;
gap: 8px;
margin-top: 10px;
padding: 11px 18px;
border: none;
border-radius: 50px;
background: #FFC107;
color: #1A1A1A;
font-size: 0.85rem;
font-weight: 700;
cursor: pointer;
}
.locate-status { margin-top: 8px; font-size: 0.8rem; color: #888; }
.product-card {
background: var(--card);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 14px rgba(0,0,0,0.06);
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: fadeUp 0.5s ease both;
position: relative;
cursor: pointer;
border: 1px solid rgba(0,0,0,0.04);
}
.product-img-wrap {
position: relative;
width: 100%;
height: 145px;
overflow: hidden;
background: linear-gradient(145deg, #f5f5f5, #ebebeb);
}
.product-img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.product-body {
padding: 12px 14px 14px;
}
.product-name {
font-size: 0.92rem;
font-weight: 700;
margin-bottom: 3px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
color: var(--dark);
}
.product-desc {
font-size: 0.72rem;
color: var(--text-muted);
margin-bottom: 10px;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.35;
}
.product-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.product-price {
font-weight: 800;
font-size: 1rem;
color: var(--dark);
letter-spacing: -0.02em;
}
.add-btn {
background: var(--primary);
color: var(--dark);
width: 36px;
height: 36px;
border-radius: 50%;
font-size: 1.35rem;
font-weight: 600;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
box-shadow: 0 3px 10px rgba(255,193,7,0.35);
z-index: 2;
border: none;
flex-shrink: 0;
}
.add-btn:active { transform: scale(0.9); }
.card-style-1 .product-card {
border-radius: 20px;
background: #fff;
box-shadow: 8px 8px 20px rgba(0,0,0,0.06), -4px -4px 12px rgba(255,255,255,0.9);
border: none;
}
.card-style-1 .product-img-wrap {
height: 132px;
border-radius: 16px;
margin: 10px 10px 0;
width: calc(100% - 20px);
overflow: hidden;
}
.card-style-1 .product-body { padding: 12px 14px 14px; }
.card-style-1 .add-btn {
border-radius: 14px;
width: 36px;
height: 36px;
box-shadow: 4px 4px 10px rgba(255,193,7,0.35);
}
.card-style-2 .product-card {
border-radius: 16px 16px 4px 4px;
box-shadow: 0 12px 28px rgba(0,0,0,0.1);
border: 1px solid rgba(0,0,0,0.04);
background: linear-gradient(180deg, #fff 70%, #fafafa 100%);
}
.card-style-2 .product-img-wrap {
height: 150px;
clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
}
.card-style-2 .product-body { padding-top: 8px; text-align: center; }
.card-style-2 .product-footer { justify-content: center; gap: 12px; }
.card-style-2 .add-btn {
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 1.4rem;
}
.card-style-3 .product-card {
border-radius: 12px;
box-shadow: none;
border: 1.5px dashed #d0d0d0;
background: transparent;
padding: 8px;
}
.card-style-3 .product-img-wrap {
height: 120px;
border-radius: 10px;
border: 1.5px solid #e8e8e8;
}
.card-style-3 .product-body { padding: 10px 6px 6px; background: transparent; }
.card-style-3 .add-btn {
background: transparent;
border: 2px solid var(--primary);
box-shadow: none;
color: var(--dark);
border-radius: 8px;
width: 32px;
height: 32px;
}
.card-style-4 .product-card {
background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
border-radius: 18px;
box-shadow: 0 10px 30px rgba(0,0,0,0.35);
border: 1px solid rgba(255,255,255,0.06);
}
.card-style-4 .product-img-wrap {
height: 140px;
border-radius: 14px;
margin: 8px 8px 0;
width: calc(100% - 16px);
}
.card-style-4 .product-body { background: transparent; color: #fff; padding: 12px 14px 14px; }
.card-style-4 .product-name { color: #fff; }
.card-style-4 .product-desc { color: rgba(255,255,255,0.55); }
.card-style-4 .product-price {
color: var(--primary);
font-weight: 800;
letter-spacing: 0.02em;
}
.card-style-4 .add-btn {
box-shadow: 0 4px 14px rgba(255,193,7,0.45);
}
.card-style-5 .product-card {
border-radius: 32px;
box-shadow: 0 8px 24px rgba(0,0,0,0.07);
overflow: hidden;
}
.card-style-5 .product-img-wrap {
height: 148px;
border-radius: 28px 28px 0 0;
}
.card-style-5 .product-body { padding: 14px 16px 16px; }
.card-style-5 .product-name { font-size: 0.95rem; }
.card-style-5 .add-btn {
border-radius: 50px;
width: 48px;
height: 30px;
font-size: 1.15rem;
letter-spacing: -1px;
}
.card-style-6 .product-card {
position: relative;
border-radius: 16px;
box-shadow: 0 14px 32px rgba(0,0,0,0.18);
min-height: 210px;
}
.card-style-6 .product-img-wrap {
height: 210px;
position: absolute;
inset: 0;
}
.card-style-6 .product-img { height: 100%; }
.card-style-6 .product-body {
position: absolute;
bottom: 0; left: 0; right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 55%, transparent 100%);
padding: 40px 14px 14px;
color: #fff;
z-index: 2;
}
.card-style-6 .product-name {
color: #fff;
font-size: 1rem;
text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.card-style-6 .product-desc { display: none; }
.card-style-6 .product-price { color: var(--primary); font-size: 1.05rem; }
.card-style-6 .add-btn {
box-shadow: 0 4px 16px rgba(0,0,0,0.5);
width: 36px;
height: 36px;
}
.card-style-7 .product-card {
border-radius: 18px;
border: 2px solid var(--primary);
box-shadow: 0 0 0 0 rgba(255,193,7,0.35), 0 6px 18px rgba(0,0,0,0.06);
background: #fff;
transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card-style-7 .product-img-wrap {
height: 136px;
border-radius: 12px;
margin: 8px 8px 0;
width: calc(100% - 16px);
}
.card-style-7 .product-card:hover,
.card-style-7 .product-card:active {
box-shadow: 0 0 0 4px rgba(255,193,7,0.28), 0 0 24px rgba(255,193,7,0.4), 0 10px 24px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.card-style-7 .add-btn {
box-shadow: 0 0 12px rgba(255,193,7,0.55);
}
.card-style-8 .products-grid {
grid-template-columns: 1fr;
gap: 12px;
}
@media (min-width: 560px) {
.card-style-8 .products-grid { grid-template-columns: 1fr 1fr; }
}
.card-style-8 .product-card {
display: flex;
flex-direction: row;
align-items: stretch;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0,0,0,0.07);
min-height: 96px;
}
.card-style-8 .product-img-wrap {
width: 96px;
height: 96px;
flex-shrink: 0;
border-radius: 14px;
margin: 8px 0 8px 8px;
overflow: hidden;
}
.card-style-8 .product-body {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 10px 12px 10px 12px;
min-width: 0;
}
.card-style-8 .product-name { font-size: 0.95rem; }
.card-style-8 .product-desc {
-webkit-line-clamp: 2;
margin-bottom: 6px;
font-size: 0.75rem;
}
.card-style-8 .add-btn {
width: 34px;
height: 34px;
flex-shrink: 0;
}
.card-style-9 .product-card {
background: rgba(255,255,255,0.55);
backdrop-filter: blur(16px) saturate(1.3);
-webkit-backdrop-filter: blur(16px) saturate(1.3);
border: 1px solid rgba(255,255,255,0.55);
box-shadow: 0 10px 28px rgba(0,0,0,0.1);
border-radius: 22px;
}
.card-style-9 .product-img-wrap {
height: 140px;
border-radius: 16px;
margin: 10px 10px 0;
width: calc(100% - 20px);
background: rgba(0,0,0,0.04);
}
.card-style-9 .product-body { background: transparent; }
.card-style-9 .add-btn {
background: rgba(255,193,7,0.95);
backdrop-filter: blur(6px);
}
.card-style-10 .product-card {
border-radius: 16px;
box-shadow: 0 8px 22px rgba(0,0,0,0.09);
border: 1px solid #eee;
overflow: hidden;
}
.card-style-10 .product-img-wrap {
height: 145px;
position: relative;
}
.card-style-10 .product-price {
background: var(--dark);
color: #fff;
padding: 5px 12px;
border-radius: 50px;
font-size: 0.82rem;
font-weight: 800;
letter-spacing: 0.02em;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.card-style-10 .product-name {
font-size: 0.92rem;
font-weight: 800;
}
.card-style-10 .add-btn {
background: var(--dark);
color: var(--primary);
border-radius: 12px;
width: 38px;
height: 38px;
box-shadow: 0 4px 12px rgba(0,0,0,0.25);
font-weight: 700;
}
@media (max-width: 380px) {
.card-style-1 .product-img-wrap,
.card-style-4 .product-img-wrap,
.card-style-7 .product-img-wrap,
.card-style-9 .product-img-wrap {
height: 118px;
}
.card-style-6 .product-card,
.card-style-6 .product-img-wrap { min-height: 190px; height: 190px; }
.card-style-8 .product-img-wrap { width: 84px; height: 84px; }
}
.promo-slider-section {
padding: 12px 0 10px;
overflow: hidden;
}
.promo-slider {
display: flex;
gap: 12px;
overflow-x: auto;
padding: 8px 16px 16px 16px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
justify-content: flex-start;
}
.promo-slider::-webkit-scrollbar { display: none; }
.promo-slide {
flex: 0 0 min(88%, 320px);
scroll-snap-align: center;
border-radius: 16px;
padding: 22px 20px;
display: flex;
align-items: flex-end;
min-height: 150px;
position: relative;
overflow: hidden;
box-shadow: 0 4px 18px rgba(0,0,0,0.12);
animation: fadeUp 0.5s ease both;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.promo-slide-content {
position: relative;
z-index: 2;
width: 100%;
max-width: 70%;
}
.promo-slide-title {
font-size: 1.25rem;
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.02em;
margin-bottom: 2px;
}
.promo-slide-sub {
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.06em;
text-transform: uppercase;
opacity: 0.95;
margin-bottom: 14px;
line-height: 1.35;
}
.promo-slide-btn {
display: inline-block;
padding: 9px 18px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 700;
background: #ffffff !important;
color: #1a1a1a !important;
box-shadow: 0 2px 10px rgba(0,0,0,0.12);
border: none;
}
.promo-slide-img,
.promo-slide-emoji {
display: none !important;
}
.promo-slide-bgimg {
padding: 0 !important;
min-height: 160px;
flex: 0 0 min(92%, 360px);
align-items: stretch;
}
.promo-slide-bgimg .promo-slide-overlay {
display: none !important;
}
.promo-slide-bgimg .promo-slide-content {
display: none !important;
}
.promo-slide-overlay {
position: absolute;
inset: 0;
background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.1) 100%);
z-index: 1;
border-radius: inherit;
pointer-events: none;
}
.slider-style-1 .promo-slide {
border-radius: 16px;
min-height: 150px;
}
.slider-style-2 .promo-slide {
border-radius: 20px;
box-shadow: 0 10px 28px rgba(0,0,0,0.14);
min-height: 155px;
}
.slider-style-3 .promo-slide {
border-radius: 12px;
box-shadow: none;
border: 1px solid rgba(0,0,0,0.08);
}
.slider-style-3 .promo-slide-btn {
border-radius: 8px;
}
.slider-style-4 .promo-slide {
min-height: 180px;
flex: 0 0 min(90%, 360px);
align-items: flex-end;
}
.slider-style-4 .promo-slide-title { font-size: 1.4rem; }
.slider-style-4 .promo-slide-bgimg {
min-height: 190px;
flex: 0 0 min(94%, 380px);
}
.slider-style-5 .promo-slide {
border-radius: 28px;
min-height: 150px;
}
.slider-style-5 .promo-slide-btn {
border-radius: 50px;
padding: 10px 22px;
}
.slider-style-6 .promo-slide {
min-height: 170px;
flex: 0 0 min(92%, 380px);
padding: 24px;
}
.slider-style-6 .promo-slide-overlay {
background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.slider-style-6 .promo-slide-content { max-width: 85%; }
.slider-style-6 .promo-slide-bgimg {
min-height: 180px;
flex: 0 0 min(95%, 400px);
padding: 0 !important;
}
.slider-style-7 .promo-slide {
border: 2px solid rgba(255,255,255,0.35);
box-shadow: 0 0 0 3px rgba(255,193,7,0.2), 0 8px 20px rgba(0,0,0,0.12);
}
.slider-style-8 .promo-slide {
min-height: 120px;
flex: 0 0 min(75%, 260px);
padding: 16px 18px;
border-radius: 14px;
}
.slider-style-8 .promo-slide-title { font-size: 1rem; }
.slider-style-8 .promo-slide-sub { margin-bottom: 10px; font-size: 0.65rem; }
.slider-style-8 .promo-slide-btn { padding: 7px 14px; font-size: 0.72rem; }
.slider-style-9 .promo-slide {
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.35);
box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.slider-style-9 .promo-slide-overlay {
background: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.2));
backdrop-filter: blur(2px);
}
.slider-style-9 .promo-slide-btn {
background: rgba(255,255,255,0.92) !important;
}
.slider-style-10 .promo-slide {
min-height: 175px;
flex: 0 0 min(90%, 350px);
border-radius: 16px;
}
.slider-style-10 .promo-slide-title {
font-size: 1.55rem;
font-weight: 900;
}
.slider-style-10 .promo-slide-btn {
padding: 11px 24px;
font-size: 0.85rem;
font-weight: 800;
}
.slider-style-10 .promo-slide-bgimg {
min-height: 185px;
flex: 0 0 min(94%, 380px);
}
@media (min-width: 600px) {
.promo-slide { flex: 0 0 320px; }
.promo-slide-bgimg { flex: 0 0 380px; min-height: 180px; }
.slider-style-4 .promo-slide { flex: 0 0 360px; }
.slider-style-6 .promo-slide { flex: 0 0 400px; }
.slider-style-6 .promo-slide-bgimg { flex: 0 0 420px; }
.slider-style-8 .promo-slide { flex: 0 0 260px; }
.slider-style-10 .promo-slide { flex: 0 0 360px; }
}
.loc-gate {
position: fixed;
inset: 0;
z-index: 500;
background: rgba(0,0,0,0.42);
backdrop-filter: blur(18px) saturate(1.35);
-webkit-backdrop-filter: blur(18px) saturate(1.35);
display: flex;
align-items: flex-end;
justify-content: center;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
}
.loc-gate.open {
opacity: 1;
visibility: visible;
}
.loc-gate-card {
width: 100%;
max-width: 440px;
max-height: 92vh;
overflow-y: auto;
background: var(--card, #fff);
border-radius: 28px 28px 0 0;
padding: 24px 20px 28px;
transform: translateY(40px);
transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
box-shadow: 0 -12px 40px rgba(0,0,0,0.15);
}
.loc-gate.open .loc-gate-card { transform: translateY(0); }
.loc-gate-logo {
text-align: center;
margin-bottom: 12px;
}
.loc-gate-logo img {
max-height: 52px;
max-width: 160px;
margin: 0 auto;
object-fit: contain;
}
.loc-gate-logo-text {
text-align: center;
font-weight: 800;
font-size: 1.2rem;
margin-bottom: 12px;
color: var(--dark);
}
.loc-gate-title {
text-align: center;
font-size: 1.15rem;
font-weight: 800;
margin: 8px 0 16px;
color: var(--dark);
}
.loc-order-types {
display: flex;
background: var(--bg, #f5f5f5);
border-radius: 50px;
padding: 4px;
gap: 4px;
margin-bottom: 18px;
}
.loc-type-btn {
flex: 1;
border: none;
background: transparent;
padding: 10px 8px;
border-radius: 50px;
font-weight: 700;
font-size: 0.85rem;
color: var(--text-muted, #888);
font-family: inherit;
transition: all 0.2s;
}
.loc-type-btn.active {
background: var(--dark, #1a1a1a);
color: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.loc-gate-hint {
text-align: center;
font-size: 0.8rem;
color: var(--text-muted, #888);
margin: 14px 0 10px;
}
.loc-gps-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
max-width: 260px;
margin: 0 auto;
padding: 11px 18px;
border-radius: 50px;
border: 1.5px solid var(--dark, #1a1a1a);
background: #fff;
font-weight: 700;
font-size: 0.88rem;
color: var(--dark);
font-family: inherit;
}
.loc-gps-btn:active { transform: scale(0.98); background: var(--bg); }
.loc-gps-status {
text-align: center;
font-size: 0.75rem;
color: var(--text-muted);
min-height: 1.1em;
margin-top: 6px;
}
.loc-city-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
margin-bottom: 8px;
}
@media (max-width: 360px) {
.loc-city-grid { grid-template-columns: repeat(3, 1fr); }
}
.loc-city-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: 12px 6px;
border-radius: 16px;
border: 1.5px dashed #ddd;
background: #fff;
font-family: inherit;
transition: all 0.2s;
}
.loc-city-btn .loc-city-icon {
font-size: 1.6rem;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
}
.loc-city-btn .loc-city-img {
padding: 0;
overflow: hidden;
border-radius: 12px;
}
.loc-city-btn .loc-city-img img {
width: 44px;
height: 44px;
object-fit: cover;
display: block;
border-radius: 12px;
}
.loc-city-btn .loc-city-placeholder {
color: var(--text-muted, #888);
background: var(--bg, #f5f5f5);
border-radius: 12px;
}
.loc-city-btn .loc-city-name {
font-size: 0.68rem;
font-weight: 600;
color: var(--text-muted);
text-align: center;
}
.loc-city-btn.active {
border-style: solid;
border-color: var(--primary, #FFC107);
background: color-mix(in srgb, var(--primary, #FFC107) 12%, white);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary, #FFC107) 25%, transparent);
}
.loc-city-btn.active .loc-city-name {
color: var(--dark);
font-weight: 700;
}
.loc-area-select {
width: 100%;
padding: 14px 16px;
border-radius: 14px;
border: 1.5px solid #e0e0e0;
font-size: 0.95rem;
font-family: inherit;
background: #fff;
margin-bottom: 18px;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
}
.loc-area-select:focus {
border-color: var(--primary);
outline: none;
}
.loc-select-btn {
width: 100%;
padding: 15px 20px;
border-radius: 50px;
border: none;
background: var(--dark, #1a1a1a);
color: #fff;
font-weight: 800;
font-size: 1rem;
font-family: inherit;
box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.loc-select-btn:disabled {
opacity: 0.45;
box-shadow: none;
cursor: not-allowed;
}
.loc-select-btn:not(:disabled):active { transform: scale(0.98); }
body.loc-gate-open {
overflow: hidden;
}
.loc-style-1 .loc-gate-card {
border-radius: 28px 28px 0 0;
box-shadow: 0 -16px 48px rgba(0,0,0,0.18);
}
.loc-style-1 .loc-type-btn.active {
background: var(--dark, #1a1a1a);
}
.loc-style-1 .loc-select-btn {
background: var(--dark, #1a1a1a);
}
.loc-style-2.loc-gate {
align-items: center;
padding: 16px;
}
.loc-style-2 .loc-gate-card {
border-radius: 24px;
max-width: 400px;
transform: scale(0.92) translateY(12px);
background: rgba(255,255,255,0.72);
backdrop-filter: blur(24px) saturate(1.5);
-webkit-backdrop-filter: blur(24px) saturate(1.5);
border: 1px solid rgba(255,255,255,0.55);
box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}
.loc-style-2.loc-gate.open .loc-gate-card {
transform: scale(1) translateY(0);
}
.loc-style-2 .loc-order-types {
background: rgba(255,255,255,0.45);
}
.loc-style-2 .loc-city-btn {
background: rgba(255,255,255,0.55);
border-style: solid;
border-color: rgba(0,0,0,0.06);
}
.loc-style-2 .loc-area-select {
background: rgba(255,255,255,0.65);
}
.loc-style-3 .loc-gate-card {
background: linear-gradient(165deg, #1f1f1f 0%, #121212 100%);
color: #fff;
border-radius: 28px 28px 0 0;
box-shadow: 0 -20px 50px rgba(0,0,0,0.5);
}
.loc-style-3 .loc-gate-title,
.loc-style-3 .loc-gate-logo-text { color: #fff; }
.loc-style-3 .loc-gate-hint { color: rgba(255,255,255,0.55); }
.loc-style-3 .loc-order-types { background: rgba(255,255,255,0.08); }
.loc-style-3 .loc-type-btn { color: rgba(255,255,255,0.55); }
.loc-style-3 .loc-type-btn.active {
background: var(--primary, #FFC107);
color: #1a1a1a;
}
.loc-style-3 .loc-gps-btn {
background: transparent;
border-color: rgba(255,255,255,0.35);
color: #fff;
}
.loc-style-3 .loc-city-btn {
background: rgba(255,255,255,0.06);
border-color: rgba(255,255,255,0.15);
border-style: solid;
}
.loc-style-3 .loc-city-btn .loc-city-name { color: rgba(255,255,255,0.7); }
.loc-style-3 .loc-city-btn.active {
border-color: var(--primary, #FFC107);
background: color-mix(in srgb, var(--primary, #FFC107) 18%, transparent);
}
.loc-style-3 .loc-city-btn.active .loc-city-name { color: #fff; }
.loc-style-3 .loc-city-btn .loc-city-placeholder {
background: rgba(255,255,255,0.1);
color: rgba(255,255,255,0.5);
}
.loc-style-3 .loc-area-select {
background: rgba(255,255,255,0.08);
border-color: rgba(255,255,255,0.2);
color: #fff;
}
.loc-style-3 .loc-select-btn {
background: var(--primary, #FFC107);
color: #1a1a1a;
box-shadow: 0 8px 24px color-mix(in srgb, var(--primary, #FFC107) 40%, transparent);
}
.loc-style-4 .loc-gate-card {
border-radius: 4px 4px 0 0;
clip-path: polygon(
0 0, 100% 0, 100% calc(100% - 14px),
calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 14px)
);
border-top: 4px solid var(--primary, #FFC107);
box-shadow: 0 -10px 36px rgba(0,0,0,0.16);
}
.loc-style-4 .loc-order-types {
border-radius: 8px;
}
.loc-style-4 .loc-type-btn.active {
border-radius: 6px;
background: var(--primary, #FFC107);
color: #1a1a1a;
}
.loc-style-4 .loc-city-btn {
border-radius: 6px;
border-style: solid;
}
.loc-style-4 .loc-select-btn {
border-radius: 8px;
background: var(--primary, #FFC107);
color: #1a1a1a;
}
.loc-style-5 .loc-gate-card {
border-radius: 22px 22px 0 0;
border: 2px solid var(--primary, #FFC107);
box-shadow:
0 0 0 4px color-mix(in srgb, var(--primary, #FFC107) 22%, transparent),
0 -12px 40px rgba(0,0,0,0.18),
0 0 28px color-mix(in srgb, var(--primary, #FFC107) 35%, transparent);
}
.loc-style-5 .loc-type-btn.active {
background: var(--primary, #FFC107);
color: #1a1a1a;
box-shadow: 0 0 14px color-mix(in srgb, var(--primary, #FFC107) 50%, transparent);
}
.loc-style-5 .loc-city-btn.active {
box-shadow: 0 0 12px color-mix(in srgb, var(--primary, #FFC107) 40%, transparent);
}
.loc-style-5 .loc-select-btn {
background: var(--primary, #FFC107);
color: #1a1a1a;
box-shadow: 0 0 20px color-mix(in srgb, var(--primary, #FFC107) 45%, transparent);
}
.loc-style-6 .loc-gate-card {
border-radius: 16px 16px 0 0;
box-shadow: none;
border-top: 1px solid #eee;
padding-top: 20px;
}
.loc-style-6 .loc-gate-title {
font-weight: 600;
font-size: 1.05rem;
letter-spacing: -0.01em;
}
.loc-style-6 .loc-order-types {
background: transparent;
border: 1px solid #e5e5e5;
border-radius: 10px;
padding: 3px;
}
.loc-style-6 .loc-type-btn {
border-radius: 8px;
font-weight: 600;
}
.loc-style-6 .loc-type-btn.active {
background: var(--dark, #1a1a1a);
box-shadow: none;
}
.loc-style-6 .loc-gps-btn {
border-radius: 10px;
border-width: 1px;
}
.loc-style-6 .loc-city-btn {
border-radius: 10px;
border: 1px solid #e8e8e8;
border-style: solid;
}
.loc-style-6 .loc-area-select {
border-radius: 10px;
border-width: 1px;
}
.loc-style-6 .loc-select-btn {
border-radius: 10px;
box-shadow: none;
font-weight: 700;
}
.loc-style-7.loc-gate {
align-items: center;
padding: 20px;
}
.loc-style-7 .loc-gate-card {
border-radius: 36px;
max-width: 380px;
transform: translateY(24px) scale(0.96);
box-shadow: 0 28px 64px rgba(0,0,0,0.22);
padding: 28px 22px 30px;
}
.loc-style-7.loc-gate.open .loc-gate-card {
transform: translateY(0) scale(1);
}
.loc-style-7 .loc-order-types {
border-radius: 999px;
}
.loc-style-7 .loc-type-btn {
border-radius: 999px;
}
.loc-style-7 .loc-gps-btn {
border-radius: 999px;
}
.loc-style-7 .loc-city-btn {
border-radius: 20px;
}
.loc-style-7 .loc-area-select {
border-radius: 999px;
padding-left: 20px;
}
.loc-style-7 .loc-select-btn {
border-radius: 999px;
}
.loc-style-8 .loc-gate-card {
border-radius: 28px 28px 0 0;
padding-top: 0;
overflow: hidden;
}
.loc-style-8 .loc-gate-logo,
.loc-style-8 .loc-gate-logo-text {
margin: 0;
padding: 28px 20px 20px;
background: linear-gradient(135deg, var(--primary, #FFC107) 0%, color-mix(in srgb, var(--primary, #FFC107) 55%, #ff8f00) 100%);
border-radius: 0;
}
.loc-style-8 .loc-gate-logo-text { color: #1a1a1a; padding-bottom: 24px; }
.loc-style-8 .loc-gate-title {
margin-top: 18px;
}
.loc-style-8 .loc-type-btn.active {
background: var(--primary, #FFC107);
color: #1a1a1a;
}
.loc-style-8 .loc-select-btn {
background: linear-gradient(135deg, var(--primary, #FFC107), color-mix(in srgb, var(--primary, #FFC107) 60%, #ff8f00));
color: #1a1a1a;
}
.loc-style-9 .loc-gate-card {
border-radius: 24px 24px 0 0;
background: #f7f7f8;
}
.loc-style-9 .loc-order-types {
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.loc-style-9 .loc-city-grid {
gap: 12px;
}
.loc-style-9 .loc-city-btn {
background: #fff;
border: none;
border-style: solid;
border-color: transparent;
box-shadow: 0 4px 14px rgba(0,0,0,0.08);
border-radius: 18px;
padding: 14px 8px;
}
.loc-style-9 .loc-city-btn.active {
box-shadow: 0 6px 20px color-mix(in srgb, var(--primary, #FFC107) 35%, transparent);
border-color: var(--primary, #FFC107);
}
.loc-style-9 .loc-area-select {
background: #fff;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
border: none;
}
.loc-style-9 .loc-select-btn {
border-radius: 16px;
}
.loc-style-10 .loc-gate-card {
border-radius: 20px 20px 0 0;
border-top: 6px solid var(--dark, #1a1a1a);
}
.loc-style-10 .loc-gate-title {
font-size: 1.25rem;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.loc-style-10 .loc-order-types {
border-radius: 12px;
background: #eee;
}
.loc-style-10 .loc-type-btn {
border-radius: 10px;
font-weight: 800;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.03em;
}
.loc-style-10 .loc-type-btn.active {
background: var(--dark, #1a1a1a);
}
.loc-style-10 .loc-gps-btn {
border-radius: 12px;
border-width: 2px;
font-weight: 800;
}
.loc-style-10 .loc-city-btn {
border-radius: 12px;
border-width: 2px;
border-style: solid;
}
.loc-style-10 .loc-city-btn .loc-city-name {
font-weight: 700;
text-transform: uppercase;
font-size: 0.62rem;
letter-spacing: 0.02em;
}
.loc-style-10 .loc-area-select {
border-radius: 12px;
border-width: 2px;
font-weight: 600;
}
.loc-style-10 .loc-select-btn {
border-radius: 12px;
background: var(--dark, #1a1a1a);
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.95rem;
padding: 16px 20px;
}
.skeleton-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 14px;
padding: 0 4px 20px;
}
@media (min-width: 640px) {
.skeleton-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
.skeleton-grid { grid-template-columns: repeat(4, 1fr); }
}
.skeleton-card {
background: #fff;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.skeleton-img {
width: 100%;
aspect-ratio: 1.15;
background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
background-size: 200% 100%;
animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-body { padding: 12px; }
.skeleton-line {
height: 12px;
border-radius: 6px;
margin-bottom: 10px;
background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
background-size: 200% 100%;
animation: skeleton-shimmer 1.2s ease-in-out infinite;
}
.skeleton-line.short { width: 55%; }
.skeleton-line.tiny { width: 35%; height: 10px; margin-bottom: 0; }
@keyframes skeleton-shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.products-grid.is-loading { display: none; }
.skeleton-grid.is-hidden { display: none; }
html { max-width: 100%; -webkit-text-size-adjust: 100%; }
body { width: 100%; max-width: 100%; overflow-x: clip; }
main, .hero, .checkout-page { min-width: 0; max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
.loc-area-select { font-size: 16px; min-height: 50px; color: #1a1a1a; }
.loc-gate-card { box-sizing: border-box; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@supports (height: 100dvh) {
.loc-gate { min-height: 100dvh; height: 100dvh; }
.loc-gate-card { max-height: min(92dvh, 780px); }
}
@media (max-width: 599px) {
.hero { padding-left: 16px; padding-right: 16px; }
.hero-top { min-width: 0; }
.hero-logo { min-width: 0; }
.hero-actions { flex-shrink: 0; }
.location-box { min-width: 0; }
.loc-gate { padding: 0; align-items: flex-end; }
.loc-gate-card { width: 100%; max-width: 100%; padding: 20px 16px calc(22px + env(safe-area-inset-bottom, 0px)); border-radius: 24px 24px 0 0; }
.loc-order-types { min-width: 0; }
.loc-type-btn { min-width: 0; padding: 11px 5px; }
.loc-city-grid { grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.loc-city-btn { min-width: 0; }
.loc-city-btn .loc-city-name { overflow-wrap: anywhere; }
.loc-area-select { width: 100%; }
.checkout-body, .checkout-page, .checkout-page form { min-width: 0; }
.checkout-page input, .checkout-page select, .checkout-page textarea { width: 100%; font-size: 16px; }
.checkout-page textarea { max-width: 100%; }
body { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 375px) {
.loc-gate-card { padding-left: 13px; padding-right: 13px; }
.loc-gate-title { font-size: 1.05rem; }
.loc-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ========== PRODUCT DETAIL POPUP STYLES (1-10) ========== */
.detail-style-1 .detail-popup{border-radius:28px 28px 0 0;box-shadow:0 -8px 32px rgba(0,0,0,.08),8px 8px 24px rgba(0,0,0,.04)}
.detail-style-1 .detail-img-wrap{height:240px;margin:12px 12px 0;width:calc(100% - 24px);border-radius:20px;overflow:hidden}
.detail-style-1 .detail-close{top:24px;left:24px;box-shadow:6px 6px 14px rgba(0,0,0,.1),-3px -3px 10px rgba(255,255,255,.9)}
.detail-style-1 .detail-add-btn{border-radius:16px;box-shadow:4px 4px 12px rgba(255,193,7,.35)}
.detail-style-1 .detail-qty button{border-radius:12px;box-shadow:3px 3px 8px rgba(0,0,0,.06)}

.detail-style-2 .detail-popup{border-radius:20px 20px 0 0}
.detail-style-2 .detail-img-wrap{height:280px;clip-path:polygon(0 0,100% 0,100% 88%,50% 100%,0 88%)}
.detail-style-2 .detail-body{text-align:center;padding-top:8px}
.detail-style-2 .detail-footer{justify-content:center;flex-wrap:wrap}
.detail-style-2 .detail-add-btn{border-radius:50px;min-width:140px}
.detail-style-2 .detail-qty{margin:0 auto}

.detail-style-3 .detail-popup{border-radius:16px 16px 0 0;box-shadow:none;border:2px dashed #d0d0d0;background:transparent;margin:8px;width:calc(100% - 16px);max-width:464px}
.detail-style-3 .detail-img-wrap{height:220px;border-radius:12px;border:1.5px solid #e8e8e8;margin:8px;width:calc(100% - 16px)}
.detail-style-3 .detail-body{background:transparent}
.detail-style-3 .detail-add-btn{background:transparent;border:2px solid var(--primary);color:var(--dark);box-shadow:none;border-radius:10px}
.detail-style-3 .detail-close{background:#fff;border:1.5px solid #e0e0e0;box-shadow:none}

.detail-style-4 .detail-popup{background:linear-gradient(165deg,#2a2a2a 0%,#1a1a1a 100%);border-radius:22px 22px 0 0;color:#fff}
.detail-style-4 .detail-img-wrap{height:250px;border-radius:16px;margin:10px 10px 0;width:calc(100% - 20px)}
.detail-style-4 .detail-category,.detail-style-4 .detail-desc{color:#aaa}
.detail-style-4 .detail-name{color:#fff}
.detail-style-4 .detail-price{color:var(--primary);font-weight:800}
.detail-style-4 .detail-qty{background:#333;border-radius:12px}
.detail-style-4 .detail-qty button{color:#fff;background:transparent}
.detail-style-4 .detail-qty span{color:#fff}
.detail-style-4 .detail-add-btn{background:var(--primary);color:#1a1a1a}
.detail-style-4 .detail-close{background:rgba(40,40,40,.9);color:#fff}

.detail-style-5 .detail-popup{border-radius:36px 36px 0 0}
.detail-style-5 .detail-img-wrap{height:260px;border-radius:32px 32px 0 0}
.detail-style-5 .detail-close{border-radius:50%;width:44px;height:44px}
.detail-style-5 .detail-add-btn{border-radius:50px;padding:14px 28px}
.detail-style-5 .detail-qty{border-radius:50px;padding:4px 8px}
.detail-style-5 .detail-qty button{border-radius:50%;width:32px;height:32px}

.detail-style-6 .detail-popup{border-radius:20px 20px 0 0;overflow:hidden}
.detail-style-6 .detail-img-wrap{height:360px}
.detail-style-6 .detail-body{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.92));color:#fff;padding:40px 20px 28px;z-index:2}
.detail-style-6 .detail-popup{position:relative}
.detail-style-6 .detail-category{color:rgba(255,255,255,.7)}
.detail-style-6 .detail-name{color:#fff}
.detail-style-6 .detail-desc{color:rgba(255,255,255,.75)}
.detail-style-6 .detail-price{color:var(--primary);font-weight:800}
.detail-style-6 .detail-qty{background:rgba(255,255,255,.15);border-radius:12px}
.detail-style-6 .detail-qty button,.detail-style-6 .detail-qty span{color:#fff}
.detail-style-6 .detail-close{background:rgba(0,0,0,.5);color:#fff;backdrop-filter:blur(4px)}

.detail-style-7 .detail-popup{border-radius:20px 20px 0 0;border:2.5px solid var(--primary);box-shadow:0 0 0 4px rgba(255,193,7,.2),0 -4px 28px rgba(255,193,7,.25)}
.detail-style-7 .detail-img-wrap{height:250px}
.detail-style-7 .detail-add-btn{box-shadow:0 0 16px rgba(255,193,7,.45)}
.detail-style-7 .detail-close{border:2px solid var(--primary)}

.detail-style-8 .detail-popup{border-radius:18px 18px 0 0}
.detail-style-8 .detail-img-wrap{height:220px}
.detail-style-8 .detail-body{padding:16px 18px 24px}
.detail-style-8 .detail-footer{flex-wrap:wrap;gap:12px}
.detail-style-8 .detail-price{width:100%;font-size:1.5rem;margin-bottom:4px}
.detail-style-8 .detail-qty{order:1}
.detail-style-8 .detail-add-btn{flex:1;order:2;border-radius:12px}

.detail-style-9 .detail-popup{background:rgba(255,255,255,.72);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.5);border-radius:24px 24px 0 0;box-shadow:0 -8px 40px rgba(0,0,0,.12)}
.detail-style-9 .detail-img-wrap{height:240px;margin:10px 10px 0;width:calc(100% - 20px);border-radius:16px;overflow:hidden}
.detail-style-9 .detail-close{background:rgba(255,255,255,.85);backdrop-filter:blur(6px)}
.detail-style-9 .detail-add-btn{backdrop-filter:blur(4px)}

.detail-style-10 .detail-popup{border-radius:16px 16px 0 0;border-top:1px solid #eee}
.detail-style-10 .detail-img-wrap{height:250px}
.detail-style-10 .detail-price{background:var(--dark);color:#fff;display:inline-block;padding:6px 14px;border-radius:50px;font-size:1.1rem;font-weight:800;flex:0 0 auto}
.detail-style-10 .detail-add-btn{background:var(--dark);color:var(--primary);border-radius:12px;font-weight:700}
.detail-style-10 .detail-qty{background:#f5f5f5;border-radius:10px}
.detail-style-10 .detail-close{background:var(--dark);color:#fff}
