/* ============================================
   TechStore - Startech-like E-Commerce Theme
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e94560;
    --primary-dark: #c73e54;
    --dark-color: #1a1a2e;
    --dark-secondary: #16213e;
    --light-bg: #f5f5f5;
    --text-color: #333;
    --text-muted: #666;
    --text-light: #a0a0a0;
    --white: #fff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --border-color: #eee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar .top-left i {
    margin-right: 5px;
}

.top-bar a {
    color: var(--white);
    margin-left: 15px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 500px;
    display: flex;
}

.search-box select {
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 5px 0 0 5px;
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-left: none;
    border-right: none;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.header-icon i {
    font-size: 22px;
    margin-bottom: 3px;
    color: var(--dark-color);
}

.header-icon:hover,
.header-icon:hover i {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    background: var(--dark-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-menu > li:hover > a {
    background: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.dropdown li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* ============================================
   Hero Slider
   ============================================ */
.hero-slider {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    padding: 40px 0;
}

.slider-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.slider-text {
    flex: 1;
    color: var(--white);
}

.slider-text h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.slider-text h1 span {
    color: var(--primary-color);
}

.slider-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-dark {
    background: var(--dark-color);
}

.btn-dark:hover {
    background: var(--dark-secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.slider-image {
    flex: 1;
    text-align: center;
}

.slider-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ============================================
   Quick Actions
   ============================================ */
.quick-actions {
    padding: 30px 0;
    background: var(--white);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.quick-action-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quick-action-item i {
    font-size: 36px;
    color: var(--primary-color);
}

.quick-action-item h4 {
    font-size: 15px;
    margin-bottom: 3px;
    margin-top: 0;
}

.quick-action-item p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Section Title
   ============================================ */
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title h2 {
    font-size: 24px;
    color: var(--dark-color);
    position: relative;
    padding-left: 15px;
    margin: 0;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title a {
    color: var(--primary-color);
    font-weight: 500;
}

.section-title a:hover {
    text-decoration: underline;
}

/* ============================================
   Categories Grid
   ============================================ */
.categories {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-item {
    background: var(--white);
    padding: 20px 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-item i {
    font-size: 40px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.category-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.category-item h4 {
    font-size: 13px;
    color: var(--text-color);
    margin: 0;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 40px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #d4edda;
    color: #155724;
}

.stock-badge.pre-order {
    background: #fff3cd;
    color: #856404;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.quick-actions-hover {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .quick-actions-hover {
    opacity: 1;
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    margin-top: 0;
}

.product-info h4 a {
    color: var(--text-color);
}

.product-info h4 a:hover {
    color: var(--primary-color);
}

.product-specs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.product-specs span {
    display: block;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-points {
    font-size: 11px;
    color: var(--success);
    margin-top: 8px;
}

.product-points i {
    margin-right: 3px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-buy,
.btn-cart {
    flex: 1;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
}

.btn-buy:hover,
.btn-cart:hover {
    background: var(--primary-dark);
}

.btn-compare {
    padding: 10px 15px;
    background: var(--light-bg);
    color: var(--text-muted);
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-compare:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* ============================================
   Info Boxes
   ============================================ */
.info-boxes {
    padding: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-box {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    padding: 30px;
    border-radius: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-box i {
    font-size: 50px;
    color: var(--primary-color);
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 0;
}

.info-box p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb-nav {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav li {
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-nav li a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb-nav li:last-child {
    color: var(--primary-color);
}

/* ============================================
   Category Page Layout
   ============================================ */
.main-content {
    padding: 30px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* ============================================
   Sidebar Filters
   ============================================ */
.sidebar {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.filter-option span {
    font-size: 14px;
    color: var(--text-color);
    flex: 1;
}

.filter-option .count {
    font-size: 12px;
    color: #999;
    background: var(--light-bg);
    padding: 2px 8px;
    border-radius: 10px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-input {
    flex: 1;
}

.price-input label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.price-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.price-filter-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.price-filter-btn:hover {
    background: var(--primary-dark);
}

.clear-filters {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--light-bg);
    color: var(--text-muted);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.clear-filters:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* ============================================
   Toolbar
   ============================================ */
.toolbar {
    background: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

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

.results-count strong {
    color: var(--dark-color);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.sort-select,
.show-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    background: var(--white);
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pagination-wrapper a,
.pagination-wrapper span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
}

.pagination-wrapper a:hover {
    background: var(--light-bg);
    border-color: #ccc;
}

.pagination-wrapper span.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ============================================
   Product Details Page
   ============================================ */
.product-details-section {
    padding: 30px 0;
}

.product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 450px;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

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

.product-details-info h1 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-meta i {
    color: var(--primary-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: var(--warning);
}

.rating-text {
    font-size: 14px;
    color: var(--text-muted);
}

.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.price-section .current-price {
    font-size: 32px;
}

.price-section .original-price {
    font-size: 20px;
}

.emi-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--success);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #d4edda;
    color: #155724;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.stock-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.key-features {
    margin-bottom: 25px;
}

.key-features h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-features h3 i {
    color: var(--primary-color);
}

.key-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.key-features li i {
    color: var(--success);
    margin-top: 3px;
}

.quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector button {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-selector button:hover {
    background: #e9ecef;
}

.quantity-selector input {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.action-buttons .btn {
    flex: 1;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-wishlist {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px;
    flex: 0 !important;
}

.btn-wishlist:hover {
    background: var(--primary-color);
    color: var(--white);
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Tabs */
.tabs-section {
    margin-top: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 18px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.tab-content {
    padding: 30px;
    display: none;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table th {
    text-align: left;
    padding: 15px;
    background: #f8f9fa;
    font-weight: 600;
    width: 30%;
    color: var(--dark-color);
}

.specs-table td {
    padding: 15px;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 14px;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

/* ============================================
   PC Builder
   ============================================ */
.pc-builder-section {
    padding: 30px 0;
}

.pc-builder-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pc-builder-table th,
.pc-builder-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pc-builder-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
}

.pc-builder-table .component-icon {
    width: 40px;
    font-size: 24px;
    color: var(--primary-color);
}

.pc-builder-table .btn-select {
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
}

.pc-builder-table .btn-select:hover {
    background: var(--primary-dark);
}

.pc-builder-summary {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.pc-builder-summary h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.pc-builder-summary .total-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============================================
   Cart Page
   ============================================ */
.cart-section {
    padding: 30px 0;
}

.cart-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-table th,
.cart-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cart-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--dark-color);
}

.cart-table .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.cart-summary {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        flex-wrap: wrap;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-wrapper {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 15px;
    }

    .slider-content {
        flex-direction: column;
        text-align: center;
    }

    .slider-text h1 {
        font-size: 28px;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .header-icons {
        gap: 15px;
    }

    .nav-menu > li > a {
        padding: 12px 8px;
        font-size: 12px;
    }
}
