/* =========================================================
   HIKARI HOBBY STORE - COMPLETE STYLESHEET
   ========================================================= */

:root {
    --primary-color: #e11d48;
    --primary-hover: #be123c;
    --dark-navy: #0f172a;
    --darker-navy: #0b1120;
    --slate-nav: #1e293b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
}

/* Top Bar */
.top-bar {
    background-color: var(--darker-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Main Header */
.main-header {
    background-color: var(--dark-navy);
    z-index: 1030;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.brand-name {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.brand-sub {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Search Form */
.search-form {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 3px;
    overflow: hidden;
}

.search-form .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.2rem;
    font-size: 0.92rem;
}

.btn-search {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50px;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-search:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
}

/* Primary Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

/* Sub Navigation Bar */
.sub-navbar {
    background-color: var(--slate-nav);
}

.sub-navbar .nav-link {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sub-navbar .nav-link:hover,
.sub-navbar .nav-link.active {
    color: #fb7185 !important;
}

/* Hero Carousel */
.hero-slide {
    min-height: 360px;
}

.slide-gundam {
    background: linear-gradient(135deg, #0f172a 0%, #0369a1 55%, #0284c7 100%);
}

.slide-figure {
    background: linear-gradient(135deg, #1e1b4b 0%, #881337 55%, #e11d48 100%);
}

.slide-tools {
    background: linear-gradient(135deg, #0f172a 0%, #065f46 55%, #059669 100%);
}

/* Quick Category Boxes */
.category-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.category-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(225, 29, 72, 0.12);
}

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #fff1f2;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Section Titles */
.section-title {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--dark-navy);
    letter-spacing: 0.3px;
}

/* Product Cards */
.product-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.product-img-wrapper {
    position: relative;
    background-color: #f1f5f9;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

.badge-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.72rem;
    z-index: 2;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-navy);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-old-price {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background-color: var(--dark-navy);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fb7185;
    padding-left: 4px;
}