* {box-sizing: border-box;}
html {font-size: 16px;}
body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;background-color: #f9f9f9;color: #333;line-height: 1.6;margin: 0;padding-top: 2rem;}
a {color: #000;text-decoration: none;}
a:hover {color: #0081C2;}
img {border: none;border-radius: 0.3125rem;vertical-align: bottom;max-width: 100%;height: auto;display: block;}
.menu-toggle {position: absolute;opacity: 0;pointer-events: none;}
.product-detail, .article-detail {display: flex;flex-direction: column;gap: 1.25rem;}
.pictures {margin: 0 auto;max-width: 600px; overflow: hidden;}
.pictures img {width: 100%;height: auto;border-radius: 0.3125rem;}
.product-detail .product-header h1 {font-size: 1.25rem;line-height: 1.4;margin: 0.5rem 5rem;text-align: center;}
.product-detail .product-main-pic {margin: 0 auto;max-width: 400px; overflow: hidden;}
.product-pic {width: 100%;height: 100%;object-fit: cover; display: block;}
.product-detail .product-main-pic img {width: 100%;height: auto;border-radius: 0.3125rem;}
.product-detail .product-info, .article-detail .article-info {display: flex;flex-direction: column;gap: 1rem;}
.product-detail h2.product-title {font-size: 1.25rem;margin: 0 auto;}
.product-detail h3 {font-size: 1.05rem;margin: 0;}
.product-detail .product-meta, .article-detail .article-meta, .review-detail .review-meta {margin: 0;display: grid;grid-template-columns: max-content 1fr;gap: 0.5rem 0.5rem;}
.product-detail .product-meta dt, .article-detail .article-meta dt {font-weight: bold;color: #333;}
.product-detail .product-meta dd, .article-detail .article-meta dd {margin: 0;}
.product-detail .pic, .article-detail .art-pic,.why-us .eqpt-pic {display: grid;grid-template-columns: repeat(2, minmax(180px, 400px));justify-content: center;}
.product-detail .pic figure, .article-detail .art-pic figure,.why-us .eqpt-pic figure {margin: 0;}
.product-detail .pic img, .article-detail .art-pic img,.why-us .eqpt-pic img {width: 100%;height: auto;border-radius: 0.3125rem;}
.why .pictures, .about-us .pictures, .product-detail .pic figcaption {font-size: 0.8rem;text-align: center;margin-top: 0.25rem;color: #555;}
.product-detail .specifications ul,
.product-detail .shipping-info ul,
.product-detail .shipment-advice ul,
.product-detail .regular-size ul {margin: 0;padding-left: 1.2rem;}
.product-detail li + li {margin-top: 0.25rem;}
.product-detail .regular-size {display: flex;flex-wrap: wrap; align-items: flex-start; gap: 0.25rem;}
.product-detail .regular-size h3 {flex-basis: 100%;margin: 0;}
.product-detail .regular-size ul {flex: 1;margin: 0;padding-left: 1.2rem;}
.product-detail .regular-size figure.regular-book-sizes {flex-shrink: 0;width: 300px; max-width: 100%; margin: 0 auto;}
.product-detail .regular-size figure.regular-book-sizes img {width: 100%;height: auto;display: block;border-radius: 0.3125rem;}
.logo {height: 100%;display: flex;align-items: center;}
.logo a {height: 100%;display: flex;align-items: center;}
.logo img {height: 100%; width: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block;border: 2px solid rgba(255,255,255,0.6);}
.email img{border: none;border-radius: 0.3125rem;vertical-align: middle;max-width: 100%;height: auto;display: inline-block;}
.breadcrumb-wrap {display: flex; font-size: 0.875rem;align-items: center;justify-content: flex-start; gap: 0.5rem;min-width: 0;overflow: hidden;}
.breadcrumb {flex: 1 1 auto;min-width: 0;overflow: hidden; background-color: #E2EBF5;}
.breadcrumb ol {display: flex;flex-wrap: nowrap;align-items: center;margin: 0;padding: 0;list-style: none;min-width: 0;overflow: hidden;}
.breadcrumb li {display: flex;align-items: center;min-width: 0; flex-shrink: 1;}
.breadcrumb li + li::before {content: "/";margin: 0 0.25rem;color: #999;flex-shrink: 0;}
.breadcrumb li:not(:last-child) {flex: 0 0 auto;min-width: 0;}
.breadcrumb li:not(:last-child) a {white-space: nowrap;}
.breadcrumb .current-page {pointer-events: none;color: #333;flex: 1 1 auto;min-width: 0;display: inline-block;white-space: normal; overflow: hidden;text-overflow: ellipsis;white-space: normal; word-break: break-word;overflow-wrap: break-word;display: -webkit-box;-webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.navbar {position: fixed;top: 0;left: 0;width: 100%;height: 2rem;background-color: #00234BBF;box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);z-index: 1000;transform: translateZ(0);will-change: transform;}
.nav-container {width: 75rem;max-width: 100%;height: 100%;margin: 0 auto;display: flex;align-items: center;padding: 0 1.25rem;}
.nav-container .logo img {height: 100%; width: auto;aspect-ratio: 1 / 1; object-fit: cover;border-radius: 50%;}
.nav-menu {list-style: none;display: flex;gap: 1.875rem;margin: 0 0 0 auto; padding: 0;}
.nav-menu li a {color: #FFFF00CC;font-size: 1rem;padding: 0.25rem;transition: color 0.3s ease;}
.nav-menu li a:hover {color: #fff; background-color: #0081C2;}
.nav-hamburger {display: none;flex-direction: column;gap: 0.3125rem;cursor: pointer;padding: 0.5rem;margin-left: auto; }
.nav-hamburger span {display: block;width: 1.5rem;height: 0.125rem;background-color: #ffff00cc;border-radius: 0.0625rem;transition: transform 0.3s ease, opacity 0.3s ease;}
.nav-toggle:checked ~ .navbar .nav-menu {display: flex;}
.nav-toggle:checked ~ .navbar .nav-hamburger span:nth-child(1) {transform: translateY(0.4375rem) rotate(45deg);}
.nav-toggle:checked ~ .navbar .nav-hamburger span:nth-child(2) {opacity: 0;}
.nav-toggle:checked ~ .navbar .nav-hamburger span:nth-child(3) {transform: translateY(-0.4375rem) rotate(-45deg);}
.main-content {width: 100%;max-width: 75rem;margin: 0 auto;padding: 0.3rem;box-sizing: border-box;}
.section {display: flex;align-items: flex-start;gap: 0.25rem;margin-bottom: 0.5rem;}
#wrap {width: 100%;}
.top-blog, .top-company{display: flex;align-items: center;gap: 1.25rem;padding: 0.25rem;}
.top-company {align-items: flex-start;padding-top: 0;}
.top-left {flex: 1;min-width: 0;}
.top-right {flex-shrink: 0;display: flex;align-items: center;gap: 0.75rem;}
.top-blog .top-contact {display: flex;align-items: center;gap: 0.5rem;}
.top-blog .top-link {white-space: nowrap;font-size: 0.875rem;}
.packing {font-size: 1rem;font-weight: bold;}
.company {font-weight: bold;font-size: 1rem;display: block;}
.notice {margin: 0.25rem 0 0 0;font-size: 0.875rem;}
.top-right.com-img {margin: 0;}
.top-right.com-img img {width: 31.25rem; height: 4.375rem; max-width: none;object-fit: cover;}
.hot-line {text-align: right;}
.headline {font-size: 1.125rem;margin: 0;}
#sidebar {width: 11.6875rem;flex-shrink: 0;}
#mainarea {flex: 1;min-width: 0;}
.leftbox-tips .tips-title {text-align: center;background-color: #E2EBF5;color: #000;line-height: 1.875rem;height: 1.875rem;border-radius: 0.3125rem;font-size: 1rem;font-weight: normal;margin: 0 0 0.625rem 0;}
.leftbox-tips .tips-details ul, .faq-nav {list-style: none;padding: 0;margin: 0;}
.leftbox-tips .tips-details li {line-height: 1.875rem;height: 1.875rem;border-bottom: dotted #9DC3D8 1px;overflow: hidden;}
.leftbox-tips .tips-details li a {font-size: 0.875rem;}
.leftbox {width: 11.25rem;flex-shrink: 0;}
.list-title {text-align: center;background-color: #E2EBF5;color: #000;line-height: 1.875rem;height: 1.875rem;border-radius: 0.3125rem;font-size: 1rem;font-weight: normal;margin: 0;}
.list-details {margin-top: 0.625rem;}
.list-details ul {list-style: none;padding: 0;margin: 0;}
.list-details li {line-height: 1.875rem;height: 1.875rem;border-bottom: dotted #9DC3D8 1px;overflow: hidden;}
.list-details li a {font-size: 1rem;}
.rightbox {flex: 1;min-width: 0;}
.rightbox-company {display: flex;gap: 0.25rem;align-items: flex-start;}
.profile {flex: 1;min-width: 0;}
.company-profile dl {margin: 0;}
.profile-gallery {position: relative;width: 100%;aspect-ratio: 600 / 220;}
.profile-gallery .slide {position: absolute;inset: 0;margin: 0;opacity: 0;visibility: hidden;transition: opacity 0.25s ease;z-index: 0;}
.profile-gallery .slide img {width: 100%;height: 100%;object-fit: cover;display: block;border-radius: 0.3125rem;}
.profile-gallery .slide.default {opacity: 1;visibility: visible;z-index: 1;}
.profile-gallery .slide:target {opacity: 1;visibility: visible;z-index: 2;}
.profile-gallery:has(.slide:target) .slide.default {opacity: 0;visibility: hidden;z-index: 0;}
.profile-gallery .slide {transition: opacity 0.25s ease, visibility 0.25s ease;}
.profile-tabs {display: flex;flex-wrap: wrap;gap: 0.5rem;margin-bottom: 0.25rem;}
.profile-tabs .tab {background: #E2EBF5;padding: 0.25rem 1.5rem;border-radius: 0.3125rem;font-size: 0.875rem;}
.profile-tabs .tab.active {background: #355C95;color: #fff;}
.profile-gallery .slide.active {opacity: 1;visibility: visible;z-index: 1;}
.profile-gallery {position: relative;width: 100%;aspect-ratio: 600 / 220;}
.profile-gallery .slide {position: absolute;inset: 0;margin: 0;opacity: 0;visibility: hidden;transition: opacity 0.25s ease;}
.profile-gallery .slide img {width: 100%;height: 100%;object-fit: cover;display: block;border-radius: 0.3125rem;}
.profile-gallery .slide figcaption {position: absolute;left: 0.5rem;bottom: 0.5rem;background: #00000099;color: #fff;font-size: 0.75rem;padding: 0.125rem 0.5rem;border-radius: 0.25rem;}
.profile-gallery .slide.default, .profile-gallery .slide:target {opacity: 1;visibility: visible;z-index: 1;}
.profile-gallery:has(.slide:target) .slide.default {opacity: 0;visibility: hidden;}
.printing-faq {width: 25.9375rem;flex-shrink: 0;}
.printing-faq .title-faq {background-color: #E2EBF5;color: #000;text-align: center;line-height: 1.875rem;height: 1.875rem;border-radius: 0.3125rem;font-size: 1rem;font-weight: normal;margin: 0 0 0.625rem 0;}
.printing-faq .content ul {list-style: none;padding: 0;margin: 0;}
.printing-faq .content li {line-height: 1.875rem;height: 1.875rem;border-bottom: dotted #9DC3D8 1px;overflow: hidden;}
.printing-faq .content li a {font-size: 0.875rem;}
.hamburger {display: none;align-items: center;gap: 0.5rem;background: #E2EBF5;color: #000;border-radius: 0.3125rem;padding: 0.5rem 0.75rem;font-size: 1rem;cursor: pointer;width: 100%;user-select: none;}
.hamburger-icon {display: inline-flex;flex-direction: column;gap: 0.25rem;}
.hamburger-icon span {display: block;width: 1.25rem;height: 0.125rem;background-color: #000;border-radius: 0.0625rem;transition: transform 0.3s ease, opacity 0.3s ease;}
.hamburger-text {font-weight: bold;}
.product-toggle:checked ~ .list-details {display: block;}
.product-toggle:checked ~ .hamburger .hamburger-icon span:nth-child(1) {transform: translateY(0.375rem) rotate(45deg);}
.product-toggle:checked ~ .hamburger .hamburger-icon span:nth-child(2) {opacity: 0;}
.product-toggle:checked ~ .hamburger .hamburger-icon span:nth-child(3) {transform: translateY(-0.375rem) rotate(-45deg);}
.product {margin-bottom: 0.625rem;}
.product .title {background-color: #E2EBF5;border-radius: 0.3125rem;height: 1.875rem;line-height: 1.875rem;padding-left: 0.3125rem;font-size: 1rem;font-weight: normal;display: flex;align-items: center;justify-content: space-between;margin: 0 auto;}
.product .more a {font-size: 0.875rem;}
.product-grid {display: grid;grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));gap: 0.15rem;margin-top: 0.625rem;}
.product-item {text-align: center;}
.product-item figure {margin: 0;}
.product-item img {width: 9.875rem;height: 9.875rem;margin: 0 auto;}
.product-item figcaption {margin-top: 0.375rem;font-size: 0.875rem;}
.product-item figcaption a {color: #555;}
.product-item figcaption a:hover {color: #0081C2;}
.pagination {display: flex;justify-content: flex-end;align-items: center;gap: 0.5rem;list-style: none;margin: 1rem 0 0 auto;padding: 0;flex-wrap: wrap; max-width: 100%;}
.pagination li {display: inline-flex;align-items: center;}
.pagination a.page-btn {display: inline-block;padding: 0.25rem 0.75rem;border-radius: 0.25rem;font-size: 0.875rem;color: #333;background-color: #E2EBF5;transition: background-color 0.2s ease, color 0.2s ease;}
.pagination a.page-btn:hover {background-color: #0081C2;color: #fff;}
.pagination .pages {display: inline-block;padding: 0.25rem 0.75rem;border-radius: 0.25rem;font-size: 0.875rem;color: #999;background-color: #f1f1f1;pointer-events: none;}
.pagination .pages.total {background-color: transparent;color: #666;}
#contact {flex-direction: column;}
.contact-information {font-size: 0.875rem;line-height: 1.8;display: flex;align-items: center;gap:1rem;}
#footer {margin-top: 1.25rem;padding-top: 1.25rem;border-top: 1px solid #ddd;}
.fd-link a {display: inline-block;margin: 0 0.625rem 0.375rem 0;font-size: 0.875rem;}
.yellowprinting-com-copyright {margin-top: 0.625rem;font-size: 0.75rem;color: #666;}
.inquiry{margin: 10px auto;box-shadow:3px 3px 10px rgba(25,105,213,0.5);cursor:pointer;display:block;width:100%;color:#FFFF00;background-color:#0081C2;border:1px solid #498FFC;padding:10px;}
textarea{width:100%;line-height:1.5;padding:10px;box-sizing:border-box;background:#F8F8F6;border-radius:5px;}
input{max-width: 300px;display: inline-block;box-sizing: border-box;background:#F8F8F6;border-radius:5px;}
.product-info {padding: 0 3.5rem;box-sizing: border-box;}
.article-info, .quote, .review-info, .about-us, .contact-info, .why-us, .faq-list {padding: 0 6.5rem;box-sizing: border-box; text-align: justify;}
.companyprofile, .why, .contactus, .products, .printingfaq, .articles, .printingrfq, .customerreviews {background-image:url("/book.jpg");background-repeat: repeat-y;}
.allproducts, .faqs, .rfq, .qa {font-size: 0.875rem;text-align: center; margin: 0 auto;}
.whyus-header, .contact-header, .profile-header, .article-detail .article-header h1, h2 {font-size: 1.25rem;line-height: 1.4;margin: 0.5rem 5rem;text-align: center;}
.customer {font-size: 1rem; margin: 0 auto; } 
.time, .glossary {margin: 0 auto;} .question, .answer {margin: 0;}
.faq-nav li {max-width: 50rem; white-space: normal;overflow: visible;text-overflow: clip;border-bottom: #09C dashed 1px;}
.faq-nav li a {cursor: pointer;}
@media (max-width: 48rem) {	
.pagination {gap: 0.375rem;margin-top: 0.75rem;}
.pagination a.page-btn,
.pagination .pages {padding: 0.25rem 0.6rem;font-size: 0.8125rem;} 
.faq-nav li {max-width: none; }
.whyus-header, .contact-header,.profile-header h1  {font-size: 0.875rem;line-height: 1.4;margin: 0.5rem;}
.profile-header, .product-detail .product-header h1, .article-detail .article-header h1 {font-size: 0.875rem;line-height: 1.4;margin: 0 2.5rem;}
.customer, .product-detail h2.product-title , .article-info h2 {font-size: 0.875rem;margin: 0 auto;}
.product-detail .product-meta dt, .article-detail .article-meta dt {font-weight: bold;font-size: 0.875rem;color: #333;}
.product-detail .regular-size {flex-direction: column;align-items: stretch;}
.product-detail .regular-size figure.size {width: 100%;max-width: 320px;margin: 0 auto;}
.company, .headline {font-weight: bold;font-size: 0.875rem;display: block; margin: 0;}
.breadcrumb-wrap {flex-wrap: wrap;}
.breadcrumb {flex-basis: 100%;max-width: 100%;}
.breadcrumb .current-page {max-width: 15rem;}
.nav-hamburger {display: flex;}
.nav-menu {display: none;position: absolute;top: 2rem;left: 0;width: 100%;background: #00000099;flex-direction: column;gap: 0;padding: 0.5rem 0;text-align: center;}
.nav-menu li {padding: 0.5rem 0;}
.section {flex-direction: column;gap: 0.75rem;}
.top-blog {display: none;}
.com-img {display: none;}
.notice {display: none;}
#section2 {display: none;}
.leftbox, #sidebar {width: 100%;}
.hamburger {display: flex;}
.list-details {display: none;}
.list-title {display: none;}
.product-grid {grid-template-columns: repeat(4, 1fr);gap: 0.5rem;}
.product-item img {width: 100%;height: auto;}
@media (max-width: 23.4375rem) {
.product-grid {grid-template-columns: repeat(4, 1fr);gap: 0.5rem;}}
@media (min-width: 25.875rem) {
.product-grid {grid-template-columns: repeat(5, 1fr);gap: 0.5rem;}}
@media (min-width: 30rem) {
.product-grid {grid-template-columns: repeat(6, 1fr);gap: 0.5rem;}}
@media (min-width: 40rem) {
.product-grid {grid-template-columns: repeat(7, 1fr);gap: 0.5rem;}}
.product-item img {width: 100%;height: auto;}}
@media (prefers-color-scheme: dark) {
body {background-color: #1a1a1a;color: #e0e0e0;}
.logo img {border-color: rgba(0,0,0,0.4);}
.navbar {background-color: #000000ee;}
.nav-menu li a {color: #FFD700;}
.nav-menu li a:hover {color: #5dade2;}
.nav-hamburger span {background-color: #FFD700;}
.top {background-color: #2a2a2a;}
.list-title, .tips-title, .printing-faq .title-faq, .profile-tabs .tab {background-color: #4a7ab5;color: #fff;}
.product .title {background-color: #2a2a2a;color: #e0e0e0;}
.product-item figcaption a {color: #bbb;}
.product-item figcaption a:hover {color: #5dade2;}
a {color: #e0e0e0;}
a:hover {color: #5dade2;}
#footer {border-top-color: #444;}
.yellowprinting-com-copyright {color: #999;}}
@media (max-width: 48rem) {
.product-info {margin: 0;padding: 0 2.5rem;box-sizing: border-box;}
.article-info, .quote, .review, .about-us, .review-info, .contact-info, .why-us, .faq-list {padding: 0 2.75rem;box-sizing: border-box; text-align: justify;}
.product-detail > * , .article-detail > *, .review-detail > * {min-width: 0;}
.product-main-pic {max-width: 100%;padding: 0 2.75rem;}
.product-detail .pic , .article-detail .art-pic,.why-us .eqpt-pic {grid-template-columns: 1fr;}
.product-detail .regular-size figure.regular-book-sizes {width: 100% !important;max-width: 320px;margin: 0 auto;}
.product-detail .product-meta dd, .article-detail .article-meta dd {word-break: break-word;}}