/* ==========================================
   BINTAN JAYA GROUP - Custom Styles
   ========================================== */

/* AngularJS ng-cloak - prevent FOUC */
[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none !important;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   NAVBAR
   ========================================== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ==========================================
   PULSE ANIMATION (WhatsApp)
   ========================================== */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.pulse-animation {
    position: relative;
}

.pulse-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #22c55e;
    border-radius: 9999px;
    animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}

/* ==========================================
   SCROLL TO TOP BUTTON
   ========================================== */
.scroll-top-btn {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-overlay {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.7) 50%, rgba(249, 115, 22, 0.4) 100%);
}

.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

/* ==========================================
   HERO CAROUSEL
   ========================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-carousel { min-height: 700px; }
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.hero-carousel-slide {
    min-width: 100%;
    position: relative;
    min-height: 600px;
}

@media (min-width: 1024px) {
    .hero-carousel-slide { min-height: 700px; }
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.65) 40%, rgba(249, 115, 22, 0.3) 100%);
    z-index: 1;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-carousel-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

.hero-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-arrow.prev { left: 16px; }
.hero-carousel-arrow.next { right: 16px; }

/* ==========================================
   PRODUCT CARD
   ========================================== */
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    overflow: hidden;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.product-card .product-image img {
    transition: transform 0.5s ease;
}

.product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* ==========================================
   BLOG CARD
   ========================================== */
