/* ============================================================
 * AIOMaker 主题样式
 * 设计 Token 复刻 dfrobot.com.cn（dfcn_v3）：
 *   主橙 #e16811 | 深色 #313131 | 文字 #424242/#535353/#959595
 *   浅灰底 #EEE | 容器 1200px | 圆角 3px | 卡片 282×385 比例
 * ============================================================ */

:root {
    --aiomaker-primary: #e16811;
    --aiomaker-dark: #313131;
    --aiomaker-text: #424242;
    --aiomaker-muted: #959595;
    --aiomaker-bg-gray: #eeeeee;
    --aiomaker-border: #e3e3e3;
    --aiomaker-radius: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: var(--aiomaker-text);
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--aiomaker-text); }
a:hover { color: var(--aiomaker-primary); }

.aiomaker-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.page-title {
    font-size: 22px;
    color: var(--aiomaker-dark);
    padding: 18px 0 10px;
    margin: 0;
}

.aiomaker-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
    display: inline-block;
    background: var(--aiomaker-primary);
    color: #fff !important;
    border: 1px solid var(--aiomaker-primary);
    border-radius: var(--aiomaker-radius);
    padding: 8px 22px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
}

.aiomaker-btn.ghost,
.woocommerce a.button.alt.disabled,
.woocommerce a.added_to_cart {
    background: #fff;
    color: var(--aiomaker-primary) !important;
}

.woocommerce a.added_to_cart { padding: 2px 8px; }

/* ============================================================
 * 顶部通栏（28px 灰底）
 * ============================================================ */
#aiomaker-topbar {
    background: var(--aiomaker-bg-gray);
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #636363;
}

#aiomaker-topbar .topbar-box { display: flex; justify-content: space-between; }
#aiomaker-topbar a { color: #636363; text-decoration: none; margin-left: 10px; }
#aiomaker-topbar a:hover { color: var(--aiomaker-primary); }
#aiomaker-topbar .reg-btn {
    background: var(--aiomaker-primary);
    color: #fff;
    border-radius: var(--aiomaker-radius);
    padding: 2px 8px;
}
#aiomaker-topbar .reg-btn:hover { color: #fff; }

/* ============================================================
 * 主头部（Logo / 搜索 / 购物车）
 * ============================================================ */
#aiomaker-header { border-bottom: 2px solid var(--aiomaker-primary); }

#aiomaker-header .header-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 22px;
    padding-bottom: 18px;
    position: relative;
}

.logo-frame { flex: 0 0 220px; }
.logo-frame a { text-decoration: none; display: inline-block; }
.logo-frame img { max-height: 70px; width: auto; }
.logo-frame .site-name { font-size: 26px; font-weight: bold; color: var(--aiomaker-primary); }

.search-frame { flex: 1 1 auto; max-width: 650px; }
.search-frame form { display: flex; }
.search-frame input[type="search"] {
    flex: 1;
    height: 43px;
    border: 2px solid var(--aiomaker-primary);
    border-right: none;
    border-radius: var(--aiomaker-radius) 0 0 var(--aiomaker-radius);
    padding: 0 13px;
    font-size: 14px;
    color: #535353;
    outline: none;
    background: #fff;
}
.search-frame button {
    width: 78px;
    height: 43px;
    background: var(--aiomaker-primary);
    border: none;
    border-radius: 0 var(--aiomaker-radius) var(--aiomaker-radius) 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-frame { flex: 0 0 150px; }

/* 购物车按钮 + 气泡 */
.aiomaker-cart { position: relative; }
.aiomaker-cart .cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 43px;
    border: 1px solid #535353;
    border-radius: var(--aiomaker-radius);
    color: var(--aiomaker-text);
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    background: #fff;
}
.aiomaker-cart .cart-btn:hover { border-color: var(--aiomaker-primary); color: var(--aiomaker-primary); }
.aiomaker-cart .bubble {
    min-width: 22px;
    height: 21px;
    line-height: 21px;
    background: var(--aiomaker-primary);
    color: #fff;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    border-radius: 3px 3px 3px 0;
    padding: 0 5px;
}

