/* 长沙棋欣能源科技有限公司 - 电气设备销售网站样式 */
/* 配色方案：深蓝 #0f172a / 靛蓝 #1e3a5f / 橙色 #f97316 / 金色 #fbbf24 */

:root {
    --primary: #0f172a;
    --primary-light: #1e3a5f;
    --accent: #f97316;
    --accent-light: #fb923c;
    --gold: #fbbf24;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 顶部栏 ========== */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    color: var(--accent);
    margin-right: 5px;
}

.top-bar-right a {
    margin-left: 15px;
    color: var(--gray-300);
    transition: color 0.3s;
}

.top-bar-right a:hover {
    color: var(--accent);
}

/* ========== 头部导航 ========== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
}

.logo-text p {
    font-size: 12px;
    color: var(--gray-600);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 220px;
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--gray-200);
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--accent-light);
}

.cart-icon {
    position: relative;
    font-size: 22px;
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 轮播图 ========== */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.banner-slide.active {
    opacity: 1;
}

.banner-content {
    max-width: 600px;
    color: var(--white);
    padding: 0 100px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content h2 span {
    color: var(--accent);
}

.banner-content p {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    font-weight: 600;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--white);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent);
}

/* ========== 特色服务 ========== */
.features {
    padding: 60px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--accent);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ========== 商品区域 ========== */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-600);
    margin-top: 25px;
}

.section-dark {
    background: var(--primary);
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-dark .section-header p {
    color: var(--gray-300);
}

/* 分类标签 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover,
.category-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

/* 商品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tag-new {
    background: var(--success);
    color: var(--white);
}

.tag-hot {
    background: var(--danger);
    color: var(--white);
}

.tag-recommend {
    background: var(--gold);
    color: var(--primary);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 8px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-brand {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.product-original {
    font-size: 13px;
    color: var(--gray-300);
    text-decoration: line-through;
    margin-left: 8px;
}

.btn-add-cart {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-cart:hover {
    background: var(--accent);
}

/* ========== 关于我们 ========== */
.about-section {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--accent);
}

.about-text p {
    font-size: 16px;
    color: var(--gray-300);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--gray-300);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--gray-300);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 13px;
}

/* ========== 面包屑 ========== */
.breadcrumb {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 40px 0;
    color: var(--white);
}

.breadcrumb h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.breadcrumb-nav {
    font-size: 14px;
    color: var(--gray-300);
}

.breadcrumb-nav a {
    color: var(--white);
}

.breadcrumb-nav a:hover {
    color: var(--accent);
}

.breadcrumb-nav span {
    margin: 0 10px;
}

/* ========== 商品列表页 ========== */
.page-content {
    padding: 50px 0;
}

.product-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.sidebar {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    height: fit-content;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 5px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-600);
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary);
    color: var(--white);
}

.category-list .count {
    font-size: 12px;
    background: var(--gray-200);
    padding: 2px 8px;
    border-radius: 10px;
}

.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
}

.product-count {
    font-size: 14px;
    color: var(--gray-600);
}

.product-count strong {
    color: var(--accent);
}

.sort-options {
    display: flex;
    gap: 15px;
}

.sort-options a {
    font-size: 14px;
    color: var(--gray-600);
    transition: color 0.3s;
}

.sort-options a:hover,
.sort-options a.active {
    color: var(--accent);
}

/* ========== 商品详情页 ========== */
.product-detail {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-gallery {
    position: relative;
}

.gallery-main {
    background: var(--gray-100);
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-detail h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--gray-600);
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-price-large {
    font-size: 36px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 25px;
}

.product-price-large .original {
    font-size: 20px;
    color: var(--gray-300);
    text-decoration: line-through;
    margin-left: 15px;
    font-weight: 400;
}

.product-params {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.param-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 14px;
}

.param-row:last-child {
    border-bottom: none;
}

.param-label {
    width: 100px;
    color: var(--gray-600);
}

.param-value {
    flex: 1;
    color: var(--primary);
    font-weight: 500;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    font-size: 14px;
    color: var(--gray-600);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-control button:hover {
    background: var(--gray-100);
}

.quantity-control input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.btn-buy {
    flex: 1;
    padding: 16px 30px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.btn-cart {
    flex: 1;
    padding: 16px 30px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cart:hover {
    background: var(--primary-light);
}

.product-tabs {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 40px;
}

.tab-nav {
    display: flex;
    gap: 30px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 30px;
}

.tab-nav a {
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-600);
    position: relative;
    transition: color 0.3s;
}

.tab-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
}

.tab-nav a:hover,
.tab-nav a.active {
    color: var(--accent);
}

.tab-nav a.active::after {
    width: 100%;
}

.tab-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
}

.tab-content h3 {
    color: var(--primary);
    margin: 20px 0 15px;
}

.tab-content p {
    margin-bottom: 15px;
}

/* ========== 购物车 ========== */
.cart-section {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.cart-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 15px;
    background: var(--gray-100);
    font-size: 14px;
    color: var(--gray-600);
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-product-info h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 13px;
    color: var(--gray-600);
}

.cart-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

.cart-total {
    background: var(--gray-100);
    border-radius: 15px;
    padding: 30px;
}

.cart-total h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 14px;
    color: var(--gray-600);
}

.total-row.grand {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    border-top: 2px solid var(--gray-200);
    margin-top: 15px;
    padding-top: 20px;
}

/* ========== 登录注册 ========== */
.auth-section {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.auth-box {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.auth-box h2 {
    text-align: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-box p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--gray-600);
}

.auth-links a {
    color: var(--accent);
    font-weight: 500;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .search-box {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .banner {
        height: 400px;
    }
    .banner-content {
        padding: 0 30px;
    }
    .banner-content h2 {
        font-size: 32px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .top-bar-left span {
        display: none;
    }
    .top-bar-left span:first-child {
        display: inline;
    }
}
