/* ========================================
   SGI LEASE & GO - Custom Styles
   Modern & Competitive Design
   ======================================== */

/* Import Google Fonts - Inter & Manrope */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* Root Variables - Modern Color Palette */
:root {
    --sgi-primary: #FF6B35;
    --sgi-primary-dark: #E85A2A;
    --sgi-secondary: #004E89;
    --sgi-accent: #FFA500;
    --sgi-success: #10B981;
    --sgi-warning: #F59E0B;
    --sgi-danger: #EF4444;
    --sgi-dark: #1F2937;
    --sgi-light: #F9FAFB;
    --sgi-gray: #6B7280;
    --sgi-border: #E5E7EB;
    --sgi-shadow: rgba(0, 0, 0, 0.1);
    --sgi-shadow-lg: rgba(0, 0, 0, 0.15);
}

/* Global Font Family */
body {
    font-family: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: var(--sgi-dark);
    font-size: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Inter', sans-serif !important;
    font-weight: 700;
    color: var(--sgi-dark);
}

/* Modern Button Styles */
.btn-primary,
.btn-fill-out {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-dark) 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover,
.btn-fill-out:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
}

.btn-outline {
    border: 2px solid var(--sgi-primary) !important;
    color: var(--sgi-primary) !important;
    background: transparent !important;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--sgi-primary) !important;
    color: white !important;
}

/* Modern Card Styles */
.product,
.shop_container .product {
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--sgi-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--sgi-border);
    background: white;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--sgi-shadow-lg);
}

.product_img {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.product_img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 0 !important;
}

.product:hover .product_img img {
    transform: scale(1.08);
}

/* Product Badge */
.pr_flash {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--sgi-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Product Info */
.product_info {
    padding: 12px 12px 10px 12px !important;
}

.product_info h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px !important;
    color: var(--sgi-dark);
    line-height: 1.4;
}

.product_price {
    font-size: 20px;
    font-weight: 700;
    color: var(--sgi-primary);
    margin-bottom: 0 !important;
}

.product_price .old_price {
    font-size: 16px;
    color: var(--sgi-gray);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Rating Stars */
.rating_wrap .rating {
    color: var(--sgi-accent);
}

/* Header Improvements */
.header {
    box-shadow: 0 2px 12px var(--sgi-shadow);
    background: white;
}

.navbar-brand {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--sgi-primary) !important;
}

/* Navigation */
.nav-link {
    font-weight: 500;
    color: var(--sgi-dark) !important;
    transition: color 0.3s ease;
    padding: 8px 16px !important;
}

.nav-link:hover {
    color: var(--sgi-primary) !important;
}

/* Search Bar */
.search_form input {
    border-radius: 25px !important;
    border: 2px solid var(--sgi-border);
    padding: 12px 24px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search_form input:focus {
    border-color: var(--sgi-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search_form button {
    border-radius: 25px !important;
    background: var(--sgi-primary);
    border: none;
    padding: 12px 24px;
}

/* Category Cards */
.categories_box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--sgi-shadow);
    transition: all 0.3s ease;
}

.categories_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--sgi-shadow-lg);
}

/* Banner Section */
.banner_section {
    /*border-radius: 16px;*/
    overflow: hidden;
    /*box-shadow: 0 4px 16px var(--sgi-shadow);*/
    background-color: #1F2937;
    padding-top:8px;
    padding-bottom:8px;
}

/* Footer */
.footer {
    background: var(--sgi-dark);
    color: white;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--sgi-primary);
}

/* Breadcrumb */
.breadcrumb_section {
    background: linear-gradient(135deg,#1a2332,#2c3e50);
    padding: 60px 0;
}

.breadcrumb_section h1 {
    color: white;
    font-weight: 800;
}

/* Shopping Cart */
.cart_table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--sgi-shadow);
}

/* Checkout Form */
.field_form input,
.field_form select,
.field_form textarea {
    border-radius: 8px;
    border: 2px solid var(--sgi-border);
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.field_form input:focus,
.field_form select:focus,
.field_form textarea:focus {
    border-color: var(--sgi-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    border: none;
    padding: 16px 20px;
    font-weight: 500;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
}

/* Loading Spinner */
.preloader {
    background: white;
}

.lds-ellipsis span {
    background: var(--sgi-primary);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .product_img img {
        height: 220px;
    }
    
    .btn-primary,
    .btn-fill-out {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Badge Styles */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.badge-primary {
    background: var(--sgi-primary);
}

.badge-success {
    background: var(--sgi-success);
}

.badge-warning {
    background: var(--sgi-warning);
}

/* Price Tag Enhancement */
.price_tag {
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-accent) 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
}

/* Icon Improvements */
.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sgi-primary) 0%, var(--sgi-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

/* ========================================
   Footer Legal Links
   ======================================== */
.footer_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer_links li {
    display: inline-block;
    position: relative;
}

.footer_links li:not(:last-child)::after {
    content: "|";
    margin-left: 15px;
    color: #999;
}

.footer_links li a {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 5px 10px;
    display: inline-block;
}

.footer_links li a:hover {
    color: var(--sgi-primary);
    text-decoration: underline;
}

/* Responsive Footer Links */
@media (max-width: 767px) {
    .footer_links {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer_links li:not(:last-child)::after {
        display: none;
    }
    
    .footer_links li {
        width: 100%;
        text-align: center;
    }
}

/* TikTok Icon (not available in Ionicons) */
.ion-social-tiktok::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.footer-social .ion-social-tiktok::before {
    filter: brightness(0) invert(1);
}