/* 迷你购物车浮层 */
.mini-cart {
    display: none;
    position: absolute;
    right: 0;
    top: 42px;
    width: 300px;
    background: #fff;
    border: 1px solid #535353;
    z-index: 120;
}
.aiomaker-cart:hover .mini-cart { display: block; }
.mini-cart .mc-con { max-height: 280px; overflow-y: auto; padding: 6px 13px; }
.mini-cart .mc-empty { color: var(--aiomaker-muted); text-align: center; padding: 20px 0; }
.mini-cart ul { list-style: none; margin: 0; padding: 0; }
.mini-cart li { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid #d2d2d2; }
.mini-cart .mc-thumb img { width: 60px; height: 60px; object-fit: cover; }
.mini-cart .mc-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 13px; color: #313131; text-decoration: none;
}
.mini-cart .mc-qty { font-size: 13px; color: var(--aiomaker-primary); font-weight: bold; }
.mini-cart .mc-total { background: var(--aiomaker-bg-gray); padding: 10px 13px; }
.mini-cart .mc-sum { font-size: 13px; margin-bottom: 8px; }
.mini-cart .mc-sum span { color: var(--aiomaker-primary); font-weight: bold; }
.mini-cart .mc-btns { display: flex; gap: 8px; justify-content: flex-end; }
.mini-cart .mc-btn {
    background: var(--aiomaker-primary); color: #fff; border: 1px solid var(--aiomaker-primary);
    border-radius: var(--aiomaker-radius); padding: 3px 12px; font-size: 13px; text-decoration: none;
}
.mini-cart .mc-btn.ghost { background: #fff; color: var(--aiomaker-primary); }

/* ============================================================
 * 导航行：分类按钮 + 巨型菜单 + 主导航
 * ============================================================ */
.nav-row { background: #fff; }
.nav-box { display: flex; align-items: stretch; height: 42px; position: relative; }

.cat-nav { position: relative; flex: 0 0 200px; }
.all-class-btn {
    width: 200px; height: 42px;
    background: var(--aiomaker-primary);
    color: #fff; font-size: 16px; font-weight: bold;
    border: none; cursor: pointer; text-align: left; padding: 0 12px;
}
.all-class-btn::after { content: " ﹀"; font-size: 12px; float: right; }

/* 巨型菜单面板：深色侧栏 + 二级浮层 */
.mega-panel {
    position: absolute;
    top: 42px; left: 0;
    z-index: 100;
    display: none;
}
.cat-nav:hover .mega-panel,
.cat-nav.open .mega-panel { display: block; }

.mega-cats {
    list-style: none; margin: 0; padding: 0;
    width: 200px; background: var(--aiomaker-dark);
}
.mega-cat { position: relative; }
.mega-cat > a {
    display: block;
    padding: 7px 12px;
    color: #fff; font-size: 14px; text-decoration: none;
    border-left: 3px solid transparent;
    line-height: 1.5;
}
.mega-cat > a i { float: right; font-style: normal; color: #bbb; }
.mega-cat:hover > a { border-left-color: var(--aiomaker-primary); color: var(--aiomaker-primary); }
.mega-all > a { font-weight: bold; }

.mega-sub {
    display: none;
    position: absolute;
    left: 200px; top: 0;
    width: 620px;
    min-height: 100%;
    background: #fff;
    border-top: 1px solid var(--aiomaker-primary);
    border-bottom: 1px solid var(--aiomaker-primary);
    z-index: 101;
}
.mega-cat:hover .mega-sub { display: flex; }
.mega-sub-cats {
    flex: 1 1 auto;
    padding: 24px 20px;
    display: flex; flex-wrap: wrap; align-content: flex-start;
}
.mega-sub-cats .box { width: 50%; padding-bottom: 16px; }
.mega-sub-cats h4 { margin: 0; font-size: 14px; }
.mega-sub-cats h4::before { content: "__"; color: #959595; margin-right: 6px; font-weight: normal; }
.mega-sub-cats h4 a { color: var(--aiomaker-text); text-decoration: none; }
.mega-sub-cats h4 a:hover { color: var(--aiomaker-primary); }

.mega-brands {
    flex: 0 0 190px;
    background: var(--aiomaker-bg-gray);
    border-left: 1px solid var(--aiomaker-primary);
    padding: 24px 20px;
}
.mega-brands h4 { margin: 0 0 8px; font-size: 14px; color: var(--aiomaker-dark); }
.mega-brands a { display: block; padding: 8px 0; text-decoration: none; }
.mega-brands img { width: 150px; height: 50px; object-fit: contain; background: #fff; }
.mega-brands span { color: var(--aiomaker-text); font-size: 13px; }
.mega-brands a:hover span { color: var(--aiomaker-primary); }

/* 主导航 */
.primary-nav { flex: 1; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; height: 42px; }
.primary-nav li { position: relative; }
.primary-nav li a {
    display: block; padding: 0 19px; line-height: 42px;
    font-size: 16px; font-weight: bold; color: var(--aiomaker-text); text-decoration: none;
}
.primary-nav li a:hover,
.primary-nav li.current-menu-item > a,
.primary-nav li.current_page_item > a { color: var(--aiomaker-primary); }
.primary-nav .sub-menu {
    display: none; position: absolute; top: 42px; left: 0;
    background: #fff; border: 1px solid var(--aiomaker-border); min-width: 150px; z-index: 99;
    height: auto; flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.primary-nav li:hover .sub-menu { display: block; }
.primary-nav .sub-menu a { font-size: 14px; font-weight: normal; line-height: 38px; padding: 0 15px; }

/* 移动端导航开关 */
.mobile-nav-toggle { display: none; }

/* ============================================================
 * 首页：轮播 + 楼层 + 电梯
 * ============================================================ */
.home-wrap { padding-bottom: 30px; }
.home-body { position: relative; }

.aiomaker-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 442;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 6px;
}
.asl-track, .asl-track .asl-slide { position: absolute; inset: 0; }
.asl-slide { opacity: 0; transition: opacity .5s ease; display: block; }
.asl-slide.active { opacity: 1; z-index: 2; }
.asl-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.asl-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5; width: 36px; height: 60px;
    background: rgba(0,0,0,.25); color: #fff; border: none; cursor: pointer;
    font-size: 20px; line-height: 1;
}
.asl-arrow:hover { background: rgba(0,0,0,.45); }
.asl-arrow.prev { left: 0; }
.asl-arrow.next { right: 0; }
.asl-dots {
    position: absolute; bottom: 12px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px; z-index: 5;
}
.asl-dot {
    width: 22px; height: 5px; border: none; cursor: pointer;
    background: rgba(255,255,255,.55); border-radius: 2px; padding: 0;
}
.asl-dot.active { background: var(--aiomaker-primary); }

/* 楼层电梯（复刻原站 floorFrame：固定于内容区左侧） */
.floor-elevator {
    position: fixed;
    left: 50%;
    top: 220px;
    margin-left: -715px;
    z-index: 10;
    width: 100px;
    background: #fff;
    border: 1px solid var(--aiomaker-border);
    border-radius: 0 5px 5px 0;
    overflow: hidden;
}
.floor-elevator .fe-title {
    font-size: 13px; font-weight: bold; text-align: center;
    padding: 8px 4px; border-bottom: 1px solid var(--aiomaker-border); color: var(--aiomaker-dark);
}
.floor-elevator ul { list-style: none; margin: 0; padding: 0; }
.floor-elevator li a {
    display: block; padding: 9px 10px; font-size: 13px;
    text-decoration: none; text-align: center; background: #fff;
    border-bottom: 1px solid #f5f5f5; line-height: 1.4;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.floor-elevator li a:hover,
.floor-elevator .fe-top a:hover { background: var(--aiomaker-primary); color: #fff; }
.floor-elevator .fe-top a {
    display: block; padding: 9px; text-align: center; font-size: 13px; text-decoration: none;
}

/* 楼层模块（插件 [aiomaker_floors] 输出的结构） */
.aiomaker-floors { width: 100%; }
.floorModule { margin-bottom: 10px; }
.floorCon .moduletitle {
    font-weight: bold; font-size: 21px; color: var(--aiomaker-dark);
    padding: 15px 0; line-height: 1.4;
}
.floorCon .moduletitle::after { content: ""; display: block; clear: both; }
.floorCon .moduletitle .more { float: right; font-weight: normal; }
.floorCon .moduletitle .more a { color: #636363; font-size: 15px; text-decoration: none; }
.floorCon .moduletitle .more a:hover { color: var(--aiomaker-primary); }

/* ============================================================
 * 商品卡（楼层 .newShop 与 Woo 循环 ul.products 共用）
 * ============================================================ */
.newShop .content,
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 21px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shopList.productBlock,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: calc((100% - 63px) / 4);
    position: relative;
    background: #fff;
    border: 1px solid transparent;
    padding-bottom: 46px;
    transition: border-color .15s ease, box-shadow .15s ease;
    float: none !important;
    margin: 0 !important;
}

.shopList.productBlock:hover,
.woocommerce ul.products li.product:hover {
    border-color: var(--aiomaker-primary);
    box-shadow: 0 2px 12px rgba(225, 104, 17, .12);
}

.shopList .thumb,
.shopList .thumb img,
.shopList .thumb video { display: block; width: 100%; }
.shopList .thumb { aspect-ratio: 1 / 1; overflow: hidden; }
.shopList .thumb img,
.shopList .thumb video { height: 100%; object-fit: cover; }

.shopList .name {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
    padding: 14px 14px 0; font-size: 16px; line-height: 1.45;
    color: #000; text-decoration: none; min-height: 83px;
}
.shopList .name:hover { color: var(--aiomaker-primary); }

.shopList .buyRow {
    position: absolute; left: 11px; right: 11px; bottom: 12px;
    margin: 0; line-height: 25px; white-space: nowrap;
}
.shopList .price { font-size: 18px; color: var(--aiomaker-primary); font-weight: bold; }
.shopList del { font-size: 13px; color: var(--aiomaker-muted); margin-left: 6px; }
.shopList .free_shipping {
    display: inline-block; font-size: 12px; color: var(--aiomaker-primary);
    border: 1px solid var(--aiomaker-primary); border-radius: 2px;
    padding: 0 4px; line-height: 16px; margin-left: 8px; vertical-align: 2px;
}
.shopList .addCart {
    display: none;
    background: var(--aiomaker-primary); color: #fff !important;
    font-size: 15px; height: 27px; line-height: 27px;
    border-radius: var(--aiomaker-radius); text-align: center;
    text-decoration: none; width: 100%; cursor: pointer;
}
.shopList .addCart.added { background: #4caf50; border-color: #4caf50; }
.shopList:hover .addCart { display: block; }
.shopList:hover .price,
.shopList:hover del,
.shopList:hover .free_shipping { display: none; }

/* 商店页 Woo 附加元素微调（销量/星级） */
.woocommerce ul.products li.product .star-rating { margin: 4px 14px 0; }
.woocommerce ul.products li.product .onsale {
    background: var(--aiomaker-primary); border-radius: var(--aiomaker-radius);
    min-height: auto; line-height: 1.6; padding: 2px 10px; margin: 8px; z-index: 3;
}

/* ============================================================
 * WooCommerce：商品详情 / 购物车 / 结算 / 我的账户
 * ============================================================ */
.woo-wrap { padding: 20px 10px 40px; }

.woocommerce-breadcrumb { font-size: 13px; color: var(--aiomaker-muted); margin-bottom: 14px; }
.woocommerce-breadcrumb a { color: var(--aiomaker-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--aiomaker-primary); }

.woocommerce div.product .product_title { font-size: 22px; color: var(--aiomaker-dark); margin: 0 0 10px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--aiomaker-primary); font-size: 24px; font-weight: bold; }
.woocommerce div.product p.price del { color: var(--aiomaker-muted); font-size: 16px; }
.woocommerce span.onsale { background: var(--aiomaker-primary); border-radius: var(--aiomaker-radius); }

.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-top-color: var(--aiomaker-primary); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--aiomaker-primary); }

.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--aiomaker-border); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--aiomaker-primary); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--aiomaker-primary); }

