/* ==========================================================================
   🎨 DYNAMIC COLOR & THEME VARIABLES - AURA STREETWEAR
   Location: public/frontend/assets/css/style.css
   ========================================================================== */
:root {
    /* Main Brand Colors */
    --primary-color: #09090b;
    --primary-hover: #27272a;
    --brand-accent: #f43f5e;
    --brand-accent-hover: #e11d48;
    --header-bg-color: #09090b;
    --footer-bg-color: #09090b;
    --accent-color: #f59e0b;
    --pink-brand-color: #f43f5e;
    --pink-brand-hover: #e11d48;
    --blue-accent-color: #0284c7;
    --blue-accent-hover: #0369a1;

    /* Background Colors */
    --body-bg-color: #f8fafc;
    --card-bg-color: #ffffff;
    --modal-bg-color: #ffffff;
    --modal-header-bg: #f8fafc;
    --input-bg-color: #ffffff;
    --dark-btn-bg: #09090b;

    /* Text Colors */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-dark: #09090b;
    --text-light: #ffffff;

    /* Border & Divider Colors */
    --border-color-light: #e2e8f0;
    --border-color-dark: #18181b;
    --border-dashed-color: #cbd5e1;

    /* Floating Social Icon Colors */
    --bg-whatsapp: #25d366;
    --bg-messenger: #0084ff;
    --bg-phone: #0284c7;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', 'Hind Siliguri', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--body-bg-color) !important;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', 'Inter', 'Hind Siliguri', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================
   📌 TOP BAR & NAVBAR
   ========================================== */
.top-bar {
    background-color: var(--header-bg-color) !important;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar a {
    color: var(--text-light);
    transition: opacity 0.2s ease-in-out;
}

.top-bar a:hover {
    opacity: 0.8;
    text-decoration: underline !important;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-search {
    max-width: 300px;
}

/* ==========================================
   🛍️ PRODUCT CARD STYLES
   ========================================== */
.product-card {
    border-radius: 0 !important;
    border: 1px solid var(--border-color-light) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.25s ease;
    background: var(--card-bg-color);
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--blue-accent-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.product-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    background-color: var(--body-bg-color);
    padding: 8px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0 !important;
    display: block;
}

.product-card:hover .product-image {
    background-color: #e8f5e9 !important;
}

.product-card .btn {
    transition: all 0.3s ease;
}

.product-card:hover .btn {
    transform: scale(1.1);
}

.product-card .product-image i {
    animation: float 3s ease-in-out infinite;
}

/* Badges & Buttons */
.badge-discount {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
    border-radius: 0 !important;
    font-weight: 600;
    z-index: 2;
}

.btn-order-now {
    background: var(--header-bg-color);
    border: none;
    color: var(--text-light);
    font-weight: 600;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.btn-order-now:hover {
    background: #000000;
    color: var(--text-light);
}

.btn-cart {
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--header-bg-color);
    border-color: var(--header-bg-color);
}

.text-primary {
    color: var(--header-bg-color) !important;
}

/* Scroll To Top */
#scrollTopBtn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    display: none;
    z-index: 99;
    border-radius: 50%;
    width: 42px;
    height: 42px;
}

/* ==========================================
   🦶 SITE FOOTER STYLES
   ========================================== */
footer.footer,
.site-footer {
    background-color: var(--footer-bg-color) !important;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 20px;
    font-size: 0.85rem;
}

.footer a:hover,
.footer-links a:hover {
    color: var(--text-light) !important;
}

.footer-cta-title {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 800;
}

.footer-cta-title span {
    color: var(--pink-brand-color);
    display: block;
}

.btn-pink {
    background-color: var(--pink-brand-color);
    color: var(--text-light);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-pink:hover {
    background-color: var(--pink-brand-hover);
    color: var(--text-light);
}

.footer-heading {
    color: var(--pink-brand-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--dark-btn-bg);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background-color: var(--pink-brand-color);
    color: var(--text-light);
}

.social-links .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.footer-watermark {
    font-size: 8vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    text-align: center;
    line-height: 0.8;
    user-select: none;
    pointer-events: none;
    margin-top: 20px;
    margin-bottom: -10px;
    letter-spacing: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color-dark);
    padding-top: 15px;
    margin-top: 15px;
    font-size: 0.75rem;
}

/* ==========================================
   ⚡ UTILITIES & ANIMATIONS
   ========================================== */
section {
    padding: 4rem 0 !important;
}

.section-title {
    margin-bottom: 1.5rem !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.text-warning i {
    font-size: 0.875rem;
}

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

.btn-success:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* ==========================================================================
   👕 AURA CLOTHING BRAND - MODERN STREETWEAR & T-SHIRT STYLES
   ========================================================================== */
.font-streetwear {
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.badge-discount-tag {
    background: #e11d48;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(225, 29, 72, 0.3);
    letter-spacing: 0.2px;
    display: inline-block;
    line-height: 1.2;
}

/* Modern T-shirt Product Card */
.tshirt-card {
    border-radius: 12px !important;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tshirt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.tshirt-card .img-container {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.tshirt-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tshirt-card:hover .img-container img {
    transform: scale(1.05);
}

.tshirt-card .quick-size-pills {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.size-mini-pill {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    background: #f1f5f9;
    color: #475569;
}

/* Interactive Size Selector in Modal & Single Product */
.size-selector-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-select-btn {
    min-width: 44px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    color: #0f172a;
}

.size-select-btn:hover {
    border-color: #0f172a;
    background: #f8fafc;
}

.size-select-btn.active {
    background-color: #09090b !important;
    color: #ffffff !important;
    border-color: #09090b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Color Swatches */
.color-swatch-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-swatch-item {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1.5px #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.color-swatch-item:hover,
.color-swatch-item.active {
    box-shadow: 0 0 0 2.5px #f43f5e;
    transform: scale(1.12);
}

/* Trust Badges Bar */
.trust-bar {
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #f43f5e;
}

/* Quick Order Modal */
.order-modal .modal-content {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.order-modal-header {
    background: #09090b;
    color: #ffffff;
    padding: 16px 20px;
}

.order-modal-header .modal-product-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: #18181b;
}

.order-modal-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.order-modal-close:hover {
    background: #f43f5e;
    color: #ffffff;
}

/* ==========================================
   📱 RESPONSIVE ADJUSTMENTS (MEDIA QUERIES)
   ========================================== */
@media (max-width: 991.98px) {
    .navbar-collapse { padding: 1rem 0; }
    .navbar .input-group { margin-top: 1rem; max-width: 100% !important; }
    .navbar .d-flex { width: 100%; justify-content: space-between; margin-top: 1rem; }
}

@media (max-width: 576px) {
    .top-bar { font-size: 0.75rem; padding-top: 5px !important; padding-bottom: 5px !important; }
    .top-bar .col-md-6 { text-align: center !important; }
    .top-bar small { display: block; margin: 0.25rem 0; }
    .top-bar .auth-links { white-space: nowrap; }

    .product-image { aspect-ratio: 1 / 1 !important; height: auto; padding: 4px !important; }
    .product-card .card-body { padding: 0.5rem; }
    .card-title {
        font-size: 0.8rem;
        line-height: 1.25;
        height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.25rem !important;
    }
    .price-text { font-size: 0.95rem !important; }
    .btn-order-now, .btn-cart { font-size: 0.68rem; padding: 0.3rem 0.2rem; font-weight: 600; }
    .badge-discount { font-size: 0.6rem; padding: 0.2em 0.35em; }

    /* Mobile T-shirt Card Adjustments */
    .tshirt-card .card-body {
        padding: 8px !important;
    }
    .tshirt-card .card-title {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
    .tshirt-card .quick-size-pills {
        gap: 2px !important;
        margin-top: 2px !important;
        margin-bottom: 4px !important;
    }
    .size-mini-pill {
        font-size: 0.58rem !important;
        padding: 1px 3px !important;
    }
    .badge-discount-tag {
        font-size: 0.6rem !important;
        padding: 1px 4px !important;
    }
}
