
:root {
    --primary-orange: #ea580c;
    --primary-hover: #c2410c;
    --accent-orange: #ff6633;
    --black: #000000;
    --white: #ffffff;
    --gray-bg: #f3f4f6;
    --gray-border: #e5e7eb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --container-width: 1540px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-main);
}

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

/* Top Banner */
.top-bar {
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    padding: 6px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text {
    color: #fb923c;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header & Search */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-border);
}

.header-main {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    background: var(--primary-orange);
    color: var(--white);
    font-weight: 900;
    font-size: 24px;
    padding: 2px 8px;
    border-radius: 4px;
}

.search-container {
    flex: 1;
    display: flex;
    border: 2px solid var(--black);
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    width: 100%;
    padding: 10px 20px;
    border: none;
    outline: none;
}

.search-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

.nav-actions {
    display: flex;
    gap: 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--primary-orange);
}

.nav-actions .nav-item i {
    font-size: 17px; 
}

.nav-actions .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none; 
    color: var(--text-main); 
}


.nav-actions .nav-item:hover {
    color: var(--primary-orange);
}

/* Category Ribbon */
.nav-ribbon {
    border-top: 1px solid var(--gray-border);
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
}

.nav-ribbon::-webkit-scrollbar { display: none; }

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

.nav-links a:hover {
    color: var(--primary-orange); 
    cursor: pointer;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-shop {
    background: var(--white);
    color: var(--accent-orange);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Product Grid */

 .product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* row ekaka 6 items */
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: 0.2s;
}

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

.card-img {
    position: relative;
    aspect-ratio: 1/1;
    background: #eee;
}

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

.badge {
    position: absolute;
    top: 0; left: 0;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 10px;
    padding: 4px 8px;
    border-bottom-right-radius: 8px;
}

.card-body {
    padding: 12px;
}

.product-title {
    font-size: 12px;
    color: var(--text-muted);
    height: 32px;
    overflow: hidden;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-orange);
    margin: 8px 0;
}

/* Footer */
footer {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; color: var(--text-muted); }

.newsletter {
    display: flex;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--gray-border);
}

.newsletter button {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 0 20px;
}

.container.hero-content {
    position: relative;
    left: -370px; 
}
.show-more-btn {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 681px;
    margin-top: 30px;
}

.sold-count {
    font-size: 10px;
    color: var(--text-muted);
}

.badge-premium {
    background: var(--black) !important;
}


.badge-bestseller {
    background: #e11d48 !important;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.copyright-text {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #aaa;
}


.show-more-btn:hover {
    background-color: var(--gray-bg);
    border-color: var(--text-muted);
}



