body {
  margin: 0;
}

a {
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.1em;
  text-decoration: none;
  color:black;
}

h1 {
  font-weight: 600;
  font-size: 32px;
}

#widgets-box {
 padding-top:8vh;
}

p {
  font-size: 16px;
}

b {
  color: black;
  font-weight: 500;
}

mark {
  background-color: transparent;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
  outline-width: 2px;
  outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation
  .wp-block-navigation-submenu
  .wp-block-navigation-item:not(:last-child) {
  margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation
  .wp-block-navigation-item
  .wp-block-navigation-item__content {
  outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation
  .wp-block-navigation-item
  ul.wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
  text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
  display: block;
}

/* ============================================
   导航栏样式
   ============================================ */

.main-navigation {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.nav-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

/* Logo/品牌标识 */
.nav-brand {
  flex-shrink: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111111;
  font-size: 1.5rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo img {
  max-height: 50px;
  width: auto;
}

.site-name {
  font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif);
}

/* 主菜单 */
.nav-menu-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 12rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-menu li {
  position: relative;
  margin: 0;
}

.nav-menu > li > a {
  display: block;
  padding: 20px 10px;
  color: #111111;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-page-ancestor > a {
  color: #00a9ff;
}

/* 子菜单 */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1001;
}

.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu li {
  margin: 0;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 12px 20px;
  color: #111111;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-menu .sub-menu a:hover {
  color: #00a9ff;
  background-color: rgba(80, 58, 168, 0.05);
}

/* 用户操作区域：登录/注销 */
.nav-user-actions {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 10px;
}

.nav-login-btn,
.nav-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  color: #ffffff;
  background-color: #00a9ff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.login-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-login-btn:hover,
.nav-logout-btn:hover {
  background-color: #3d2d7f;
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.nav-login-btn:active,
.nav-logout-btn:active {
  transform: translateY(0);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #111111;
  text-decoration: none;
  border-radius: 50%;
  background-color: rgba(80, 58, 168, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.user-name:hover {
  color: #00a9ff;
  background-color: rgba(80, 58, 168, 0.15);
  border-color: rgba(80, 58, 168, 0.3);
  text-decoration: none;
  transform: scale(1.05);
}

.user-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.nav-toggle:focus {
  outline: 2px solid #00a9ff;
  outline-offset: 2px;
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.nav-toggle-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #111111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }

  .nav-wrapper {
    min-height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu-wrapper.active {
    max-height: 500px;
    overflow-y: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 10px 0;
  }

  .nav-menu > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu > li > a {
    padding: 15px 20px;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    margin-left: 20px;
    background-color: rgba(0, 0, 0, 0.02);
  }

  .nav-menu .sub-menu a {
    padding: 12px 20px;
  }

  /* 移动端用户操作区域 */
  .nav-user-actions {
    margin-left: 0;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .user-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .user-name {
    width: auto;
    height: auto;
    padding: 12px 20px;
    text-align: center;
    border-radius: 4px;
    justify-content: center;
  }

  .user-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }

  .nav-login-btn,
  .nav-logout-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

/* 粘性导航栏（可选） */
.main-navigation.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ============================================
   首页产品展示页面样式
   ============================================ */

/* 左侧内容区域 */
.hero-left {
  flex: 1;
  background: #ffb9b2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  position: relative;
}

.hero-content {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #111;
  margin: 20px 0;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-award {
  font-size: 1.2rem;
  color: #333;
  margin: 20px 0 10px;
  font-weight: 500;
}

.hero-guarantee {
  font-size: 1rem;
  margin: 10px 0 40px;
}

.buy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background-color: #8b4513;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.buy-button:hover {
  background-color: #6b3410;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 69, 19, 0.4);
  color: #ffffff;
  text-decoration: none;
}

.cart-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.device-image {
  width: 35%;
  height: auto;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
  }

  .hero-left,
  .hero-right {
    flex: none;
    min-height: 50vh;
  }

  .hero-title {
    font-size: 3rem;
  }

  .products-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px 0;
  }

  .product-packages {
    flex-direction: row;
    gap: 20px;
    justify-content: center;
  }

  .device-image {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .hero-left {
    padding: 40px 20px;
  }

  .hero-right {
    padding: 40px 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-award {
    font-size: 1rem;
  }

  .hero-guarantee {
    font-size: 0.9rem;
  }

  .buy-button {
    padding: 14px 30px;
    font-size: 1rem;
  }

  .device-image {
    max-width: 150px;
  }

  .package {
    width: 100px;
    height: 150px;
  }

  .product-packages {
    flex-direction: column;
  }
}

.container {
  height: inherit;
  width: 1170px;
  margin: 0 auto;
  padding: 2vw 0;
}

.conten {
  display: flex;
  justify-content: space-between;
}

.flex-box,
.flex-box-conten,
.flex-box-conten-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-box span {
  text-align: center;
}

.flex-box .flex-box-conten img {
  width: 265px;
}

.flex-box .flex-box-conten-2 img {
  width: 60px;
}

.flex-box .flex-box-conten-2 img {
  margin-bottom: 20px;
}

.flex-box .flex-box-conten h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}

.flex-box .flex-box-conten-2 span,
.brand-story .brand-story-conten p {
  font-size: 16px;
  color: #7a7a7a;
}

.brand-story {
  background-color: #f6f6f6;
  padding: 1vh 0;
}

.brand-story .brand-story-title,
.latest-news .latest-news-title {
  text-align: center;
}

.brand-story .brand-story-conten strong {
  font-weight: bold;
  color: black;
}

.brand-story .brand-story-conten {
  margin-top: 1.5vh;
}

.problem .problem-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem .problem-conten {
  margin-top: 3vh;
}

.problem .problem-title h2,
.latest-news .latest-news-title h2 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.problem .problem-title a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.problem .problem-conten h3,
.problem .problem-conten p {
  margin: 0;
}

.problem .problem-conten h3 {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 10px;
}

.problem .problem-conten p {
  font-size: 16px;
  font-weight: bold;
}

.latest-news img {
  width: 260px;
}

.latest-news .latest-news-conten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.latest-news .latest-news-conten > div {
  display: flex;
  flex-direction: column;
}

.latest-news .latest-news-conten > div a {
  width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bolder;
  font-size: 18px;
  margin-top: 1vh;
  color: #54595f;
}

.latest-news .latest-news-conten > div a:nth-child(3) {
  font-size: 12px;
  color: #61ce70;
}

.buy-now {
  position: relative;
  height: 636.5px;
  background-image: url("./assets/images/ploomWeb.webp");
  background-repeat: no-repeat;
  background-size: contain;
  padding: 40px 40px 0 40px;
}

.buy-now .ploom {
  text-align: center;
}

.buy-now .ploom h3 {
  font-size: 35px;
  color: white;
  font-weight: 900;
  margin-bottom: 15px;
}

.buy-now .buy-now-conten {
  display: flex;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, -50%);
}

.buy-now .buy-now-conten a {
  text-decoration: none;
}

.buy-now-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 1140px;
  margin: 0 auto;
}

.buy-now-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.buy-now-grid > div img {
  width: 92px;
}

.buy-now button[type="button"] {
  border: 2px solid white;
  background: red;
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor:pointer;
}

.buy-now-grid img {
  margin-bottom: 20px;
}

.buy-now-grid strong {
  font-size: 20px;
  font-weight: 600;
  color: #df0615;
}

.buy-now-grid p {
  font-size: 14px;
  font-weight: 400;
  color: #4d1821;
  margin: 0;
}

.footer-box {
  background-color: #462e2a;
  padding: 40px;
}

.footer-box-conten {
  display: flex;
  justify-content: space-between;
  color: white;
}

.footer-box-conten span {
  font-size: 16px;
  margin-left: 38px;
}

.footer-box-conten li {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 0.4em;
}

.footer-box-conten a {
  color: #999;
}

.footer-box-conten ul {
  margin-top: 5px;
}

.footer-box-conten a:hover {
  color: white;
  text-decoration: underline;
}

/* 面包屑 */
.breadcrumb {
  padding: 15px 0;
  font-size: 16px;
  width: 1170px;
  margin: 0 auto;
  font-weight: 400;
}

.breadcrumb a {
  color: #00a9ff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #333;
}

.banner {
  background-color: #f7f7f7;
}

.banner .top p {
  color: #7a7a7a;
  letter-spacing: 1px;
}

.text-box-conter {
  background-color: #f6f6f6;
  padding: 40px 0;
  margin: 20px 0;
}

.text-box-conter .container {
  text-align: center;
  padding: 0;
}

.text-box-conter .conter {
  width: 1140px;
  margin: 0 auto;
}

.text-box-conter h2 {
  font-size: 24px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 20px;
}

.text-box-conter p {
  font-size: 16px;
  color: #ff6600;
  margin: 0;
  font-weight: 600;
}

.text-box-conter .conter p {
  color: #7a7a7a;
  font-size: 18px;
  margin: 24px 0 8px 0;
}

.text-box-conter .conter p:nth-child(even) {
  font-size: 16px;
  margin: 0;
}

.text-box-conter .conter b {
  font-weight: bolder;
}

.terea-box h2 {
  margin: 0;
  font-weight: 600;
}

.terea-box a, .faq-box a {
  text-decoration: underline;
}

/* 筛选栏样式 */
.filter-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.filter-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  flex: 0 0 100%;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.filter-label {
  font-weight: 600;
  color: #555;
  font-size: 16px;
}

.filter-select {
  position: relative;
  min-width: 220px;
}

.filter-select select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s;
}

.filter-select select:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.filter-select::after {
  content: "▼";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  font-size: 12px;
}

#post-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

#orderby:focus-visible {
  outline: none;
}

#post-list .card-title {
  font-size: 16px;
  line-height: 1.4;
  height: 2.8em; /* 1.4 × 2 行 */
  overflow: hidden;
  text-overflow: ellipsis;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* 显示两行 */
  -webkit-box-orient: vertical;
}

#post-list .card-price {
  font-size: 14px;
}