.blog-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card .blog-image {
    overflow: hidden;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-card .blog-image img {
    transition: transform 0.5s ease;
}

/* ==========================================
   PORTFOLIO CARD
   ========================================== */
.portfolio-card {
    transition: all 0.4s ease;
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-card .portfolio-image {
    overflow: hidden;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-card .portfolio-image img {
    transition: transform 0.5s ease;
}

.portfolio-card .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* ==========================================
   LOADING SPINNER
   ========================================== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-spinner-sm {
    width: 24px;
    height: 24px;
    border-width: 3px;
}

.loading-spinner-lg {
    width: 56px;
    height: 56px;
    border-width: 5px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
}

/* ==========================================
   SKELETON LOADING
   ========================================== */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-text-short {
    width: 60%;
}

.skeleton-title {
    height: 24px;
    width: 80%;
    margin-bottom: 12px;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* ==========================================
   GALLERY LIGHTBOX
   ========================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: scaleIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   AI CHATBOT STYLES (Frontend Only)
   ========================================== */
.ai-chat-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    cursor: pointer;
}

.ai-chat-toggle-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.ai-chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}

.ai-chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.ai-chat-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 390px;
    max-width: calc(100vw - 48px);
    height: 540px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: bounceIn 0.4s ease;
}

@media (max-width: 480px) {
    .ai-chat-panel {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 16px 16px 0 0;
    }
    .ai-chat-toggle {
        bottom: 20px;
        right: 20px;
    }
}

.ai-chat-header {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.ai-chat-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: slideUp 0.3s ease;
}

.ai-chat-msg-bot { justify-content: flex-start; }
.ai-chat-msg-user { justify-content: flex-end; }

.ai-chat-avatar-bot {
    width: 28px;
    height: 28px;
    background: #7c3aed;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-chat-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
}

.ai-chat-bubble-bot {
    background: white;
    color: #374151;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.ai-chat-bubble-user {
    background: #7c3aed;
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-chat-time {
    display: block;
    font-size: 10px;
    margin-top: 4px;
    opacity: 0.6;
}

.ai-chat-bubble-user .ai-chat-time {
    text-align: right;
}

.ai-chat-typing {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.ai-chat-typing span {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}

.ai-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

.ai-chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px;
    background: #f8fafc;
    flex-shrink: 0;
}

.ai-chat-quick-btn {
    padding: 6px 14px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 12px;
    color: #7c3aed;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.ai-chat-quick-btn:hover {
    background: #f5f3ff;
    border-color: #7c3aed;
}

/* Product Cards in Chat */
.ai-chat-product-cards {
    padding: 8px 16px;
    background: #f8fafc;
    flex-shrink: 0;
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-chat-product-card {
    display: flex;
    gap: 10px;
    padding: 8px 10px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-chat-product-card:hover {
    border-color: #7c3aed;
    background: #f5f3ff;
}

.ai-chat-product-img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.ai-chat-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-chat-product-info {
    flex: 1;
    min-width: 0;
}

.ai-chat-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-chat-product-cat {
    font-size: 10px;
    color: #9ca3af;
    margin: 2px 0 0 0;
}

.ai-chat-product-price {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    margin: 2px 0 0 0;
}

/* WhatsApp CTA */
.ai-chat-wa-cta {
    padding: 8px 16px;
    background: #f8fafc;
    flex-shrink: 0;
}

.ai-chat-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.ai-chat-wa-btn:hover {
    background: #bbf7d0;
}

/* Input Area */
.ai-chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.ai-chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Poppins', sans-serif;
}

.ai-chat-input:focus { border-color: #7c3aed; }
.ai-chat-input::placeholder { color: #9ca3af; }

.ai-chat-send-btn {
    width: 40px;
    height: 40px;
    background: #7c3aed;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ai-chat-send-btn:hover:not(:disabled) { background: #6d28d9; }
.ai-chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.ai-chat-messages::-webkit-scrollbar { width: 4px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

/* ==========================================
   LAZY LOADING IMAGES
   ========================================== */
.lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-image-loaded {
    opacity: 1;
}

.lazy-image-error {
    opacity: 1;
    background: #f3f4f6;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   PAGE HEADER / BREADCRUMB
   ========================================== */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled):not(.active) {
    background: #eff6ff;
    border-color: #2563eb;
    color: #2563eb;
}

.pagination-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================
   TESTIMONIAL CARD
   ========================================== */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-carousel {
    transition: transform 0.5s ease;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}

/* ==========================================
   STATS COUNTER
   ========================================== */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon {
    transition: transform 0.3s ease;
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ==========================================
   SECTION ANIMATION
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

/* ==========================================
    GALLERY THUMBNAILS
    ========================================== */
.gallery-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.7;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #2563eb;
    opacity: 1;
}

/* ==========================================
    MODAL
    ========================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

/* ==========================================
    FORM STYLES
    ========================================== */
.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

/* ==========================================
    MOBILE RESPONSIVE OVERRIDES
    ========================================== */
@media (max-width: 768px) {
    .page-header {
        padding-top: 80px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 60vh;
    }
}

/* ==========================================
    IMAGE OBJECT FIT
    ========================================== */
.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

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

/* ==========================================
    BUTTON SHINE EFFECT
    ========================================== */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s;
    opacity: 0;
}

.btn-shine:hover::after {
    opacity: 1;
    left: 100%;
}

/* ==========================================
    SPECIFICATION TABLE
    ========================================== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr:nth-child(even) {
    background: #f9fafb;
}

.spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.spec-table td:first-child {
    font-weight: 500;
    color: #374151;
    width: 40%;
}

.spec-table td:last-child {
    color: #6b7280;
}

/* ==========================================
    CONTACT CARD
    ========================================== */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #2563eb;
}

/* ==========================================
    CATEGORY TABS
    ========================================== */
.category-tab {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: white;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.category-tab:hover {
    color: #2563eb;
    border-color: #2563eb;
}

.category-tab.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

/* ==========================================
   PROMO & FEATURED PRODUCT SECTION
   ========================================== */
.promo-section {
    position: relative;
}

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

.promo-product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.promo-banner-card {
    transition: all 0.3s ease;
}

.promo-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Spinning badge animation */
.promo-badge-spin {
    animation: promo-spin 8s linear infinite;
}

@keyframes promo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Countdown timer glow effect */
.promo-timer {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    font-variant-numeric: tabular-nums;
    min-width: 2.5ch;
    text-align: center;
}

/* Promo section responsive */
@media (max-width: 768px) {
    .promo-banner-grid {
        grid-template-columns: 1fr;
    }
    .promo-banner-card {
        min-height: 180px !important;
    }
}

/* ==========================================
    SOCIAL SHARE BUTTONS
    ========================================== */
.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
    text-decoration: none;
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }
