/* 
 * Toko Online - Classic Bootstrap Premium Theme
 * Minimalist Cleanup
 */

body.toko-main-canvas,
.toko-bootstrap-wrap {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.toko-bootstrap-wrap {
    background-color: #ffffff !important;
    color: #111111 !important;
    font-size: 14px !important;
}

.toko-bootstrap-wrap .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
}

/* Typography */
.toko-bootstrap-wrap h1,
.toko-bootstrap-wrap h2,
.toko-bootstrap-wrap h3,
.toko-bootstrap-wrap h4,
.toko-bootstrap-wrap h5,
.toko-bootstrap-wrap p {
    color: #111111;
}

.toko-product-description,
.toko-product-description * {
    color: #111111 !important;
}

.toko-bootstrap-wrap .text-muted {
    color: #333333 !important;
}

/* Premium Buttons Styling */
.toko-bootstrap-wrap .btn-dark {
    background-color: #111111 !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
}

.toko-bootstrap-wrap .btn-dark:hover {
    background-color: #333333 !important;
}

/* Forms Branding */
.toko-bootstrap-wrap .form-control,
.toko-bootstrap-wrap .form-select {
    border: 1px solid #111111 !important;
    border-radius: 0 !important;
    padding: 12px 15px !important;
}

.toko-bootstrap-wrap .form-control:focus {
    box-shadow: none !important;
    border-color: #111111 !important;
    background-color: #fcfcfc !important;
}

/* Sticky Headers Support */
.toko-plugin-page header {
    border-bottom: 1px solid #eee !important;
}

/* Utility Helpers */
.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all 0.3s ease;
}

.object-fit-cover {
    object-fit: cover !important;
}

/* Minimalist Search */
.toko-search-minimal {
    border: none !important;
    width: 350px;
    height: 30px;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 40px !important;
}

.toko-search-minimal:focus {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Toast Notification Styles */
.toko-toast {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid #000 !important;
}

/* Page Titles */
.toko-page-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .toko-bootstrap-wrap {
        font-size: 13px !important;
    }

    .toko-page-title {
        font-size: 2rem !important;
        /* Smaller titles on mobile */
        letter-spacing: -1px !important;
    }

    .toko-bootstrap-wrap h2,
    .toko-bootstrap-wrap .display-4 {
        font-size: 1.8rem !important;
    }

    .toko-bootstrap-wrap h3 {
        font-size: 1.5rem !important;
    }

    /* Smaller Form Elements for Mobile */
    .toko-bootstrap-wrap .form-control,
    .toko-bootstrap-wrap .form-select {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }

    .toko-bootstrap-wrap .btn {
        padding: 12px 15px !important;
        font-size: 11px !important;
    }

    .toko-bootstrap-wrap .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Search box width on mobile */
    .toko-search-minimal {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Sticky Mobile Bottom Bar */
.toko-sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
    z-index: 1040;
    display: none; /* Desktop hidden */
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .toko-sticky-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    body {
        padding-bottom: 80px; /* Space for sticky bar */
    }
    
    .toko-hide-on-mobile {
        display: none !important;
    }
}

/* Bottom Nav Fix for Footer */
.toko-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #111;
    z-index: 1050;
    display: none;
}

@media (max-width: 768px) {
    .toko-mobile-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 12px 0;
    }
    
    .toko-mobile-nav a {
        color: #111;
        text-decoration: none;
        text-align: center;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }
    
    .toko-mobile-nav svg {
        display: block;
        margin: 0 auto 5px;
    }
}