/* 重写select的默认样式 */
select {
  appearance: none; /* 移除浏览器默认样式 */
  width: 200px; /* 设置宽度 */
  padding: 10px; /* 设置内边距 */
  font-size: 16px; /* 设置字体大小 */
  background-color: #fff; /* 设置背景颜色 */
  border: 1px solid #ccc; /* 设置边框 */
  border-radius: 5px; /* 设置圆角 */
  outline: none; /* 移除焦点时的轮廓 */
}

/* 重写select的下拉框样式 */
select:focus {
  border-color: #666; /* 设置焦点时的边框颜色 */
}

/* 重写select的option样式 */
select option {
  padding: 10px; /* 设置内边距 */
  background-color: #fff; /* 设置背景颜色 */
  color: #333; /* 设置文字颜色 */
}

/* 重写select的下拉框选项的选中样式 */
select option:checked {
  background-color: #eee; /* 设置选中时的背景颜色 */
}

/* 设置下拉菜单的背景颜色 */
select::ms-collapse {
  background-color: #f5f5f5;
}

/* 设置下拉菜单的边框颜色 */
select::ms-expand {
  border-color: #ccc;
}

/* 设置下拉菜单的选项选中样式 */
select option:checked::after {
  content: ""; /* 添加一个空内容 */
  position: absolute; /* 设置位置 */
  right: 10px; /* 设置位置 */
  top: 50%; /* 设置位置 */
  margin-top: -4px; /* 设置位置 */
  border: 2px solid #333; /* 设置边框 */
  border-radius: 50%; /* 设置圆角 */
  width: 8px; /* 设置宽度 */
  height: 8px; /* 设置高度 */
}

