/* 内页横幅 */
.royal-inner-banner {
    position: relative;
    overflow: hidden;
    height: 48rem;
    background-color: #b4e1dc;
}

.royal-inner-banner-bg {
    position: absolute;
    inset: 0;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    width: 100%;
    height: 100%;
    animation: imageZoom 10s infinite ease-in-out;
}

.royal-inner-banner .royal-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.royal-inner-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(-150deg, #b4e1dc 20%, #b4e1dc 50%, #f7b700 60%, #f7b700 100%);
    background-size: 200% 200%;
    z-index: 1;
    animation: gradientMove 5s ease infinite;
}

.royal-inner-banner-content {
    position: absolute;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 3;
    height: 100%;
}

.royal-inner-banner-info {
    overflow: hidden;
    max-width: 64rem;
    color: #fff;
    z-index: 4;
}

.royal-inner-banner-info h2 {
    font-size: 4rem;
    text-transform: uppercase;
}

.royal-inner-banner-info h3 {
    font-size: 4.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #f7b700;
    opacity: 0.4;
}

/* 下滑提示 */
.royal-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: gentleBounce 2s ease-in-out infinite;
    text-align: center;
}

@keyframes gentleBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(1rem);
    }
}

.royal-scroll-mouse {
    width: 2.6rem;
    height: 4rem;
    border: 0.2rem solid #fff;
    border-radius: 2rem;
    margin: 0 auto;
    position: relative;
}

.royal-scroll-wheel {
    width: 0.3rem;
    height: 0.8rem;
    background: #fff;
    border-radius: 0.2rem;
    position: absolute;
    top: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease infinite;
}

.royal-scroll-arrow {
    margin-top: 0.8rem;
}

.royal-scroll-arrow span {
    display: block;
    width: 1rem;
    height: 1rem;
    border-right: 0.2rem solid #fff;
    border-bottom: 0.2rem solid #fff;
    transform: rotate(45deg);
    margin: -0.4rem auto;
    animation: scrollArrow 2s ease infinite;
}

.royal-scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.royal-scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

.royal-scroll-text {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    opacity: 0.8;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    80% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(1rem);
    }

    100% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0.5;
        transform: rotate(45deg) translate(-0.5rem, -0.5rem);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
        transform: rotate(45deg) translate(0.5rem, 0.5rem);
    }
}

.royal-scroll-indicator:hover {
    opacity: 0.7;
}

/* 内页主体 */
.royal-inner-section {
    overflow: hidden;
    background: #f3f3f3;
}

.royal-inner-body {
    overflow: hidden;
    padding: 4rem;
    background: #fff;
    border-radius: 1rem;
}

/* 侧边栏 */
.royal-inner-side {
    overflow: hidden;
}

.royal-inner-side-title {
    position: relative;
    overflow: hidden;
    padding-bottom: 3rem;
}

.royal-inner-side-title::after {
    content: '';
    height: 0.6rem;
    width: 6rem;
    left: 0;
    bottom: 0;
    background: #f7b700;
    position: absolute;
}

.royal-inner-side-title h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.royal-inner-side-title h1 {
    font-size: 4.2rem;
    color: #999;
    font-weight: 900;
    text-transform: uppercase;
}

/* 联系方式 */
.royal-contact-content {
    padding: 8rem 0;
    overflow: hidden;
}

.royal-contact-info,
.royal-contact-form {
    padding: 0 2rem;
}

.royal-contact-card {
    border-radius: 1rem;
    padding: 4rem;
    border: 0.1rem solid #f3f3f3;
}

.royal-contact-title {
    overflow: hidden;
    margin-bottom: 4rem;
}

.royal-contact-title p {
    font-size: 1.6rem;
}

.royal-contact-title h2 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    position: relative;
    color: #f7b700;
}

.royal-contact-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4.8rem;
    height: 0.2rem;
    background: #f7b700;
    transition: width 0.3s ease;
}

.royal-contact-card:hover .royal-contact-title h2::after {
    width: 6rem;
}

.royal-contact-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.08);
}

.royal-contact-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.royal-contact-subtitle {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.royal-contact-subtitle i {
    color: #f7b700;
    font-size: 1.6rem;
    width: 2rem;
    text-align: center;
}

.royal-contact-text {
    color: #666;
    font-size: 1.4rem;
    margin: 0;
    padding-left: 3rem;
}

.royal-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 3rem;
}

.royal-contact-phone {
    color: #666;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.royal-contact-phone:hover {
    color: #f7b700;
    transform: translateX(0.3rem);
}

.royal-contact-phone::before {
    content: '•';
    color: #f7b700;
    font-weight: bold;
    font-size: 1.2rem;
}

.royal-contact-email {
    color: #666;
    text-decoration: none;
    font-size: 1.4rem;
    padding-left: 3rem;
    display: block;
    transition: all 0.3s ease;
}

.royal-contact-email:hover {
    color: #f7b700;
}

