/* ============================================================
   昂景农业科研试剂官网 — agriculture.ongenebiotech.cn
   设计系统（绿色植物科研试剂站风格）
   主色: #659F31 绿 | 浅绿 #DBF1C6 | 文字 #333 | 底 #f5f5f5
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }
.container { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ''; display: block; clear: both; }

/* ============ 顶部条 ============ */
.topbar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  color: #878d99;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar .hotline { color: #659f31; font-weight: 700; }
.topbar .links a { margin-left: 16px; color: #878d99; }
.topbar .links a:hover { color: #659f31; }

/* ============ 头部 ============ */
.header {
  background: #fff;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header .container { display: flex; align-items: center; height: 80px; }
.header .logo { display: flex; align-items: center; margin-right: 26px; }
.header .logo img { height: 52px; }
.header .slogan { border-left: 1px solid #e6e6e6; padding-left: 14px; margin-left: 14px; font-size: 15px; font-weight: 700; color: #659f31; letter-spacing: 1px; }
.header nav { flex: 1; display: flex; height: 100%; }
.header nav a {
  display: flex; align-items: center;
  padding: 0 17px; height: 100%;
  font-size: 16px; color: #333; position: relative;
  transition: color 0.2s;
}
.header nav a::after {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: 0;
  height: 3px; background: #659f31;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s;
}
.header nav a:hover { color: #659f31; }
.header nav a.active { color: #659f31; font-weight: 700; }
.header nav a.active::after, .header nav a:hover::after { transform: scaleX(1); }
.header .search {
  display: flex; align-items: center;
  border: 1px solid #d1dbe5; border-radius: 20px;
  padding: 4px 6px 4px 16px; width: 196px;
  transition: border-color 0.2s;
}
.header .search:focus-within { border-color: #659f31; }
.header .search input { border: none; outline: none; flex: 1; font-size: 13px; color: #333; background: transparent; }
.header .search button {
  border: none; background: #dbf1c6; color: #659f31;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 15px;
}
.header .search button:hover { background: #659f31; color: #fff; }

/* ============ 轮播 Hero ============ */
.hero { position: relative; }
.hero .slide { display: none; }
.hero .slide.active { display: block; }
.hero .slide a { display: block; }
.hero .slide img { width: 100%; height: auto; display: block; max-height: 510px; object-fit: cover; }
.hero .dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero .dots span {
  width: 34px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.55); cursor: pointer;
  transition: background 0.25s;
}
.hero .dots span.active { background: #659f31; }
.hero .prev, .hero .next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(0,0,0,0.18); color: #fff; font-size: 20px; cursor: pointer;
  z-index: 5; transition: background 0.2s;
}
.hero .prev:hover, .hero .next:hover { background: #659f31; }
.hero .prev { left: 24px; } .hero .next { right: 24px; }

/* ============ 通用区块 ============ */
.section { padding: 46px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.section-title { display: flex; align-items: center; font-size: 20px; font-weight: 700; color: #333; }
.section-title::before { content: ''; width: 4px; height: 20px; background: #659f31; border-radius: 2px; margin-right: 12px; }
.section-more { font-size: 13px; color: #95979e; display: flex; align-items: center; gap: 4px; }
.section-more:hover { color: #659f31; }
.section-more::after { content: '›'; font-size: 16px; }

/* ============ 优惠活动卡片 ============ */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promo-card {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  overflow: hidden; transition: all 0.25s; cursor: pointer;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(101,159,49,0.16); border-color: #dbf1c6; }
.promo-card .pic { position: relative; height: 150px; overflow: hidden; }
.promo-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.promo-card:hover .pic img { transform: scale(1.06); }
.promo-card .pic .icon {
  position: absolute; left: 14px; top: 14px; width: 38px; height: 38px;
}
.promo-card .info { padding: 16px 18px; }
.promo-card .info .title { font-size: 15px; font-weight: 700; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-card .info .date { margin-top: 8px; font-size: 12px; color: #95979e; }

/* ============ 产品卡片 ============ */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-card {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  overflow: hidden; transition: all 0.25s; display: block;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(101,159,49,0.16); border-color: #dbf1c6; }
.product-card .pic { position: relative; height: 150px; background: #fafafa; overflow: hidden; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .pic img { transform: scale(1.06); }
.product-card .pic .tag {
  position: absolute; left: 10px; top: 10px;
  background: #f56c6c; color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 4px;
}
.product-card .pic .tag.green { background: #659f31; }
.product-card .info { padding: 14px 16px 18px; }
.product-card .info .name {
  font-size: 14px; color: #333; height: 44px; line-height: 22px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card .info .price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.product-card .info .price .now { color: #f56c6c; font-size: 18px; font-weight: 700; }
.product-card .info .price .old { color: #b0b0b0; font-size: 12px; text-decoration: line-through; }
.product-card .info .spec { margin-top: 4px; font-size: 12px; color: #95979e; }

/* ============ 新闻列表 ============ */
.news-row {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  padding: 6px 24px;
}
.news-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 0; border-bottom: 1px dashed #f0f0f0;
  transition: padding-left 0.2s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 10px; }
.news-item .title { flex: 1; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 20px; }
.news-item:hover .title { color: #659f31; }
.news-item .date { font-size: 13px; color: #95979e; min-width: 90px; text-align: right; }
.news-item .type {
  display: inline-block; margin-right: 12px; padding: 0 8px;
  font-size: 12px; border-radius: 3px; vertical-align: 1px;
}
.news-item .type.activity { background: #fef0f0; color: #f56c6c; }
.news-item .type.literature { background: #e8f3de; color: #659f31; }
.news-item .type.exhibition { background: #eef4fb; color: #409eff; }

/* ============ 服务网格 ============ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  padding: 28px 24px; transition: all 0.25s; display: block;
}
.service-card:hover { border-color: #659f31; box-shadow: 0 8px 22px rgba(101,159,49,0.14); }
.service-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #dbf1c6; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card .icon img { width: 26px; height: 26px; }
.service-card .name { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; }
.service-card .desc { font-size: 13px; color: #878d99; line-height: 1.8; }

/* ============ 快捷入口 ============ */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card {
  background: linear-gradient(135deg, #eaf5df, #f7fcf2);
  border: 1px solid #dbf1c6; border-radius: 8px;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; transition: all 0.25s;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(101,159,49,0.2); }
.quick-card img { width: 44px; height: 44px; }
.quick-card .name { font-size: 16px; font-weight: 700; color: #333; }
.quick-card .desc { font-size: 12px; color: #878d99; margin-top: 2px; }

/* ============ 引用语带 ============ */
.quote-band {
  background: linear-gradient(135deg, #4a7d24, #659f31);
  padding: 56px 0; text-align: center; color: #fff;
}
.quote-band .q1 { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
.quote-band .q2 { margin-top: 10px; font-size: 15px; opacity: 0.85; letter-spacing: 1px; }

/* ============ 页脚 ============ */
.footer { background: #232a20; color: #b8c4ae; padding: 48px 0 0; margin-top: 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; padding-bottom: 36px; }
.footer h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer .contact p { font-size: 13px; line-height: 2.1; }
.footer .contact .hotline { font-size: 22px; font-weight: 700; color: #83c44e; }
.footer .link-col a { display: block; font-size: 13px; line-height: 2.2; color: #b8c4ae; }
.footer .link-col a:hover { color: #83c44e; }
.footer .bottom {
  border-top: 1px solid #333b2c; padding: 18px 0;
  text-align: center; font-size: 12px; color: #8b977f;
}
.footer .bottom a { color: #8b977f; }
.footer .bottom a:hover { color: #83c44e; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff; border-bottom: 1px solid #f0f0f0;
  padding: 14px 0; font-size: 13px; color: #95979e;
}
.breadcrumb a { color: #95979e; }
.breadcrumb a:hover { color: #659f31; }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .cur { color: #333; }

/* ============ 页面标题带 ============ */
.page-banner {
  background: linear-gradient(135deg, #eaf5df, #dbf1c6);
  padding: 46px 0; text-align: center;
}
.page-banner h1 { font-size: 32px; font-weight: 700; color: #333; }
.page-banner p { margin-top: 10px; font-size: 14px; color: #659f31; }

/* ============ 产品中心页 ============ */
.products-layout { display: flex; gap: 24px; padding: 30px 0 50px; align-items: flex-start; }
.sidebar {
  width: 240px; flex-shrink: 0; background: #fff;
  border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden;
}
.sidebar .side-title {
  background: #659f31; color: #fff; font-size: 16px; font-weight: 700;
  padding: 16px 20px;
}
.sidebar a.cat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 20px; font-size: 14px; color: #333;
  border-bottom: 1px solid #f5f5f5; transition: all 0.2s;
}
.sidebar a.cat:hover { background: #f7fcf2; color: #659f31; }
.sidebar a.cat.active { background: #eaf5df; color: #659f31; font-weight: 700; border-left: 3px solid #659f31; }
.sidebar a.cat .count { font-size: 12px; color: #b0b0b0; }
.products-main { flex: 1; min-width: 0; }
.products-toolbar {
  background: #fff; border: 1px solid #f0f0f0; border-radius: 8px;
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.products-toolbar .total { font-size: 13px; color: #95979e; }
.products-toolbar .total b { color: #659f31; }
.products-toolbar .kw-input { display: flex; align-items: center; border: 1px solid #d1dbe5; border-radius: 18px; padding: 3px 4px 3px 14px; }
.products-toolbar .kw-input input { border: none; outline: none; width: 180px; font-size: 13px; }
.products-toolbar .kw-input button { border: none; background: #659f31; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.cat-group { margin-bottom: 34px; }
.cat-group .group-title {
  display: flex; align-items: center; font-size: 18px; font-weight: 700; color: #333;
  padding: 12px 0 16px; border-bottom: 2px solid #659f31;
}
.cat-group .group-title::before { content: ''; width: 4px; height: 18px; background: #659f31; border-radius: 2px; margin-right: 10px; }
.cat-group .group-title .g-more { margin-left: auto; font-size: 13px; color: #95979e; font-weight: 400; }
.cat-group .group-title .g-more:hover { color: #659f31; }
.cat-group .list { padding-top: 8px; }
.cat-group .list .p-item {
  display: flex; align-items: center; padding: 12px 4px;
  border-bottom: 1px dashed #f0f0f0;
}
.cat-group .list .p-item:hover .p-name { color: #659f31; }
.cat-group .list .p-item .p-img { width: 62px; height: 46px; border-radius: 4px; overflow: hidden; margin-right: 14px; background: #fafafa; flex-shrink: 0; }
.cat-group .list .p-item .p-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-group .list .p-item .p-name { flex: 1; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-group .list .p-item .p-tag { margin-left: 10px; font-size: 12px; color: #f56c6c; background: #fef0f0; padding: 1px 8px; border-radius: 3px; }
.cat-group .list .p-item .p-price { margin-left: 16px; color: #f56c6c; font-weight: 700; min-width: 80px; text-align: right; }
.cat-group .list .p-item .p-price small { color: #b0b0b0; font-weight: 400; font-size: 12px; margin-right: 4px; }

/* ============ 产品详情页 ============ */
.detail-layout { display: flex; gap: 30px; padding: 30px 0 50px; }
.detail-img {
  width: 380px; flex-shrink: 0; background: #fff;
  border: 1px solid #f0f0f0; border-radius: 8px; padding: 20px;
  display: flex; align-items: center; justify-content: center; align-self: flex-start;
}
.detail-img img { max-width: 100%; max-height: 340px; object-fit: contain; }
.detail-info { flex: 1; min-width: 0; }
.detail-info h1 { font-size: 22px; font-weight: 700; color: #333; }
.detail-info .en { margin-top: 6px; font-size: 14px; color: #95979e; }
.detail-info .meta {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 16px; padding: 14px 18px;
  background: #f9fbf6; border: 1px solid #eef4e6; border-radius: 8px;
  font-size: 13px; color: #666;
}
.detail-info .meta b { color: #333; font-weight: 400; }
.price-table { margin-top: 20px; width: 100%; border-collapse: collapse; }
.price-table th {
  background: #659f31; color: #fff; font-weight: 400;
  padding: 10px 14px; text-align: left; font-size: 13px;
}
.price-table th:first-child { border-radius: 6px 0 0 0; }
.price-table th:last-child { border-radius: 0 6px 0 0; }
.price-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; font-size: 13px; background: #fff; }
.price-table .promo { color: #f56c6c; font-weight: 700; }
.detail-actions { margin-top: 22px; display: flex; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 34px; border-radius: 22px; font-size: 15px;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: #659f31; color: #fff; }
.btn-primary:hover { background: #4a7d24; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(101,159,49,0.35); }
.btn-outline { background: #fff; color: #659f31; border: 1px solid #659f31; }
.btn-outline:hover { background: #eaf5df; }
.detail-desc { margin-top: 40px; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; }
.detail-desc .desc-head { padding: 16px 24px; border-bottom: 1px solid #f0f0f0; font-size: 16px; font-weight: 700; color: #333; }
.detail-desc .desc-head::before { content: ''; display: inline-block; width: 4px; height: 16px; background: #659f31; border-radius: 2px; margin-right: 10px; vertical-align: -2px; }
.detail-desc .desc-body { padding: 24px; font-size: 14px; line-height: 2; color: #555; white-space: pre-line; }

/* ============ 资讯页 ============ */
.news-tabs { display: flex; gap: 0; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 0 10px; margin-bottom: 20px; }
.news-tabs a { padding: 13px 22px; font-size: 14px; color: #666; position: relative; }
.news-tabs a.active { color: #659f31; font-weight: 700; }
.news-tabs a.active::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: #659f31; }

/* ============ 关于我们 ============ */
.about-layout { display: flex; gap: 30px; padding: 30px 0 50px; align-items: flex-start; }
.about-img { width: 460px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.about-img img { width: 100%; display: block; }
.about-text { flex: 1; font-size: 14px; line-height: 2.1; color: #555; }
.about-text h2 { font-size: 18px; color: #333; margin: 22px 0 10px; }
.about-text h2:first-child { margin-top: 0; }

/* ============ 联系我们 ============ */
.contact-layout { display: flex; gap: 30px; padding: 30px 0 50px; align-items: flex-start; }
.contact-cards { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 22px 24px; }
.contact-card h3 { font-size: 15px; color: #333; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.contact-card h3::before { content: ''; width: 4px; height: 14px; background: #659f31; border-radius: 2px; }
.contact-card p { font-size: 13px; color: #878d99; line-height: 1.9; }
.contact-form { flex: 1; background: #fff; border: 1px solid #f0f0f0; border-radius: 8px; padding: 30px; }
.contact-form .f-row { display: flex; gap: 16px; margin-bottom: 16px; }
.contact-form .f-row input, .contact-form textarea {
  flex: 1; border: 1px solid #d1dbe5; border-radius: 6px;
  padding: 10px 14px; font-size: 13px; outline: none; font-family: inherit;
  transition: border-color 0.2s;
}
.contact-form .f-row input:focus, .contact-form textarea:focus { border-color: #659f31; }
.contact-form textarea { width: 100%; height: 140px; resize: vertical; margin-bottom: 16px; }

/* ============ 后台 ============ */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #4a7d24, #659f31); }
.admin-login .box { background: #fff; border-radius: 12px; padding: 40px; width: 360px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.admin-login .box h1 { font-size: 20px; color: #333; text-align: center; margin-bottom: 26px; }
.admin-login .box input { width: 100%; border: 1px solid #d1dbe5; border-radius: 6px; padding: 11px 14px; font-size: 14px; margin-bottom: 14px; outline: none; }
.admin-login .box input:focus { border-color: #659f31; }
.admin-login .box button { width: 100%; background: #659f31; color: #fff; border: none; border-radius: 6px; padding: 12px; font-size: 15px; cursor: pointer; }
.admin-login .box button:hover { background: #4a7d24; }
.admin-layout { display: flex; min-height: 100vh; background: #f5f5f5; }
.admin-side { width: 200px; background: #232a20; color: #b8c4ae; flex-shrink: 0; }
.admin-side h1 { font-size: 16px; color: #fff; padding: 20px; border-bottom: 1px solid #333b2c; }
.admin-side a { display: block; padding: 13px 20px; font-size: 14px; color: #b8c4ae; cursor: pointer; border-left: 3px solid transparent; }
.admin-side a:hover { background: #2c3526; color: #fff; }
.admin-side a.active { background: #2c3526; color: #83c44e; border-left-color: #83c44e; }
.admin-main { flex: 1; padding: 24px; min-width: 0; }
.admin-main .page-title { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.admin-table { width: 100%; background: #fff; border-collapse: collapse; border-radius: 8px; overflow: hidden; font-size: 13px; }
.admin-table th { background: #f7f9f4; padding: 11px 12px; text-align: left; color: #555; font-weight: 700; }
.admin-table td { padding: 10px 12px; border-top: 1px solid #f0f0f0; color: #555; }
.admin-table td img { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; }
.admin-table .ops { white-space: nowrap; }
.admin-table .ops a { color: #659f31; margin-right: 10px; cursor: pointer; }
.admin-table .ops a.del { color: #f56c6c; }
.admin-panel { background: #fff; border-radius: 8px; padding: 24px; margin-bottom: 16px; }
.admin-panel label { display: block; font-size: 13px; color: #555; margin: 12px 0 6px; }
.admin-panel input, .admin-panel select, .admin-panel textarea {
  width: 100%; border: 1px solid #d1dbe5; border-radius: 6px;
  padding: 9px 12px; font-size: 13px; outline: none; font-family: inherit;
}
.admin-panel input:focus, .admin-panel select:focus, .admin-panel textarea:focus { border-color: #659f31; }
.admin-panel textarea { min-height: 110px; }
.admin-panel .inline { display: flex; gap: 14px; }
.admin-panel .inline > div { flex: 1; }
.admin-toolbar { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; }
.admin-toolbar input, .admin-toolbar select { border: 1px solid #d1dbe5; border-radius: 6px; padding: 8px 12px; font-size: 13px; outline: none; }
.admin-toolbar .spacer { flex: 1; }
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.78); color: #fff; padding: 10px 22px; border-radius: 20px; font-size: 14px; z-index: 999; display: none; }
.img-preview { width: 120px; height: 90px; object-fit: cover; border: 1px solid #e6e6e6; border-radius: 6px; margin-top: 8px; display: none; }

/* ============ 响应式 ============ */
@media (max-width: 1240px) {
  .container { width: auto; padding: 0 20px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .promo-grid, .service-grid, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .products-layout, .detail-layout, .about-layout, .contact-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .detail-img { width: 100%; }
  .contact-cards { width: 100%; }
  .footer .cols { grid-template-columns: repeat(2, 1fr); }
  .header nav { display: none; }
}
@media (max-width: 768px) {
  .promo-grid, .service-grid, .quick-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .header .slogan { display: none; }
  .header .search { width: 150px; }
  .hero .prev, .hero .next { display: none; }
  .section { padding: 30px 0; }
}
