/*
Theme Name: Honour Steel
Theme URI: https://honoursteel.com/
Author: Honour Steel
Author URI: https://honoursteel.com/
Description: Custom WordPress theme rebuilt for Shandong Rongyao Steel Co., Ltd. (Honour Steel) — PPGI, PPGL, GI, GL, nano coated sheet and colour profiled sheet supplier.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honoursteel
Tags: business, custom-menu, featured-images, translation-ready
*/

/* The visual styles live in assets/css/style.css, home.css, page.css,
   pagemob.css and swiper.css which are enqueued from inc/setup.php.
   Only theme-critical overrides belong in this file. */

.hs-notice {
    margin: 0 0 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.6;
    background: #eaf7ea;
    border: 1px solid #b7e1b7;
    color: #246b24;
}

.hs-notice.is-error {
    background: #fdecec;
    border-color: #f3bcbc;
    color: #a12626;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.hs-empty {
    padding: 30px 0;
    color: #666;
}

.hs-pagination {
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hs-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e3e6ea;
    border-radius: 3px;
    color: #333;
    transition: all .1s linear;
}

.hs-pagination .page-numbers:hover,
.hs-pagination .page-numbers.current {
    background: var(--color);
    border-color: var(--color);
    color: #fff;
}

.prodetails-content .hs-content-title {
    font-size: 16px;
    font-weight: 600;
    color: #0a1d3d;
    margin: 40px 0 16px;
    line-height: 1.4;
}

.prodetails-content .hs-content-title:first-child {
    margin-top: 0;
}

.prodetails-content .hs-content-block p {
    margin: 0 0 16px;
    line-height: 1.9;
    color: #333;
}

.prodetails-content .hs-content-block table {
    margin: 0 0 10px;
}

.prodetails-content .hs-content-block ul,
.prodetails-content .hs-content-block ol {
    margin: 0 0 18px;
    padding-left: 22px;
    list-style: disc;
}

.prodetails-content .hs-content-block ol {
    list-style: decimal;
}

.prodetails-content .hs-content-block li {
    list-style: inherit;
    margin-bottom: 8px;
}

/* Header slogan (originally inline in the template header) */
.highlight {
    font-family: var(--fontfamily, Arial, sans-serif);
    color: #333;
    font-size: clamp(12px, 0.95vw, 16px);
    line-height: 1.45;
}

@media (max-width: 1024px) {
    .highlight {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .highlight {
        display: none;
    }
}

.search-box .head-search {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Floating contact column (originally inline in the template footer) */
.floatwindow_fd-main img {
    width: 20px;
}

.floatwindow_fd-tubiao {
    margin-top: 10px;
}

.floatwindow_fd_conct .floatwindow_fd-img {
    margin-top: 0;
}

.floatwindow_fd_conct .floatwindow_fd-topwrap {
    position: relative;
    margin-top: 10px;
}

.floatwindow_fd-tubiao .fd-tubiao-item {
    position: relative;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s linear, box-shadow .2s linear;
    -webkit-transition: transform .2s linear, box-shadow .2s linear;
}

.floatwindow_fd-tubiao .fd-tubiao-item:last-child {
    margin-bottom: 0;
}

.floatwindow_fd-tubiao .fd-tubiao-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}

.floatwindow_fd-tubiao .fd-tubiao-item img.fd-tubiao-ico {
    width: 30px;
    height: 30px;
    display: block;
}

.floatwindow_fd-tubiao .fd-tubiao-pop {
    position: absolute;
    right: 100%;
    top: 50%;
    margin-right: 10px;
    padding: 12px 14px;
    background: #FFF;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    white-space: nowrap;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(10px, -50%);
    transition: opacity .2s linear, transform .2s linear, visibility .2s linear;
    -webkit-transition: opacity .2s linear, transform .2s linear, visibility .2s linear;
    z-index: 2;
}

.floatwindow_fd-tubiao .fd-tubiao-item:hover .fd-tubiao-pop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.floatwindow_fd-tubiao .fd-tubiao-pop::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -6px;
    border: 6px solid transparent;
    border-left-color: #FFF;
}

.floatwindow_fd-tubiao .fd-tubiao-pop p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.2;
    color: #333;
    font-weight: 500;
}

.floatwindow_fd-tubiao .fd-tubiao-pop p:last-child {
    margin-bottom: 0;
}

.floatwindow_fd_conct .fd-tubiao-pop a {
    color: var(--color, #20b4f7);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.floatwindow_fd_conct .fd-tubiao-pop a:hover {
    text-decoration: underline;
}

/* Honeypot field */
.hs-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* WordPress admin bar offset (logged-in preview) */
body.admin-bar header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar header {
        top: 46px;
    }
}

/* Article typography (paragraphs and lists inside page/product content) */
.common-main article p {
    margin: 0 0 18px;
    line-height: 1.9;
}

.common-main article p:last-child {
    margin-bottom: 0;
}

.common-main article ul,
.common-main article ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.common-main article ul {
    list-style: disc;
}

.common-main article ol {
    list-style: decimal;
}

.common-main article li {
    list-style: inherit;
    margin-bottom: 8px;
}
