:root {
    --primary-color: #fca311;
    --secondary-color: #14213d;
    --bg-dark: #000000;
    --bg-card: #1a1a1a;
    --text-main: #e5e5e5;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition-fast: 0.3s ease;
    --container-width: 1200px;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section Extension */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Filter */
.category-filter {
    margin-top: -40px;
    margin-bottom: 60px;
    z-index: 10;
    position: relative;
}

.filter-wrapper {
    padding: 15px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.view-detail {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Detail Pages */
.section-padding {
    padding: 60px 0;
}

.detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.detail-img-box img {
    width: 100%;
    border-radius: 12px;
}

.param-table {
    margin-top: 30px;
    padding: 25px;
    border-radius: 12px;
}

.param-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.param-key {
    color: var(--text-muted);
}

/* Order Styles */
.order-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.order-card {
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.order-no {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.media-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.feedback-section {
    padding: 40px;
    border-radius: 15px;
    margin: 60px 0;
}

.product-mini-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    width: fit-content;
    border-radius: 10px;
    cursor: pointer;
}

.product-mini-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}