:root {
    --primary-color: #c9a227;
    /* Gold/Bronze for luxury accel */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-dark: #f8f9fa;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --border-color: #e0e0e0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #000;
}

.highlight {
    color: var(--primary-color);
}

/* Hero Section - Keeping dark for contrast/premium feel or making it fit light theme? 
   Let's keep the image but maybe adjust overlay if needed. 
   Actually, a dark hero often works well with light content. */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../img/shift_knob_top.jpg');
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    transition: all var(--transition-speed);
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 1px;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    /* Changed to white for better contrast on gold in light mode, or keep black? Black is sharper on gold. */
    color: #222;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
    background-color: #d4ae38;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Search Section */
.search-section {
    padding: var(--spacing-lg) 0;
    background-color: #fff;
    /* Explicit white */
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #000;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Search Results List */
.search-results {
    max-width: 900px;
    margin: 2rem auto;
    background: var(--bg-card);
    border-radius: 8px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    /* Remove background container color for cleaner look, or keep it? */
    background: transparent;
}

.search-results.hidden {
    display: none;
}

.result-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.result-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.result-img-box {
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    margin-bottom: 1rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
}

.result-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #333;
}

.result-sku {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: bold;
}

select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--bg-input);
    color: var(--text-main);
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: border 0.3s;
}

select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* Product Section */
.product-section {
    padding: var(--spacing-lg) 0;
    min-height: 600px;
    background: #fff;
}

.product-section.hidden {
    display: none;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Slider */
.slider-container {
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.slider-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.slider-nav {
    background: rgba(255, 255, 255, 0.7);
    color: #333;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.9);
}

.dot {
    background: rgba(0, 0, 0, 0.3);
}

.dot.active {
    background: var(--primary-color);
}

/* Product Info */
.product-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.sku-code {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 1rem;
    margin-bottom: 2rem;
    background: #f5f5f5;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

/* Price */
.price-box {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #222;
}

.price-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.tax-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: normal;
}

.product-desc {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

/* Utilities */
.hidden {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .search-box {
        flex-direction: column;
    }
}