/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #ff3366;
    /* Adjusted pink to match SHEAN image */
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e1e1e1;
    --font-main: 'Outfit', sans-serif;
    --container-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-bar {
    background: #000;
    color: #fff;
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
}

.main-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
    font-family: inherit;
}

.search-box button {
    background: #000;
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
    background: var(--light-gray);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h2 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #000;
}

.btn:hover {
    background: transparent;
    color: #000;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Sections Common */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title h3 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-title::before,
.section-title::after {
    content: '';
    display: block;
    height: 2px;
    width: 60px;
    background: #333;
}

.section-title h3::after {
    display: none;
    /* Remove old underline */
}

/* Category Circle Grid */
.category-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cat-item {
    text-align: center;
    width: 120px;
}

.cat-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.cat-item:hover .cat-img {
    border-color: var(--accent-color);
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-name {
    font-size: 14px;
    font-weight: 500;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    transition: 0.3s;
    position: relative;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px 0;
    text-align: center;
}

.product-category {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-weight: 700;
    font-size: 16px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-weight: 400;
}

/* Footer */
footer {
    background: #fafafa;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #666;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #000;
}

.social-links {
    display: flex;
    gap: 15px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Admin Styles */
.admin-container {
    padding: 40px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-table th,
.admin-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.action-btn {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    color: #fff;
}

.edit-btn {
    background: #3498db;
}

.delete-btn {
    background: #e74c3c;
}

/* Filter Sidebar (Shop Page) */
.shop-layout {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.filter-group ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.shop-main {
    flex-grow: 1;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}