/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.12.1761979787
Updated: 2025-11-01 02:49:47

*/

/* 产品属性内外边框完全统一 + 紧凑排版 + 隔行效果------------------------------------------------------------- */
.woocommerce table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #444; /* 外框与内部同色同粗 */
  background: transparent;
  margin: 0;
}
.woocommerce table.shop_attributes th {
  width: 30%;
  padding: 4px 16px;
  text-align: left;
  font-weight: 600;
  color: #fff;
  border-right: 1px solid #444; /* 内部竖线 */
  border-bottom: 1px dotted #444; /* 虚线分隔 */
  line-height: 1.1;
}
.woocommerce table.shop_attributes td {
  padding: 4px 16px;
  color: #e0e0e0;
  border-bottom: 1px dotted #444; /* 虚线分隔 */
  line-height: 1.1;
}
/* 隔行深灰背景 */
.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td {
  background: #2a2a2a;
}
/* 最后一行去掉下边框 */
.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
  border-bottom: none;
}
/* 关键修复：最后一列去掉右侧边框，让外框成为唯一右侧边界 */
.woocommerce table.shop_attributes th:last-child,
.woocommerce table.shop_attributes td:last-child {
  border-right: none;
}
