/* /cart 选购页：侧栏 + 产品卡片（借鉴 shop2） */
.shop-open-wrap {
  --sf-blue: #0064ff;
  --sf-blue-2: #0064ff;
  --sf-text: #1a1a2e;
  --sf-muted: #5a6a80;
  --sf-line: #e2e8f0;
  --sf-bg: #f8fafc;
  background: var(--sf-bg);
  padding-bottom: 48px;
  min-height: 50vh;
  color: var(--sf-text);
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
.shop-open-wrap .shop-page-head {
  margin: 0;
  padding: 44px 0 28px;
  text-align: center;
  background: linear-gradient(180deg, #e3f2fd 0%, #eef4ff 38%, #f8fafc 100%);
}
.shop-open-wrap .shop-page-head__copy { max-width: 720px; margin: 0 auto; }
.shop-open-wrap .shop-page-head__title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--sf-text);
}
.shop-open-wrap .shop-page-head__desc {
  margin: 0 auto;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sf-muted);
}
.shop-open-wrap .por-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.shop-open-wrap .por-section { padding: 0 0 24px; }
.shop-open-wrap .por-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
}
.shop-open-wrap .side-menu-panel {
  position: relative;
  width: 268px;
  flex: 0 0 268px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.04);
}
.shop-open-wrap .side-menu-panel .por-section-body { padding: 8px 0; }
.shop-open-wrap .ivu-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--sf-muted);
  background: #fff;
}
.shop-open-wrap .ivu-menu-submenu > .ivu-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  height: 0;
  transition: height .28s ease;
}
.shop-open-wrap .ivu-menu-submenu-title {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  cursor: pointer;
  color: var(--sf-text);
  user-select: none;
}
.shop-open-wrap .ivu-menu-submenu-title:hover { background: #f3f8ff; }
.shop-open-wrap .ivu-menu-submenu-title_info {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-open-wrap .ivu-menu-submenu-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: -6px -8px -6px 0;
  color: #94a3b8;
  flex-shrink: 0;
}
.shop-open-wrap .ivu-menu-submenu-title-icon svg {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}
.shop-open-wrap .ivu-menu-opened > .ivu-menu-submenu-title .ivu-menu-submenu-title-icon svg {
  transform: rotate(90deg);
}
.shop-open-wrap .ivu-menu-item { list-style: none; }
.shop-open-wrap .ivu-menu-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px 10px 28px;
  color: var(--sf-muted);
  text-decoration: none;
}
.shop-open-wrap .ivu-menu-item-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shop-open-wrap .ivu-menu-item:hover { background: #f8fafc; }
.shop-open-wrap .ivu-menu-item:hover > a,
.shop-open-wrap .ivu-menu-item.active > a { color: var(--sf-blue); }
.shop-open-wrap .ivu-menu-item.active { background: #f3f8ff; }
.shop-open-wrap .ivu-menu-item.active > a { font-weight: 600; }
.shop-open-wrap .por-label {
  display: inline-block;
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--sf-blue);
  border: 1px solid #c9dbff;
  background: #f3f8ff;
}
.shop-open-wrap .classify-list-container { flex: 1; min-width: 0; }
.shop-open-wrap .shop-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.shop-open-wrap .shop-prod-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.04);
  box-sizing: border-box;
  transition: transform .2s, box-shadow .2s;
}
.shop-open-wrap .shop-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(44,106,229,.12);
  border-color: #c9dbff;
}
.shop-open-wrap .shop-prod-name {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sf-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-open-wrap .shop-prod-desc {
  flex: 1;
  min-height: 72px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sf-muted);
}
.shop-open-wrap .shop-prod-desc-body p,
.shop-open-wrap .shop-prod-desc-body div { margin: 0 0 8px; word-break: break-word; }
.shop-open-wrap .shop-prod-desc-body :last-child { margin-bottom: 0; }
.shop-open-wrap .shop-prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.shop-open-wrap .shop-prod-price-main { flex: 1; min-width: 0; }
.shop-open-wrap .card-price-line {
  margin: 0 !important;
  color: var(--sf-blue) !important;
  font-size: 15px;
  font-weight: 600;
}
.shop-open-wrap .shop-prod-price-main .card-price-line + .card-price-line,
.shop-open-wrap .shop-prod-price-main .card-price-line + .shop-prod-origin { margin-top: 4px !important; }
.shop-open-wrap .shop-prod-origin {
  margin: 0 !important;
  color: var(--sf-muted);
  font-size: 12px;
}
.shop-open-wrap .kc {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: #ebf2ff;
  color: var(--sf-blue);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.shop-open-wrap .shop-prod-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #0064ff;
  border-radius: 6px;
  box-sizing: border-box;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  background-color: #0064ff;
  background-image: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.shop-open-wrap .shop-prod-buy-ico {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  color: currentColor;
  position: relative;
  z-index: 1;
}
.shop-open-wrap .shop-prod-buy > span {
  position: relative;
  z-index: 1;
}
.shop-open-wrap .shop-prod-buy:hover,
.shop-open-wrap .shop-prod-buy:focus {
  color: #409EFF !important;
  border-color: #c6e2ff;
  background-color: #ecf5ff;
  background-image: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.shop-open-wrap .shop-prod-buy:active {
  color: #3a8ee6 !important;
  border-color: #3a8ee6;
  background-color: #ecf5ff;
  background-image: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.shop-open-wrap .shop-prod-buy.is-disabled {
  background: #c5cedd !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed;
}
.shop-open-wrap .shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px 20px;
  text-align: center;
}
.shop-open-wrap .shop-empty img {
  width: 167px;
  max-width: 60%;
  margin-bottom: 16px;
}
.shop-open-wrap .shop-empty p {
  margin: 0;
  font-size: 14px;
  color: var(--sf-muted);
}
.shop-open-wrap .rno-btn-catalogue-inner {
  display: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,.04);
  cursor: pointer;
  color: var(--sf-text);
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
}
.shop-open-wrap .rno-btn-catalogue-ico {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 18px;
}
.shop-open-wrap .rno-btn-catalogue-inner .line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.shop-open-wrap .side-menu-mask,
.shop-open-wrap .side-menu-close { display: none; }

@media (max-width: 979px) {
  .shop-open-wrap .shop-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .shop-open-wrap .shop-page-head { padding: 32px 0 20px; }
  .shop-open-wrap .shop-page-head__title { font-size: 28px; }
  .shop-open-wrap .por-wrapper { display: block; }
  .shop-open-wrap .rno-btn-catalogue-inner { display: inline-flex; }
  .shop-open-wrap .side-menu-mask {
    display: block;
    position: fixed;
    top: var(--sf-header-h, 64px);
    left: 0; right: 0; bottom: 0;
    z-index: 1290;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s;
  }
  .shop-open-wrap .side-menu-mask.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .shop-open-wrap .side-menu-panel {
    position: fixed;
    top: var(--sf-header-h, 64px);
    left: 0;
    width: min(300px, 82vw);
    height: calc(100% - var(--sf-header-h, 64px));
    z-index: 1300;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform .3s ease;
  }
  .shop-open-wrap .side-menu-panel.is-open { transform: translateX(0); }
  .shop-open-wrap .side-menu-panel .por-section-body {
    height: 100%;
    overflow: auto;
    padding-top: 12px;
  }
  .shop-open-wrap .side-menu-close {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    left: 100%;
    margin-left: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
    cursor: pointer;
  }
  .shop-open-wrap .side-menu-panel.is-open .side-menu-close { display: inline-flex; }
  .shop-open-wrap .shop-prod-grid { grid-template-columns: 1fr; }
}
