/**
 * Fast Checkout Shop Styles
 * Mobile-first e-commerce experience
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================
   CSS VARIABLES
   ==========================================*/
:root {
    --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-light: #d1fae5;
    --secondary-color: #3b82f6;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --bg-color: #f9fafb;
    --bg-card: #ffffff;
    --border: #e5e7eb;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 50px;

    --header-height: 60px;
    --banner-height: 80px;
    --search-height: 56px;
    --footer-height: 80px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[data-theme="dark"] {
    --bg: #111827;
    --bg-card: #1f2937;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border: #374151;

    --primary: #34d399;
    --primary-dark: #10b981;
    --primary-light: #064e3b;
}

/* ==========================================
   BASE
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: var(--header-height);
    padding-bottom: calc(var(--footer-height) + var(--safe-bottom));
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    text-align: center;
    position: relative;
    /* Scrolls naturally */
    z-index: 90;
    height: var(--banner-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner h1 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.hero-banner p {
    font-size: 0.72rem;
    opacity: 0.95;
    margin: 0 0 5px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    margin: 0 auto;
    width: fit-content;
}

.hero-badge.open {
    animation: pulse-open 2s ease-in-out infinite;
}

@keyframes pulse-open {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 1rem;
    }

    .hero-banner p {
        font-size: 0.7rem;
    }
}

/* ==========================================
   HEADER
   ========================================== */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.cart-btn {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-btn:hover,
.cart-btn:active {
    background: var(--primary-light);
    border-color: var(--primary);
}

.cart-icon {
    font-size: 1.3rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    animation: cart-bounce 0.6s ease infinite;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

@keyframes cart-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.cart-badge.pulse {
    animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}



/* ==========================================
   SEARCH BAR
   ========================================== */
/* ==========================================
   SEARCH BAR
   ========================================== */
.search-bar {
    position: sticky;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: var(--search-height);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    z-index: 85;
}

.search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    font-size: 1rem;
    opacity: 0.5;
    pointer-events: none;
}

#search-input {
    width: 100%;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: var(--radius-full);
    padding: 0 16px 0 40px;
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: all 0.2s ease;
}

#search-input:focus {
    background: white;
    box-shadow: 0 0 0 2px var(--primary-light);
}

.search-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    font-size: 1rem;
    opacity: 0.5;
    pointer-events: none;
}

#search-input {
    width: 100%;
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0 16px 0 40px;
    font-size: 0.95rem;
    font-family: var(--font);
    color: var(--text);
    transition: all 0.2s ease;
}

#search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

#search-input::placeholder {
    color: var(--text-muted);
}

.category-select {
    height: 40px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 12px;
    font-size: 0.85rem;
    font-family: var(--font);
    color: var(--text);
    cursor: pointer;
    min-width: 100px;
}

.category-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
    padding: 16px;
    min-height: calc(100vh - var(--header-height) - var(--search-height) - var(--footer-height));
}

/* ==========================================
   PRODUCTS GRID
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    /* Force 2 columns */
    gap: 12px;
    padding-bottom: 20px;
    width: 100%;
    /* Ensure full width */
}