.royal-contact-hours {
    padding-left: 3rem;
}

.royal-contact-time {
    color: #666;
    font-size: 1.4rem;
    margin: 0 0 0.6rem 0;
    position: relative;
    padding-left: 1.6rem;
}

.royal-contact-time::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f7b700;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 表单卡片 */
.royal-contact-form-card {
    background: #fff;
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0.2rem 0.4rem 1rem rgba(0, 0, 0, 0.02);
    border: 0.1rem solid #f7b700;
    height: 100%;
}

.royal-contact-form-card .royal-form-group {
    margin-bottom: 2rem;
}

.royal-contact-form-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    position: relative;
    color: #f7b700;
}

.royal-contact-form-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4.8rem;
    height: 0.2rem;
    background: #f7b700;
    transition: width 0.3s ease;
}

.royal-form-group label i {
    color: #f7b700;
    width: 1.6rem;
}

/* 面包屑 */
.royal-breadcrumb {
    margin: 0;
}

.royal-breadcrumb>li [class*="royal-icon-"]::before {
    color: #fff;
}

.royal-breadcrumb a {
    font-size: 1.2rem;
    color: #fff;
}

.royal-breadcrumb>li+li::before {
    color: #fff;
}

/* 产品分类侧栏 */
.royal-product-class-content {
    overflow: hidden;
    padding: 0 3rem 1.5rem 0;
}

.royal-product-class {
    overflow: hidden;
    border-radius: 0.6rem;
    box-shadow: 0.3rem 0.6rem 1.5rem rgba(0, 0, 0, 0.03);
}

.royal-product-class a {
    background: #c6c6c6;
    padding: 1.5rem 2rem;
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.1rem;
}

.royal-product-class a:hover,
.royal-product-class a.active {
    background: #f7b700;
    color: #fff;
}

.royal-product-class-dropdown a {
    background: #fff;
    color: #333;
    font-size: 1.4rem;
    margin: 0;
    border-bottom: 0.1rem solid #e6e6e6;
}

.royal-product-class-dropdown a:last-child {
    border: none;
}

/* 子栏目菜单 */
.royal-side-nav {
    overflow: hidden;
    border-bottom: 0.1rem solid #e6e6e6;
}

.royal-side-nav-list {
    overflow: hidden;
}

.royal-side-nav a {
    padding: 1.5rem 0;
    margin-right: 2rem;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
    text-transform: capitalize;
}

.royal-side-nav a::after {
    position: absolute;
    height: 0.3rem;
    background: transparent;
    transition: all 0.5s ease;
    left: 0;
    bottom: -0.1rem;
    content: '';
    width: 0;
}

.royal-side-nav a:hover,
.royal-side-nav a.active {
    color: #f7b700;
}

.royal-side-nav a:hover::after,
.royal-side-nav a.active::after {
    background: #f7b700;
    width: 100%;
}

/* 左右布局 */
.royal-inner-content-fl {
    width: 20%;
    float: left;
    padding: 1rem 2rem 1rem 0;
}

.royal-inner-content-fr {
    width: 80%;
    float: right;
    overflow: hidden;
}

.royal-inner-content {
    overflow: hidden;
    padding:4rem 0;
}

/* 文章样式 */
.royal-article-section {
    padding: 11rem 0 4rem;
    overflow: hidden;
}

.royal-article-content {
    padding: 4rem;
    overflow: hidden;
    border: 0.1rem solid #e6e6e6;
    border-radius: 1rem;
}

.royal-article-header {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 0.1rem solid #e6e6e6;
}

.royal-article-title {
    font-weight: bold;
}

.royal-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.royal-article-meta-item {
    display: flex;
    align-items: center;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background: #f3f3f3;
    border: 0.1rem solid #e6e6e6;
    border-radius: 0.5rem;
    color: #666;
}

.royal-article-meta-item i {
    color: #f7b700;
    margin-right: 0.5rem;
}

.royal-article {
    min-height: 80rem;
    overflow: hidden;
}

.royal-article-bd {
    font-size: 1.6rem;
    line-height: 1.6;
}

.royal-article-bd img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 文章导航 */
.royal-article-navigation {
    padding-top: 1rem;
    overflow: hidden;
}

.royal-article-nav-btn {
    padding: 1rem 2rem;
    display: block;
    border: 0.1rem solid #e6e6e6;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: 0.5s ease;
}

.royal-article-nav-btn:hover {
    border-color: #f7b700;
    box-shadow: 0.2rem 0.4rem 1rem rgba(0, 0, 0, 0.05);
    transform: translateY(-0.2rem);
}

.royal-article-nav-btn.royal-article-nav-disabled {
    color: #666;
    cursor: not-allowed;
    background: #f3f3f3;
    opacity: 0.6;
}

/* 表格样式 */
.royal-article-bd table {
    width: 100%;
    margin-bottom: 10.5rem;
    border-spacing: 0;
    border-collapse: separate;
}

