/*
Theme Name: L-LINKE Replica
Theme URI: https://www.l-linke.net/
Author: WP Dev
Description: High-fidelity WordPress replica of https://www.l-linke.net/ — L-LINKE Communication (Guangdong) Co., Ltd. B2B cable manufacturer site. Products are managed with WooCommerce, news with WordPress posts, inquiries are stored as a custom post type.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: llinke
*/

/* ============================================================
   L-LINKE replica adjustments on top of the original template CSS
   ============================================================ */

/* Font family name used by the original template */
@font-face {
	font-family: 'opensans';
	src: url('assets/font/opensans.eot');
	src: url('assets/font/opensans.eot?#iefix') format('embedded-opentype'),
	url('assets/font/opensans.woff2') format('woff2'),
	url('assets/font/opensans.woff') format('woff'),
	url('assets/font/opensans.ttf') format('truetype'),
	url('assets/font/opensans.svg') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

body { font-family: 'opensans', Arial, Helvetica, sans-serif; }

/* WordPress/WooCommerce alignment */
.aligncenter { display:block; margin: 10px auto; }
.alignleft { float:left; margin: 0 15px 10px 0; }
.alignright { float:right; margin: 0 0 10px 15px; }
.alignwide, .alignfull { max-width: 100%; }

/* Product detail content images */
#Descrip img { max-width: 100%; height: auto; margin: 10px auto; }
#Descrip table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
#Descrip table td, #Descrip table th { border: 1px solid #d8d8d8; padding: 6px 10px; }
#Descrip h4 { font-size: 16px; font-weight: bold; padding: 10px 0; }
.news-detail-body p { margin-bottom: 14px; line-height: 1.9; }
.news-detail-body img { max-width: 100%; height: auto; }

/* Inquiry messages */
.ll-inquiry-msg { padding: 12px 16px; margin-bottom: 16px; border-radius: 3px; font-size: 14px; }
.ll-inquiry-msg.ok { background: #eef9ec; border: 1px solid #54a522; color: #3d7a18; }
.ll-inquiry-msg.err { background: #fdecea; border: 1px solid #cb2027; color: #a5171d; }

/* Sidebar active state */
.product-nav li.on > a, .product-nav li.current-cat > a { color: #007fff; }

/* Pagination current page */
.page > span.current, .page > .current {
	display: inline-block;
	min-width: 30px; height: 30px; line-height: 30px; text-align: center;
	background: #007fff; color: #fff; margin: 0 3px;
}

/* hide empty gallery scroll bar glitches */
.image-additional ul { white-space: nowrap; overflow-x: auto; }
.image-additional li { display: inline-block; width: 78px; margin-right: 8px; vertical-align: top; }
.image-additional li img { width: 100%; border: 1px solid #eee; }
.image-additional li.current img { border-color: #007fff; }

/* products header h1 spacing in categories */
.catgiaydeil h1 { font-size: 22px; color: #003079; margin-bottom: 12px; }

/* search results title */
.classes h1 { margin-bottom: 18px; }

/* contact page info */
.class-content .contact p { margin-bottom: 8px; line-height: 1.9; }

/* mobile menu button */
.btn-menu { display: none; }

/* WooCommerce breadcrumb & notices hidden (theme renders its own) */
.woocommerce-breadcrumb, .woocommerce-result-count, .woocommerce-ordering { display: none !important; }

/* gallery zoom cursor */
.cloud-zoom { cursor: crosshair; display:block; }

/* prev-next on news */
.prev-next { overflow: hidden; padding: 20px 0; margin-top: 20px; border-top: 1px solid #eee; }
.prev-news, .next-news { width: 50%; float: left; font-size: 14px; }
.next-news { text-align: right; }
.prev-news a, .next-news a { color: #007fff; }
.date { color: #888; font-size: 13px; margin-bottom: 15px; }
.date i { color: #007fff; font-style: normal; margin-right: 4px; }
