@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #002868;
    --primary-dark: #001740;
    --primary-light: #e6edf7;
    --danger-color: #ce1126;
    --danger-light: #fce8ea;
    --warning-color: #f59e0b;
    --text-color: #2c3e50;
    --text-muted: #8898a5;
    --bg-color: #f7f9fa;
    --card-bg: #ffffff;
    --border-color: #edf2f7;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.03);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Prompt', sans-serif;
    background-color: #e2e8f0;
    color: var(--text-color);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

/* Mobile App Frame container */
.app-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 75px; /* bottom nav space */
    display: flex;
    flex-direction: column;
}

/* Header styles */
header {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 16px;
    box-shadow: var(--shadow-sm);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.header-top .menu-btn, .header-top .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: white;
}

/* Search bar styling */
.search-wrapper {
    position: relative;
    width: 100%;
}

.search-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-wrapper input:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.search-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

/* Bottom Tab Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 64px;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    flex: 1;
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active i {
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: 6px;
    right: 22%;
    background-color: var(--danger-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid white;
    transform: translate(50%, -50%);
    animation: badgePop 0.3s ease-out;
}

@keyframes badgePop {
    0% { transform: translate(50%, -50%) scale(0.5); }
    70% { transform: translate(50%, -50%) scale(1.3); }
    100% { transform: translate(50%, -50%) scale(1); }
}

/* Home Banners Slider */
.banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #e2e8f0;
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 16px;
}

.promo-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.promo-card:hover {
    transform: translateY(-2px);
}

.promo-card.red {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

.promo-card.blue {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
}

.promo-card.orange {
    background: linear-gradient(135deg, #f12711, #f5af19);
}

.promo-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: 10px;
    opacity: 0.9;
}

.promo-btn {
    align-self: flex-start;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    margin-top: 8px;
    backdrop-filter: blur(4px);
}

/* Categories List (Horizontal Scroll) */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 8px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.section-link {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.categories-scroll {
    display: flex;
    overflow-x: auto;
    padding: 4px 16px 16px;
    gap: 14px;
    scroll-scrollbar-width: none; /* Firefox */
}

.categories-scroll::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 68px;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text-color);
}

.category-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 6px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-icon-item:hover .category-icon-wrapper {
    transform: translateY(-2px) scale(1.05);
    border-color: var(--primary-color);
}

.category-icon-wrapper i {
    font-size: 22px;
    color: var(--primary-color);
}

.category-icon-item span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 26px;
}

/* Flash Sale Section */
.flash-sale {
    background-color: var(--danger-color);
    padding: 10px 16px;
    color: white;
    border-radius: var(--radius-md);
    margin: 8px 16px 16px;
    box-shadow: var(--shadow);
}

.flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.flash-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
}

.timer-box {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 12px;
}

.flash-products {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.flash-products::-webkit-scrollbar {
    display: none;
}

.flash-card {
    background-color: white;
    border-radius: var(--radius-md);
    width: 125px;
    flex-shrink: 0;
    padding: 8px;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.badge-flash {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--danger-color);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    z-index: 2;
}

.flash-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 6px;
}

.flash-card-name {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.flash-price-row {
    margin-top: auto;
}

.flash-price {
    color: var(--danger-color);
    font-weight: 700;
    font-size: 13px;
}

.flash-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 10px;
    margin-left: 2px;
}

.flash-progress {
    height: 6px;
    background-color: #edf2f7;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.flash-progress-bar {
    height: 100%;
    background-color: var(--danger-color);
    border-radius: 3px;
}

/* Product Card Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--danger-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.badge-status {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #718096;
    color: white;
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.badge-status.out-of-stock {
    background-color: var(--danger-color);
    font-size: 16px;
    padding: 4px 8px;
}

.product-card-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    padding: 10px;
    background-color: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-sku {
    font-size: 9px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.product-card-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.35;
    height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.product-card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 15px;
    font-weight: 700;
    color: var(--danger-color);
}

.price-original {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: -2px;
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.btn-add-cart:disabled {
    background-color: #cbd5e0;
    cursor: not-allowed;
}

/* Category Filter Bar */
.filter-bar {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 60px;
    z-index: 90;
}

.filter-bar select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    color: var(--text-color);
    background-color: white;
}

/* Modal View details */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 480px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.modal-title {
    font-weight: 700;
    font-size: 16px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
}

.detail-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    padding: 10px;
    background-color: #fafbfc;
}