.royal-article-bd table>thead>tr>th,
.royal-article-bd table>tbody>tr>th,
.royal-article-bd table>tfoot>tr>th,
.royal-article-bd table>thead>tr>td,
.royal-article-bd table>tbody>tr>td,
.royal-article-bd table>tfoot>tr>td {
    line-height: 1.6;
    vertical-align: top;
    border-top: 0.1rem solid #e6e6e6;
}

.royal-article-bd table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 0.1rem solid #e6e6e6;
}

.royal-article-bd table>caption+thead>tr:first-child>th,
.royal-article-bd table>colgroup+thead>tr:first-child>th,
.royal-article-bd table>thead:first-child>tr:first-child>th,
.royal-article-bd table>caption+thead>tr:first-child>td,
.royal-article-bd table>colgroup+thead>tr:first-child>td,
.royal-article-bd table>thead:first-child>tr:first-child>td {
    border-top: 0;
}

.royal-article-bd table>tbody+tbody tr:first-child td {
    border-top: 0.2rem solid #e6e6e6;
}

/* 弹窗表单 */
.royal-form-modal-dialog {
    border-radius: 2rem;
    border: 0.2rem solid #f7b700;
    border-left-width: 1rem;
    background: #F0FFFD;
}

.royal-form-modal-dialog .royal-modal-bd {
    border: none;
    padding: 2rem;
    text-align: left;
}

/* 图片容器 */
.royal-thumb-wrapper {
    overflow: hidden;
    position: relative;
}

.royal-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.royal-thumb-wrapper:hover img {
    transform: scale(1.08);
}

/* 推荐列表 */
.royal-rec-list {
    overflow: hidden;
    padding-bottom: 3rem;
}

.royal-rec-list-header {
    overflow: hidden;
    font-size: 2.4rem;
    color: #f7b700;
    font-weight: bold;
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-bottom: 0.1rem solid #e6e6e6;
}

.royal-rec-list li {
    padding: 1rem;
    overflow: hidden;
}

.royal-rec-list-item {
    padding: 2rem;
    border: 0.1rem solid #e6e6e6;
    overflow: hidden;
    border-radius: 1rem;
    text-align: center;
}

.royal-rec-list-img {
    padding-bottom: 75%;
    border-radius: 1rem;
}

.royal-rec-list-img img {
    object-fit: cover;
}

.royal-rec-list-info {
    overflow: hidden;
    margin-top: 2rem;
}

.royal-rec-list-info h3 {
    height: 5rem;
    overflow: hidden;
}

.royal-list-pic-info-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    padding-top: 1rem;
    margin-top: 1rem;
    color: #666;
    border-top: 0.1rem solid #f3f3f3;
}

/* 无结果提示 */
.royal-no-results {
    text-align: center;
    padding: 8rem 2rem;
    color: #666;
}

.royal-no-results i {
    font-size: 6rem;
    color: #e6e6e6;
    margin-bottom: 2rem;
}

.royal-no-results h3 {
    font-size: 2rem;
    color: #666;
    margin: 0 0 1rem 0;
}

.royal-no-results p {
    font-size: 1.6rem;
    color: #666;
    margin: 0;
}

/* 分页 */
.royal-pagination ul {
    margin: 2rem 0 0;
    list-style: none;
    padding: 0;
    text-align: center;
}

.royal-pagination li {
    margin-right: 1rem;
    display: inline-block;
}

.royal-pagination li.disabled span {
    border-color: #f3f3f3;
    color: #666;
}

.royal-pagination li.active span {
    border-color: #f7b700;
    color: #fff;
    background: #f7b700;
}

.royal-pagination li a,
.royal-pagination li span {
    display: block;
    padding: 0.4em 1em;
    border: 0.1rem solid #e6e6e6;
    border-radius: 0.2rem;
    text-decoration: none;
    transition: 0.5s ease;
}

.royal-pagination li a:hover {
    border-color: #f7b700;
    color: #fff;
    background: #f7b700;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .royal-inner-banner {
        margin-top: 5.1rem;
        height: 20rem;
    }

    .royal-inner-banner-content {
        padding: 0 2rem;
    }

    .royal-inner-banner-info h2 {
        font-size: 2.4rem;
    }

    .royal-inner-banner-info h3 {
        font-size: 2rem;
    }

    .royal-article-section {
        padding: 7rem 0 2rem;
    }

    .royal-article {
        padding: 0.5rem 0;
    }

    .royal-article-content {
        padding: 2rem;
    }

    .royal-product-class-g {
        padding: 2rem 0 4rem;
    }

    .royal-inner-body {
        padding: 2rem;
    }

    .royal-inner-content {
        padding: 0rem 0 2rem;
    }

    .royal-wap-sidenav {
        margin: 2rem 1.5rem;
    }

    .royal-rec-list-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .royal-rec-list li {
        padding: 0.5rem;
    }

    .royal-rec-list-item {
        padding: 1rem;
    }

    .royal-contact-form-card {
        padding: 1rem;
    }
}