.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0 4px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: #fff; border: 1px solid var(--aiomaker-border);
    border-radius: var(--aiomaker-radius); min-width: 34px; line-height: 34px; padding: 0 8px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--aiomaker-primary); color: #fff; border-color: var(--aiomaker-primary);
}

/* 心愿单页 */
.woocommerce .wishlist_table .product-thumbnail img { width: 80px; }
.yith-wcwl-add-button .add_to_wishlist { color: var(--aiomaker-primary) !important; }

/* ============================================================
 * 内容排版 / 列表页 / 404
 * ============================================================ */
.entry-content { font-size: 15px; }
.entry-content h2, .entry-content h3 { color: var(--aiomaker-dark); }
.page-wrap, .list-wrap { padding-bottom: 40px; }

.post-item { padding: 18px 0; border-bottom: 1px solid var(--aiomaker-border); }
.post-item-title { font-size: 18px; margin: 0 0 6px; }
.post-item-title a { text-decoration: none; color: var(--aiomaker-dark); }
.post-item-title a:hover { color: var(--aiomaker-primary); }
.post-item-meta { color: var(--aiomaker-muted); font-size: 13px; margin-bottom: 6px; }
.no-result { color: var(--aiomaker-muted); padding: 30px 0; }
.error404-wrap p a { margin-right: 10px; }