.detail-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.detail-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.detail-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--danger-color);
}

.detail-price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-meta {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-meta-item {
    display: flex;
    justify-content: space-between;
}

.detail-meta-label {
    color: var(--text-muted);
}

.detail-meta-value {
    font-weight: 500;
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.btn-action-primary {
    flex: 2;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    transition: var(--transition);
}

.btn-action-primary:hover {
    background-color: var(--primary-dark);
}

.btn-action-secondary {
    flex: 1;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    transition: var(--transition);
}

.btn-action-secondary:hover {
    background-color: #dbf3e4;
}

/* Cart Slide-out Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    width: 100%;
    max-width: 480px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.cart-drawer-overlay.open .cart-drawer {
    transform: translateY(0);
}

.cart-drawer-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-title {
    font-weight: 700;
    font-size: 16px;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-card {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.cart-item-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img-wrapper {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fafbfc;
}

.cart-item-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 13px;
    color: var(--danger-color);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--border-color);
}

.qty-val {
    font-size: 13px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.btn-remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    margin-left: auto;
    transition: var(--transition);
}

.btn-remove-item:hover {
    color: var(--danger-color);
}

.cart-empty-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.cart-empty-message i {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--border-color);
}

.cart-drawer-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background-color: #fafbfc;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.cart-total-price {
    font-size: 18px;
    color: var(--danger-color);
    font-weight: 700;
}

.btn-checkout {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

.btn-checkout:hover {
    background-color: var(--primary-dark);
}

/* Forms page Styling (checkout.php) */
.checkout-container {
    padding: 16px;
}

.checkout-section {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.checkout-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 12px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    outline: none;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.radio-label input {
    width: auto;
}

.radio-label:hover, .radio-label.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

/* Success and Orders page */
.success-card {
    text-align: center;
    padding: 40px 20px;
    background-color: white;
    border-radius: var(--radius-md);
    margin: 20px 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.order-item-list-checkout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item-mini {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.order-item-mini-name {
    flex-grow: 1;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* FontAwesome and layout helpers */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* Custom Banner Animations */
.banner-dot-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.banner-dot.active {
    background-color: white;
    width: 14px;
    border-radius: 3px;
}

/* Kip Price Styles */
.price-lak {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 1px;
}
.detail-price-lak {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 4px;
}

/* =========================================================
   PC (Desktop) Overrides
   ========================================================= */
body {
    padding: 0;
    background-color: #f1f5f9;
    display: block;
}
.app-container {
    max-width: 1200px;
    border-radius: 16px;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding-bottom: 0;
    min-height: calc(100vh - 40px);
}

.products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    padding: 20px;
}

.bottom-nav {
    position: absolute;
    top: 15px;
    right: 20px;
    width: auto;
    max-width: 400px;
    bottom: auto;
    left: auto;
    transform: none;
    background: transparent;
    border: none;
    height: auto;
    gap: 20px;
}

.bottom-nav .nav-item {
    color: white;
    flex: none;
    padding: 5px 15px;
}

.bottom-nav .nav-item.active {
    color: #f1f5f9;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
}

.bottom-nav .nav-item.active::after {
    display: none;
}

.bottom-nav .nav-icon {
    font-size: 20px;
    margin-bottom: 0;
    margin-right: 8px;
    display: inline-block;
}

.bottom-nav .nav-text {
    display: inline-block;
    font-size: 14px;
}

.header-top {
    padding-right: 400px;
}

.search-wrapper input {
    max-width: 500px;
}

/* Make categories circular horizontal scroll wider */
.categories-scroll {
    gap: 20px;
    padding: 20px;
}
.category-icon-wrapper {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

/* Product Detail Image */
.product-detail-img-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

/* Full Width Header */
.pc-header-full {
    background-color: var(--primary-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pc-header-full .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pc-header-full .logo-container {
    flex: 0 0 auto;
}

.pc-header-full .search-wrapper {
    flex: 1 1 auto;
    max-width: 500px;
    margin: 0;
}

.pc-header-full .search-wrapper input {
    padding: 8px 16px 8px 36px;
    font-size: 13px;
}

.pc-header-full .search-wrapper i {
    font-size: 14px;
    left: 12px;
}

.pc-header-full .header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.pc-header-full .nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.pc-header-full .nav-item i {
    margin-bottom: 0;
}

.pc-header-full .nav-item:hover, .pc-header-full .nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.pc-header-full .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--danger-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
}