@media (min-width: 480px) {
    .products-grid {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.product-placeholder {
    font-size: 2rem;
    opacity: 0.3;
}

.product-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-code {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: auto;
}

.product-actions {
    padding: 0 12px 12px;
}

.add-btn {
    width: 100%;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.add-btn:hover,
.add-btn:active {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.add-btn span {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 4px;
}

.qty-controls.compact {
    gap: 4px;
    padding: 2px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.qty-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.qty-btn.minus:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

/* ==========================================
   SKELETON LOADING
   ========================================== */
.product-card.skeleton {
    pointer-events: none;
}

.skeleton-image,
.skeleton-text,
.skeleton-btn {
    background: linear-gradient(90deg, var(--bg) 0%, var(--border) 50%, var(--bg) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 1;
}

.skeleton-text {
    height: 16px;
    margin: 12px;
}

.skeleton-text.short {
    width: 60%;
    height: 14px;
    margin-top: 8px;
}

.skeleton-btn {
    height: 40px;
    margin: 12px;
    margin-top: auto;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.retry-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
}

/* ==========================================
   OVERLAY
   ========================================== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 200;
    backdrop-filter: blur(4px);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   CART BOTTOM SHEET
   ========================================== */
.cart-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-xl);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 201;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding-bottom: var(--safe-bottom);
}

.cart-sheet.open {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sheet-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
}

.close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--border);
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 120px;
    max-height: 40vh;
}

/* Cart Item */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 56px;
    height: 56px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-placeholder {
    font-size: 1.5rem;
    opacity: 0.3;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.remove-btn:hover {
    opacity: 1;
}

/* Cart Footer - Always visible */
.cart-footer {
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    flex-shrink: 0;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.cart-total {
    font-size: 1.25rem;
    color: #10b981;
    font-weight: 700;
}

.checkout-cta {
    width: 100%;
    height: 48px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
}

.checkout-cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-cta:not(:disabled):hover {
    background: #059669;
}

/* ==========================================
   CHECKOUT MODAL
   ========================================== */
.checkout-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: var(--shadow-xl);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 202;
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: var(--safe-bottom);
}

.checkout-modal.open {
    transform: translateY(0);
}

.checkout-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--primary-light);
    border-bottom: 1px solid var(--border);
}

.checkout-summary span:first-child {
    color: var(--text-muted);
}

.checkout-sum-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.checkout-form {
    padding: 16px;
}

/* Side by side form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.form-group input {
    width: 100%;
    height: 42px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 0.95rem;
    font-family: var(--font);
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

/* Payment Pills - Compact horizontal */
.payment-pills {
    display: flex;
    gap: 8px;
}

.payment-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s;
}

.payment-pill input {
    display: none;
}

.payment-pill.selected {
    border-color: #10b981;
    background: #d1fae5;
}

.submit-btn {
    width: 100%;
    height: 50px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    margin-top: 16px;
}

.submit-btn:hover:not(:disabled) {
    background: #059669;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-note {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

/* ==========================================
   OFFER BADGE
   ========================================== */
.offer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-badge.badge-offer {
    background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
}

.offer-badge.badge-new {
    background: linear-gradient(135deg, #2196f3 0%, #03a9f4 100%);
}

.offer-badge.badge-popular {
    background: linear-gradient(135deg, #e91e63 0%, #f44336 100%);
}

.offer-badge.badge-low {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.offer-badge.badge-discount {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
    animation: badge-flash 1.5s ease-in-out infinite;
}

/* Animate the icon */
.badge-icon {
    animation: pulse-icon 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Glow effect on badges */
@keyframes badge-glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px currentColor;
        transform: scale(1.05);
    }
}

/* Different animation for discount badge */
@keyframes badge-flash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Ensure product card has relative positioning for badge */
.product-card {
    position: relative;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Fix add button visibility */
.add-btn {
    width: 100%;
    height: 40px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.add-btn:hover {
    background: #059669;
}

/* ==========================================
   TOAST - Fixed solid background
   ========================================== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 90%;
    width: auto;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================
   PAYMENT METHODS
   ========================================== */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg);
}

.payment-option:hover {
    background: var(--bg-card);
    border-color: var(--primary-color);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: rgba(251, 119, 1, 0.05);
}

.payment-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.payment-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.payment-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.payment-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.check-icon {
    display: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.payment-option.selected .check-icon {
    display: block;
}

/* Toast styles are defined above with solid background */

/* ==========================================
   FOOTER & SOCIAL
   ========================================== */
.app-footer {
    text-align: center;
    padding: 32px 16px;
    background: white;
    border-top: 1px solid var(--border);
    margin-top: 32px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.instagram:hover {
    background: #e1306c;
    color: white;
}

.app-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-footer a {
    color: var(--primary);
    text-decoration: none;
}

.app-footer .powered-by {
    opacity: 0.5;
    font-size: 0.7rem;
    margin-top: 4px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (min-width: 768px) {

    .cart-sheet,
    .checkout-modal {
        left: auto;
        right: 0;
        width: 400px;
        border-radius: var(--radius-lg) 0 0 0;
        max-height: 100vh;
    }

    .app-footer {
        position: static;
        padding: 24px;
    }

    body {
        padding-bottom: 0;
    }

    .main-content {
        padding: 24px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        max-width: 1280px;
        margin: 0 auto;
        padding: 32px;
    }
}