/* TechShop - Modern E-commerce Styles */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
  /*  padding: 0 1rem; */
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-600);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    min-width: 250px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    padding: 0.25rem;
}

.search-bar button {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.cart-btn:hover {
    background: var(--primary-dark);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-800);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat center;
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #059669;
    color: var(--white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #dc2626;
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Category Cards */
.categories {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--secondary-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.category-card h3 {
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Product Cards */
.products {
    padding: 4rem 0;
    background: var(--gray-100);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.new {
    background: var(--success-color);
}

.product-badge.sale {
    background: var(--danger-color);
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-brand {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-specs {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price .old-price {
    font-size: 0.875rem;
    color: var(--gray-300);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.add-to-cart {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--secondary-color);
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--gray-800) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--dark-color) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-100);
    padding: 1rem 0;
}

.breadcrumb ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gray-300);
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Product Detail */
.product-detail {
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.product-gallery {
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.product-gallery img {
    width: 100%;
    height: auto;
}

.product-info-detail h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.product-description {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.product-specs-list {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.product-specs-list h3 {
    margin-bottom: 1rem;
}

.product-specs-list table {
    width: 100%;
}

.product-specs-list td {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.product-specs-list td:first-child {
    color: var(--secondary-color);
    width: 40%;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-selector button {
    background: var(--gray-100);
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--gray-200);
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    outline: none;
    font-weight: 600;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.stock-status.in-stock {
    background: #d1fae5;
    color: var(--success-color);
}

.stock-status.out-of-stock {
    background: #fee2e2;
    color: var(--danger-color);
}

/* Cart Page */
.cart-section {
    padding: 4rem 0;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h4 {
    margin-bottom: 0.25rem;
}

.cart-item-details p {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin: 0;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-total {
    font-weight: 700;
    font-size: 1.125rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-200);
}

.checkout-btn {
    width: 100%;
    margin-top: 1.5rem;
}

.whatsapp-checkout {
    background: #25d366;
    color: var(--white);
}

.whatsapp-checkout:hover {
    background: #128c7e;
    color: var(--white);
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

/* Admin Styles */
.admin-body {
    background: var(--gray-100);
}

.admin-header {
    background: var(--dark-color);
    color: var(--white);
    padding: 1rem 0;
}

.admin-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.admin-nav a {
    color: var(--gray-300);
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--white);
}

.admin-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 60px);
}

.admin-sidebar {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow);
}

.admin-menu {
    list-style: none;
}

.admin-menu li {
    margin-bottom: 0.25rem;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.admin-menu a:hover,
.admin-menu a.active {
    background: var(--gray-100);
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.admin-content {
    padding: 2rem;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--secondary-color);
    margin: 0;
}

/* Data Table */
.data-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-600);
}

.data-table tr:hover {
    background: var(--gray-50);
}

.data-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.table-actions .edit {
    color: var(--primary-color);
}

.table-actions .edit:hover {
    background: #dbeafe;
}

.table-actions .delete {
    color: var(--danger-color);
}

.table-actions .delete:hover {
    background: #fee2e2;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.image-preview {
    width: 200px;
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 0.5rem;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.login-box {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--gray-600);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.pagination .active {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--gray-300);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-300);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Advertisement Banner */
.ad-banner {
    background: linear-gradient(135deg, #1ae901 0%, #000000 100%);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    position: relative;
}
.ad-banner p {
    margin: 0;
}

.ad-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .search-bar {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .cart-item-price,
    .cart-item-total,
    .quantity-selector {
        grid-column: 2;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Sticky WhatsApp Chat Button - Fixed */
.whatsapp-sticky {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.whatsapp-sticky-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 16px;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 4px 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    max-width: 180px;
}

.whatsapp-sticky-btn:hover {
    background: #128c7e;
    box-shadow: 6px 6px 30px rgba(37, 211, 102, 0.6);
    transform: translateX(5px);
}

.whatsapp-sticky-btn i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.whatsapp-sticky-btn span {
    display: inline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-sticky {
        top: auto;
        bottom: 20px;
        left: 0;
        transform: none;
    }
    
    .whatsapp-sticky-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        border-radius: 0 25px 25px 0;
        max-width: 160px;
    }
    
    .whatsapp-sticky-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-sticky-btn {
        padding: 8px 10px;
        font-size: 0;
        gap: 0;
        max-width: 45px;
    }
    
    .whatsapp-sticky-btn i {
        font-size: 1.4rem;
    }
    
    .whatsapp-sticky-btn span {
        display: none;
    }
    
    .whatsapp-sticky-btn:hover {
        font-size: 0.75rem;
        gap: 6px;
        max-width: 140px;
        padding: 10px 14px;
    }
    
    .whatsapp-sticky-btn:hover span {
        display: inline;
    }
}