/*** Main CSS Stylesheet
** @package templateSystem
** @copyright Copyright 2003-2007 Zen Cart Development Team
** @copyright Portions Copyright 2003 osCommerce
** @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
** @version $Id:stylesheet.css 5952 2007-03-03 06:18:46Z drbyte $*/

/* 基础重置 */
a img {border:none;}
a,#navEZPagesTOC ul li a {color:#4d5255;text-decoration:none;}
a:hover,#navEZPagesTOC ul li a:hover,#navMain ul li a:hover,#navSupp ul li a:hover,#navCatTabs ul li a:hover {}
h4,h5,h6,LABEL,h4.optionName,LEGEND,ADDRESS,.sideBoxContent,.larger {}
.attribsSelect {padding:0 5px 0 0;}
.biggerText {}
#gender-male,#gender-female,#email-format-text {margin-left:8px;}
.information {padding:8px 0 0 16px;}
CODE {font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:17px;}
FORM,SELECT,INPUT {}
FORM {margin:0px;padding:0px;}
TEXTAREA {margin:auto;display:block;width:95%;}
input:focus,select:focus,textarea:focus {}
FIELDSET {padding:0.5em;margin:0.5em 0em;border:1px solid #E1E1E1;}
LEGEND {font-weight:bold;padding:0 5px;color:#4d5255;}
LABEL,h4.optionName {}
LABEL.checkboxLabel,LABEL.radioButtonLabel {margin-left:5px;}
#logo,.centerBoxContents,.specialsListBoxContents,.categoryListBoxContents,.centerBoxContentsAlsoPurch,.attribImg {float:left;}
LABEL.inputLabel {width:9em;float:left;padding-left:10px;margin:5px 0;padding-right:10px;}
LABEL.inputLabelPayment {width:15em;float:left;padding:4px 0 4px 0;}
LABEL.selectLabel,LABEL.switchedLabel,LABEL.uploadsLabel {width:12em;float:left;}
P,ADDRESS {padding:0.5em;}
#contactUsNoticeContent {border-top:solid 1px #e5e5e5;margin:15px 0 0;padding:15px 0 20px 7px;}
ADDRESS {font-style:normal;}
.clearBoth {clear:both;}
HR {color:#C1C1C1;border:0;border-top:1px solid #E1E1E1;margin:5px 0px;}

/* 警告、错误、消息 */
.messageStackWarning,.messageStackError,.messageStackSuccess,.messageStackCaution {line-min-height:1.8em;padding:0.2em;}
.messageStackWarning,.messageStackError {color:#FF0000;}
.messageStackSuccess {background:url("../images/message-bg.gif") repeat-x 0 0;width:350px;height:46px;left:50%;top:0;margin-left:-175px;position:absolute;z-index:999;-webkit-border-bottom-right-radius:2px;-webkit-border-bottom-left-radius:2px;-moz-border-radius-bottomright:2px;-moz-border-radius-bottomleft:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;text-align:left;font-size:12px;line-height:18px;color:#ececec;font-weight:bold;padding:12px 0 0 20px;}
.messageStackSuccess img {margin:-5px 18px 0 0;}
.messageStackCaution {background-color:#FFFF66;color:#4d5255;}

/* 包装器 - 页面或部分容器 */
#mainWrapper {text-align:left;vertical-align:top;}
#headerWrapper,#contentMainWrapper,#logoWrapper,#cartBoxListWrapper,#ezPageBoxList,#cartBoxListWrapper ul,#ezPageBoxList ul,#mainWrapper,#popupAdditionalImage,#popupImage {}
#navColumnOneWrapper,#navColumnTwoWrapper,#mainWrapper {}
#tagline {color:#4d5255;margin-top:10px;font-size:12px;text-align:center;vertical-align:middle;}
#sendSpendWrapper {border:1px solid #cacaca;float:right;margin:0em 0em 1em 1em;}
.floatingBox,#accountLinksWrapper,#sendSpendWrapper,#checkoutShipto,#checkoutBillto,#navEZPagesTOCWrapper {margin:0;color:#4d5255;}
.floatingBox a {color:#4d5255;}
#productDetailsList li a {color:#4d5255;}
#productDetailsList li {color:#4d5255;}
.wrapperAttribsOptions {display:block;margin:0.3em 0em;}

/* 导航 */
#sorter {margin:0;}
#sorter label {font-weight:bold;color:#fff;margin-right:5px;}
.navSplitPagesResult {margin:5px 10px 17px 20px;}
.navSplitPagesLinks {margin:0 0 10px 0;}
.navSplitPagesLinks a {display:inline-block;background:#eaeaea;padding:5px 10px;color:#3e3e3e;text-decoration:none;}
.navSplitPagesLinks a:hover {background:#b62020;color:#fff;}
.navSplitPagesLinks strong {display:inline-block;background:#000;padding:5px 10px;color:#fff;}
.navSplitPagesResult a {color:#161616;}
.navNextPrevList {display:inline;white-space:nowrap;margin:0px 2px 0px 0px;list-style-type:none;float:left;}
.navNextPrevWrapper {margin:0px 10px 5px 10px;padding:15px 0px;}
.navNextPrevCounter {margin:0em;padding:4px 0 0px;color:#000;display:block;}
.navNextPrevWrapper span {overflow:hidden;position:relative;float:left;}
#navMainWrapper,#navSuppWrapper,#navCatTabsWrapper {}
#navMain ul,#navSupp ul,#navCatTabs ul {margin:0;padding:0.5em 0em;list-style-type:none;text-align:center;line-min-height:1.5em;}
#navMain ul li,#navSupp ul li,#navCatTabs ul li {}
#navMain ul li a,#navSupp ul li a,#navCatTabs ul li a {}
#navEZPagesTOCWrapper {font-weight:bold;float:inherit;min-height:1%;padding:0.5em;margin:5px 0px;border:1px solid #E1E1E1;}
#navEZPagesTOC ul {margin:0;padding:0.5em 0em;list-style-type:none;line-min-height:1.5em;}
#navEZPagesTOC ul li {white-space:nowrap;}
#navEZPagesTOC ul li a {padding:0em 0.5em;margin:0;}
#navMainSearch,#navCategoryIcon {margin:5px 5px 0 0px;}
#navEZPagesTop {}

/* 主要内容类 */
#contentColumnMain,#navColumnOne,#navColumnTwo,.centerBoxContents,.specialsListBoxContents,.categoryListBoxContents,.additionalImages,.centerBoxContentsSpecials,.centerBoxContentsAlsoPurch,.centerBoxContentsFeatured,.centerBoxContentsNew,.alert {vertical-align:top;}

/* 内容区域样式修复 */
.content {margin-bottom:10px;}
.alert {font-size:11px;color:#a3a3a3;margin-left:0.5em;margin-right:5px;}
.advisory {}
.important {font-weight:bold;margin:5px;}
.notice {}
.rating {}
.gvBal {float:right;}
#bannerOne,#bannerTwo,#bannerThree,#bannerFour,#bannerFive,#bannerSix {padding:0em;}
.smallText,#siteinfoLegal,#siteinfoCredits,#siteinfoStatus,#siteinfoIP {font-size:0.9em;}

/* 购物车显示 */
.tableHeading TH {}
.tableHeading,#cartSubTotal {}
.tableRow,.tableHeading,#cartSubTotal {min-height:2.2em;}
.cartUnitDisplay,.cartTotalDisplay {text-align:right;padding-right:0.2em;}
#scUpdateQuantity {width:2em;}
.cartQuantity {width:4.7em;}
.cartNewItem {color:#4d5255;position:relative;/*do not remove-fixes stupid IEbug*/}
.cartOldItem {/*do not remove-fixes stupid IEbug*/}
.cartBoxTotal {text-align:right;font-weight:bold;}
.cartRemoveItemDisplay {width:3.5em;}
#cartAttribsList {margin-left:1em;}
#mediaManager {width:50%;margin:0.2em;padding:0.5em;}
#cartBoxListWrapper ul,#ezPageBoxList ul {list-style-type:none;}
#ezPageBoxList li,.cartBoxTotal {margin:0;padding:0.2em 0em;}
.totalBox {width:5.5em;text-align:right;padding:0.2em;color:#b62020;font-family:'Vidaloka',serif;font-size:23px;line-height:26px;}
.lineTitle,.amount {text-align:right;padding:0.2em;}
.amount {width:5.5em;}

/* 图片显示 */
.categoryIcon {}
#cartImage {margin:0.5em 1em;}

/* 属性 */
.attribImg {width:20%;margin:0.3em 0em;}
.attributesComments {}

/* 列表框内容 */
.centerBoxContents,.specialsListBoxContents,.categoryListBoxContents,.additionalImages,.centerBoxContentsSpecials,.centerBoxContentsAlsoPurch,.centerBoxContentsFeatured,.centerBoxContentsNew {}

/* 侧边栏 */
.columnLeft {}
.columnRight {}
.sideBoxContent {}
.rightBoxHeading {margin:0em;background-color:#663366;padding:0.2em 0em;}
h3.leftBoxHeading a:hover {color:#FFFF33;text-decoration:none;}
h3.rightBoxHeading a:hover {color:#FF0000;text-decoration:none;}
.rightBoxContent {margin-bottom:1em;}
.centeredContent,TH,#cartEmptyText,#cartBoxGVButton,#navCatTabsWrapper,#navEZPageNextPrev,#bannerOne,#bannerTwo,#bannerThree,#bannerFour,#bannerFive,#bannerSix,#siteinfoLegal,#siteinfoCredits,#siteinfoStatus,#siteinfoIP,.center,.cartRemoveItemDisplay,.cartQuantityUpdate,.cartQuantity,#cartBoxGVBalance,.leftBoxHeading,.centerBoxHeading,.rightBoxHeading,.productListing-data,.accountQuantityDisplay,.ratingRow,LABEL#textAreaReviews,#productMainImage,#reviewsInfoDefaultProductImage,#productReviewsDefaultProductImage,#reviewWriteMainImage,.centerBoxContents,.specialsListBoxContents,.categoryListBoxContents,.additionalImages,.centerBoxContentsSpecials,.centerBoxContentsAlsoPurch,.centerBoxContentsFeatured,.centerBoxContentsNew,.gvBal,.attribImg {width:auto;}
.categoryListBoxContents a {text-decoration:none;color:#C00505;text-transform:uppercase;text-align:center;}
.cartTotalsDisplay {}
#bannerboxHeading {background-color:#0000CC;}
#upProductsHeading {text-align:left;}
#upDateHeading {text-align:right;}

/* 其他 */
.back {float:left;}
.forward {float:right;}
.bold {font-weight:bold;}
.rowOdd {min-height:1.5em;vertical-align:top;}
.rowEven {padding:5px 5px 5px 5px;min-height:1.5em;vertical-align:top;}
CAPTION {/*display:none;*/}
#myAccountGen li,#myAccountNotify li {margin:0;}
.accountTotalDisplay,.accountTaxDisplay {width:20%;text-align:right;/*vertical-align:top*/}
.accountQuantityDisplay {width:10%;vertical-align:top}
TR.tableHeading {min-height:2em;}
#siteMapList {width:90%;float:right;}
#siteMapList ul {list-style:circle;}
.ratingRow {margin:1em 0em 1.5em 0em;}
LABEL#textAreaReviews {font-weight:normal;}
/*!!!!!!!!!*/
#gvFaqDefaultMainContent {margin:10px 15px 0 5px;}
#gvFaqDefaultContent {padding:10px 0;color:#000;border-top:solid 1px #eceaea;}
#reviewsDefaultNoReviews {margin:0 5px 5px 5px;}
#createAcctSuccessMainContent {margin:5px;}
.main_block {margin:20px;}
.ee {text-decoration:line-through;}

/*  --------------- 价格 ---------------  */
.normalprice,.productSpecialPriceSale {}
.normalprice {color:#616060;font-family:'Vidaloka',serif;font-size:20px;text-decoration:line-through;line-height:26px;padding:0 15px 0 0;}
.productSpecialPrice,.productSalePrice,.productSpecialPriceSale {color:#b62020;font-family:'Vidaloka',serif;font-size:20px;line-height:26px;}
.productSpecialPriceSale {text-decoration:line-through;}
.productPriceDiscount {color:#373737;font-size:12px;}

/*  --------------- 按钮 ---------------  */
.buttonRow,.buttonRow2 {margin:0;padding:7px 0;}
.buttonRow input,.buttonRow2 input,.buttonRow3 input {border:none;width:auto!important;}
.order-downloads h2 {font-family:"Roboto Condensed",sans-serif;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:2px;text-transform:uppercase;}
h2.order-downloads__title {font-size:14px;font-weight:600;text-align:center;}
table.shop_table_1 {width:100%;margin:0 0 1.5em;background-color:transparent;border-spacing:0;border-collapse:collapse;}
table.shop_table_1 thead {color:#fff;background-color:#333;}
table.shop_table_1 tr {padding:5px 0;}
table.shop_table_1 thead th {padding:10px;border-right:1px solid;text-align:center;}
table.shop_table_1 tbody tr {padding:5px 0;border-bottom:1px solid #eee;}
table.shop_table_1 tbody th,table.shop_table_1 tr td {display:table-cell;}
table.shop_table_1 tbody td {padding:10px;text-align:center;}
table.shop_table_1 a {text-decoration:none;}

/* 愿望清单样式 */
#wishlist .extendedCart {float:right;margin-left:5px;}
#wishlist .extendedDelete {float:right;}
#wishlist .buttons {text-align:right;margin-top:10px;}
#wishlist dl.pageresults {margin:20px 0 0 0;padding:0;}
#wishlist dd,#wishlist form {margin:0;padding:0;}
#wishlist fieldset {border:1px solid #9a9a9a;margin:0 0 10px 0;padding:10px;}
#wishlist legend {border:1px solid #9a9a9a;background-color:#abbbd3;padding:5px;}
#wishlist label.block {display:block;color:#930;margin-top:7px;}
#wishlist label.inline {display:inline;color:#930;}
#wishlist form.control,#wishlist form.moveto {margin:0 0 30px 0;padding:0;}
#wishlist form.control fieldset {border:0;margin:2px 0 1px 0;padding:0;}
#wishlist form.control label {display:block;color:#000;margin-top:0px;}
#wishlist form.control div.single {padding:3px 5px;}
#wishlist form.control div.multiple {padding:3px 5px;float:left;}
#wishlist form.control div.multiple label {display:block;}
#wishlist div.clearleft {padding:0;margin:0;clear:left;}
#wishlist .s {width:50px;}
#wishlist .m {width:100px;}
#wishlist .l {width:175px;}
#wishlist .xl {width:300px;}
#wishlist table.productlist {border:1px solid #9a9a9a;}
#wishlist table.productlist tr.heading {height:25px;background:#abbbd3;background-image:url(../images/tile_back.jpg);background-repeat:repeat-x;color:#fff;font-size:x-small;}
#wishlist .footnote {color:#666;font-size:x-small;padding-top:0;margin-top:20px;}
#wishlist table.productlist th {padding:2px;}
#wishlist table.productlist th.right,#wishlist table.productlist th.center {text-align:center;}
#wishlist table.productlist td {border-top:1px solid #9a9a9a;padding:2px;}
#wishlist table.productlist td.odd-right {text-align:right;}
#wishlist table.productlist td.odd-center {text-align:center;}
#wishlist table.productlist td.even {background-color:#eff4f8;}
#wishlist table.productlist td.even-right {background-color:#eff4f8;text-align:right;}
#wishlist table.productlist td.even-center {background-color:#eff4f8;text-align:center;}
#wishlist div.tableheading {height:25px;background:#abbbd3;background-image:url(../images/tile_back.jpg);background-repeat:repeat-x;color:#fff;font-size:x-small;font-weight:bold;border:1px solid #9a9a9a;padding:3px 6px 0px 6px;}
#wishlist div.wishlist-even {margin:0px 0px 0px 0px;padding:10px;border:1px solid #9a9a9a;border-top:0px;background-color:#eff4f8;}
#wishlist div.wishlist-odd {margin:0px 0px 0px 0px;padding:10px;border:1px solid #9a9a9a;border-top:0px;}
#wishlist img.productlist {margin:0px 15px 15px 0px;float:left;}
#wishlist div.wishlistfields {margin:10px 0px 0px 0px;padding:10px 0px;border-top:1px dotted #9a9a9a;}
#wishlist ul {list-style:none none outside;padding-left:0em;margin-left:0px;margin-top:0px;}
#wishlist ol {padding-left:2.2em;margin-left:0px;margin-top:0px;text-indent:-0.4em;}
#wishlist ol li {line-height:1.4em;}
#wishlist .inputrequirement {color:#379;}
#wishlist p.inputrequirement {text-align:right;}
#wishlist .notabene {color:#379;font-weight:bold;}
#wishlist .price {font-weight:bold;}

/* 产品列表和图像布局 */
.tie-indent .image, .searlist, .bestlisten .enimg, .product-col .img{position: relative;}
.bestlisten .enimg img{width: 100%;height: auto;}
.ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.ribbon {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    display: block;
    margin: 10px 0 0 0;
    padding: 2px 10px;
    border-radius: 0;
}
.newness {
    background-color: #ffaa65;
}

/* ============================================================================
   修复产品描述区域样式 - 解决前后台显示不一致问题
   ============================================================================ */

/* 基础文本样式修复 */
h4, h5, h6, LABEL, h4.optionName, LEGEND, ADDRESS, .sideBoxContent, .larger {
    font-family: Arial, Helvetica, sans-serif;
    color: #4d5255;
    margin: 10px 0;
    line-height: 1.4;
}

h4 { font-size: 16px; font-weight: bold; }
h5 { font-size: 14px; font-weight: bold; }
h6 { font-size: 13px; font-weight: bold; }

/* 通用内容区域样式 */
.content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.content p {
    margin: 0 0 15px 0;
    padding: 0;
}

/* 产品描述区域 - 核心修复 */
#productDescription, .shippingEstimatorWrapper {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    padding: 10px 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* 确保富文本编辑器内容正确显示 */
#productDescription p {
    margin: 0 0 15px 0;
    padding: 0;
}

#productDescription h1,
#productDescription h2,
#productDescription h3,
#productDescription h4,
#productDescription h5,
#productDescription h6 {
    font-weight: bold;
    margin: 20px 0 10px 0;
    color: #4d5255;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.3;
}

#productDescription h1 { font-size: 24px; }
#productDescription h2 { font-size: 20px; }
#productDescription h3 { font-size: 18px; }
#productDescription h4 { font-size: 16px; }
#productDescription h5 { font-size: 14px; }
#productDescription h6 { font-size: 13px; }

/* 列表样式 */
#productDescription ul,
#productDescription ol {
    margin: 10px 0 15px 20px;
    padding: 0;
}

#productDescription ul {
    list-style-type: disc;
}

#productDescription ol {
    list-style-type: decimal;
}

#productDescription li {
    margin: 5px 0;
    padding: 0;
    line-height: 1.5;
}

#productDescription ul ul,
#productDescription ol ol {
    margin: 5px 0 5px 15px;
}

/* 链接样式 */
#productDescription a {
    color: #C00505;
    text-decoration: underline;
}

#productDescription a:hover {
    color: #b62020;
    text-decoration: none;
}

/* 文本格式化 */
#productDescription strong,
#productDescription b {
    font-weight: bold;
    color: #4d5255;
}

#productDescription em,
#productDescription i {
    font-style: italic;
}

#productDescription u {
    text-decoration: underline;
}

/* 对齐样式 */
#productDescription .text-left,
#productDescription .align-left,
#productDescription p[align="left"] {
    text-align: left;
}

#productDescription .text-center,
#productDescription .align-center,
#productDescription p[align="center"] {
    text-align: center;
}

#productDescription .text-right,
#productDescription .align-right,
#productDescription p[align="right"] {
    text-align: right;
}

#productDescription .text-justify,
#productDescription p[align="justify"] {
    text-align: justify;
}

/* 引用样式 */
#productDescription blockquote {
    margin: 15px 20px;
    padding: 10px 15px;
    border-left: 3px solid #e1e1e1;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

/* 图像样式 */
#productDescription img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

#productDescription img.left,
#productDescription img[align="left"] {
    float: left;
    margin: 5px 15px 5px 0;
}

#productDescription img.right,
#productDescription img[align="right"] {
    float: right;
    margin: 5px 0 5px 15px;
}

#productDescription img.center,
#productDescription img[align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
}

/* 清除浮动 */
#productDescription .clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 表格样式（如果描述中包含表格） */
#productDescription table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

#productDescription table th,
#productDescription table td {
    padding: 8px;
    border: 1px solid #e1e1e1;
    text-align: left;
    vertical-align: top;
}

#productDescription table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #4d5255;
}

#productDescription table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 预格式化文本和代码 */
#productDescription pre,
#productDescription code {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 13px;
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
}

#productDescription pre {
    padding: 10px;
    margin: 10px 0;
    overflow: auto;
    border: 1px solid #e1e1e1;
    line-height: 1.4;
}

/* 水平线 */
#productDescription hr {
    border: 0;
    border-top: 1px solid #e1e1e1;
    margin: 20px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #productDescription {
        font-size: 13px;
    }
    
    #productDescription h1 { font-size: 20px; }
    #productDescription h2 { font-size: 18px; }
    #productDescription h3 { font-size: 16px; }
    
    #productDescription img.left,
    #productDescription img.right {
        float: none;
        display: block;
        margin: 10px auto;
    }
}

/* 购物车页面描述样式 */
#cartDescription {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

/* 分类页面描述样式 */
#categoryDescription {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    padding: 10px 0;
}

/* 制造商页面描述样式 */
#manufacturerDescription {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}