/* ============================================================
 * 页脚
 * ============================================================ */
#aiomaker-footer { background: #f7f7f7; border-top: 1px solid var(--aiomaker-border); margin-top: 30px; }
.footer-box { display: flex; gap: 40px; padding-top: 34px; padding-bottom: 26px; }
.footer-qr { flex: 0 0 130px; text-align: center; }
.footer-qr img { width: 120px; height: 120px; object-fit: contain; background: #fff; border: 1px solid var(--aiomaker-border); }
.footer-qr p { font-size: 12px; color: var(--aiomaker-muted); margin: 6px 0 0; }
.footer-cols { flex: 1; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-col { flex: 1 1 150px; min-width: 150px; }
.footer-col h4 { font-size: 15px; color: var(--aiomaker-dark); margin: 0 0 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: 13px; color: #636363; text-decoration: none; }
.footer-col a:hover { color: var(--aiomaker-primary); }

.footer-bottom { background: var(--aiomaker-dark); color: #c9c9c9; padding: 16px 0; font-size: 13px; }
.footer-bottom a { color: #c9c9c9; text-decoration: none; margin-right: 12px; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .copyright { margin: 0 0 6px; line-height: 1.7; }
.footer-bottom .beian { margin: 0 0 6px; }
.friend-links { color: #9a9a9a; }
.friend-links ul { list-style: none; display: inline; margin: 0; padding: 0; }
.friend-links li { display: inline; }
.friend-links li::after { content: " |"; margin: 0 6px; color: #6b6b6b; }
.friend-links li:last-child::after { content: ""; }

/* ============================================================
 * 右侧悬浮工具栏
 * ============================================================ */
.aiomaker-sidebar-float {
    position: fixed; right: 10px; bottom: 120px; z-index: 90;
    display: flex; flex-direction: column; gap: 6px;
}
.sf-item {
    width: 58px; padding: 8px 4px; text-align: center;
    background: #fff; border: 1px solid var(--aiomaker-border); border-radius: var(--aiomaker-radius);
    font-size: 12px; color: var(--aiomaker-text); text-decoration: none;
    box-shadow: 0 1px 6px rgba(0,0,0,.06); line-height: 1.4;
    word-break: break-all;
}
.sf-item:hover { color: var(--aiomaker-primary); border-color: var(--aiomaker-primary); }
.sf-consult { background: var(--aiomaker-primary); color: #fff; border-color: var(--aiomaker-primary); font-weight: bold; }
.sf-consult:hover { color: #fff; }
.sf-wechat { position: relative; }
.sf-qr {
    display: none; position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
    background: #fff; border: 1px solid var(--aiomaker-border); padding: 6px;
}
.sf-wechat:hover .sf-qr { display: block; }
.sf-qr img { width: 110px; height: 110px; }
.sf-hours { color: var(--aiomaker-muted); }
.sf-top { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* ============================================================
 * 响应式（原站为纯 PC；本主题向下适配）
 * ============================================================ */
@media (max-width: 1440px) {
    .floor-elevator { display: none; }
}

@media (max-width: 1240px) {
    .aiomaker-container { width: 100%; }
}

@media (max-width: 900px) {
    #aiomaker-header .header-box { flex-wrap: wrap; gap: 10px; padding-top: 12px; }
    .logo-frame { flex: 1 1 auto; }
    .search-frame { order: 3; flex: 1 1 100%; max-width: none; }
    .cart-frame { flex: 0 0 auto; margin-left: auto; }
    .cart-frame .cart-btn { width: 46px; overflow: hidden; }

    .nav-box { height: auto; flex-direction: column; }
    .mobile-nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 42px; height: 42px; background: none; border: 1px solid var(--aiomaker-border);
        border-radius: var(--aiomaker-radius); cursor: pointer; padding: 8px;
    }
    .mobile-nav-toggle span { display: block; height: 2px; background: var(--aiomaker-dark); }

    .cat-nav { flex: none; width: 100%; }
    .all-class-btn { width: 100%; }
    .mega-panel { position: static; }
    .cat-nav:not(.open) .mega-panel { display: none; }
    .mega-cats { width: 100%; }
    .mega-sub { position: static; width: 100%; display: none !important; }
    .mega-cat.open .mega-sub { display: block !important; }
    .mega-sub-cats { padding: 12px; }
    .mega-brands { display: none; }

    .nav-row { border-top: 1px solid var(--aiomaker-border); }
    #aiomaker-nav-row .primary-nav { display: none; }
    #aiomaker-nav-row.open .primary-nav { display: block; width: 100%; }
    .primary-nav ul { flex-direction: column; height: auto; }
    .primary-nav li a { line-height: 44px; border-bottom: 1px solid #f2f2f2; }
    .primary-nav .sub-menu { position: static; box-shadow: none; border: none; background: #fafafa; }
    .primary-nav .sub-menu a { padding-left: 34px; }

    .shopList.productBlock,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product { width: calc((100% - 12px) / 2); }
    .newShop .content,
    .woocommerce ul.products { gap: 12px; }
    .shopList .name { font-size: 14px; min-height: 70px; }

    /* 触屏：价格与加购按钮常显 */
    .shopList .addCart { display: block; margin-bottom: 6px; }
    .shopList .buyRow { position: static; padding: 0 11px; white-space: normal; }

    .footer-box { flex-direction: column; gap: 20px; }
    .aiomaker-sidebar-float { bottom: 80px; }
}