/* 1. 设置卡片的基础状态 */
.dev_blog_card_wrap {
  background: #fff;
  border-radius: 8px;
  /* 可选：添加圆角 */
  transition: all 0.3s ease;
  /* 关键：让动画平滑 */
  cursor: pointer;
  overflow: hidden;
}

/* 2. 定义 Hover 时的状态变化 */
.dev_blog_card_wrap:hover {
  /* 向上位移 10px 并 增加阴影 */
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border:none;
}

.dev_blog_card_image {
  transition: transform 0.3s ease;
}

/* 4. (可选) 给标题添加颜色变化 */
.dev_blog_card_title,
.dev_blog_card_lead,
.dev_blog_card_date {
  padding: 0 10px 10px 10px;
}

.qa-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
}

.dev_blog_card_wrap,
.dev_blog_card_image {
  width: 300px;
}

.dev_blog_card_title {
  font-size: 22px;
  margin: 0;
}

.dev_blog_card_lead,
.dev_blog_card_lead p {
  margin:0;
}

.dev_blog_card_date {
  font-size: 14px;
}

ins {
  text-decoration: none;
}

del {
  color: #ccc;
}

/* 悬浮提示框 (Toast) 样式 */
.toast-notice {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  z-index: 11000; /* 高于 popup-overlay */
  font-size: 14px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-notice.show {
  display: block;
  opacity: 1;
}

/* 导航栏 */
.user-dropdown-menu {
  list-style: none;
  padding: 0;
}

.user-dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.user-dropdown-menu li a:hover {
  background: #f4f7f6;
  color: #000;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  /* 磨砂玻璃效果 */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-card {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-card {
  transform: scale(1);
}

.popup-close-x {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f1f1;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: 0.2s;
}

.popup-close-x:hover {
  background: #e5e5e5;
  color: #000;
}

/* Popup 内部元素样式 */
.popup-content-inner {
  text-align: center;
}

.popup-icon-circle {
  width: 60px;
  height: 60px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #333;
}

.popup-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.popup-text {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
  font-size: 16px;
}

.popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
  border: none;
  padding: 12px 25px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.cart-items-list::-webkit-scrollbar {
  width: 4px;
}

.cart-items-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.dev_blog_card_link_wrap {
 text-decoration:none;
}

.dev_blog_card_wrap {
    border:1px solid #ccc;
    border-radius:8px;
}

.buy-now-grid-box {
    border:1px solid #ccc;
    padding: 40px 0;
}

.product-main-image {
    border:1px solid #ccc;
}