:root {
--primary-color: #4dabf7; --primary-hover-color: #339af0; --background-color: #f8f9fa; --text-color: #495057; --border-color: #e9ecef; --shadow: 0 4px 15px rgba(0, 0, 0, 0.1); --border-radius: 16px; --transition: all 0.3s ease; }
.article-summary {
width: auto; max-width: 100%; padding: 20px;
margin-bottom: 30px;
background-color: #e0e0e0; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.article-summary:hover {
background-color: #f0f0f0; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.article-summary h3 {
margin-top: 0;
color: #333; font-size: 1.5em;
font-weight: bold;
border-bottom: 2px solid #4CAF50; padding-bottom: 10px;
text-align: left; }
.article-summary p {
margin: 15px 0 0;
color: #666; line-height: 1.6;
font-size: 1em;
text-align: justify;
}
.source-link {
margin-top: 15px;
font-size: 0.9em;
color: #777;
text-align: left;
}
.source-link a {
color: #3498db; text-decoration: none;
border-bottom: 1px dotted #3498db;
transition: border-bottom 0.3s ease, color 0.3s ease;
}
.source-link a:hover {
border-bottom-style: solid;
color: #2196F3; } #ai-interaction-window {
width: 320px;
height: 420px; background-color: var(--background-color);
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
box-shadow: var(--shadow);
position: fixed;
bottom: 20px;
right: 20px;
z-index: 10000;
transition: var(--transition);
font-family: 'Inter', sans-serif; overflow: hidden;
} @media (max-width: 600px) {
#ai-interaction-window {
display: none; }
#ai-minimized-icon {
display: block; }
} .ai-header {
background-color: var(--primary-color); color: #fff;
padding: 14px 16px;
border-radius: var(--border-radius) var(--border-radius) 0 0;
cursor: move;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .ai-title {
margin: 0;
font-size: 16px; font-weight: 600; line-height: 1.5; color: #fff; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); text-align: left;
padding-left: 12px; flex: 1;
transition: color 0.3s, text-shadow 0.3s; } .ai-header .btn-container {
display: flex;
gap: 8px; } .ai-header .close-btn,
.ai-header .minimize-btn {
font-size: 14px;
cursor: pointer;
width: 28px;
height: 28px;
border-radius: 50%; background-color: rgba(255, 255, 255, 0.1); color: #fff;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
} .ai-header .close-btn:hover,
.ai-header .minimize-btn:hover {
background-color: rgba(255, 255, 255, 0.2); transform: scale(1.1); } .ai-header .close-btn::after {
content: '×'; font-size: 18px;
line-height: 1;
} .ai-header .minimize-btn::after {
content: '−'; font-size: 18px;
line-height: 1;
} .ai-body {
padding: 16px;
height: calc(100% - 60px); overflow-y: auto;
background-color: #fff;
} #chat-container {
height: 100%;
display: flex;
flex-direction: column;
} #chat-messages {
flex: 1;
overflow-y: auto;
padding: 10px;
border-bottom: 1px solid var(--border-color);
} .ai-message, .user-message {
padding: 12px 16px;
margin-bottom: 12px;
border-radius: 12px;
font-size: 14px;
max-width: 80%; position: relative;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ai-message {
background-color: #fff; border: 1px solid var(--border-color);
color: var(--text-color);
align-self: flex-start; box-shadow: var(--shadow);
border-radius: 12px 12px 12px 0;
}
.user-message {
background-color: var(--primary-color); color: #fff;
align-self: flex-end; box-shadow: 0 4px 12px rgba(77, 171, 247, 0.2);
border-radius: 12px 12px 0 12px;
} .user-message::after {
content: '';
position: absolute;
right: -8px;
top: 12px;
border-width: 6px 0 6px 8px;
border-color: transparent transparent transparent var(--primary-color);
}
.ai-message::before {
content: '';
position: absolute;
left: -8px;
top: 12px;
border-width: 6px 8px 6px 0;
border-color: transparent var(--border-color) transparent transparent;
} .ai-message:hover,
.user-message:hover {
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
} .timestamp {
font-size: 0.75em;
color: #666;
margin-top: 4px;
display: block;
text-align: right;
} .input-container {
display: flex;
padding: 12px;
gap: 12px;
background-color: #fff;
border-top: 1px solid var(--border-color);
} #ai-input {
flex: 1;
padding: 12px 16px;
border: 1px solid var(--border-color);
border-radius: 12px;
font-size: 14px;
outline: none;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
background-color: #fff;
}
#ai-input:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
} #send-message {
padding: 12px 20px;
background-color: var(--primary-color);
color: #fff;
border: none;
border-radius: 12px;
cursor: pointer;
font-size: 14px;
transition: var(--transition);
display: flex;
align-items: center;
justify-content: center;
}
#send-message:hover {
background-color: var(--primary-hover-color);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(77, 171, 247, 0.2);
} .loading-message {
font-style: italic;
color: #666;
text-align: center;
margin: 10px 0;
} #ai-minimized-icon {
position: fixed; bottom: 20px;
right: 20px;
cursor: pointer;
z-index: 10000;
transition: var(--transition);
display: none; }
#ai-minimized-icon img {
width: 40px;
height: 40px;
border-radius: 50%;
box-shadow: var(--shadow);
}.naibabiji-b2b-products-taxonomy-container,
.naibabiji-b2b-products-archive-container {
max-width: 1290px;
margin: 40px auto;
padding: 40px;
background-color: #ffffff;
} .naibabiji-b2b-taxonomy-header {
margin-bottom: 30px;
text-align: center;
}
.naibabiji-b2b-product-header {
margin-bottom: 20px;
}
.naibabiji-b2b-taxonomy-title {
font-size: 32px;
color: #333333;
margin-bottom: 15px;
}
.naibabiji-b2b-taxonomy-description {
color: #666666;
line-height: 1.6;
margin-bottom: 20px;
}
.naibabiji-b2b-product-short-description {
color: #666666;
line-height: 1.6;
margin-bottom: 30px;
flex-grow: 1;
} .naibabiji-b2b-seo-content {
margin: 30px 0;
padding: 20px;
background-color: #f9f9f9;
border-radius: 8px;
line-height: 1.8;
color: #333333;
}
.naibabiji-b2b-seo-content h2,
.naibabiji-b2b-seo-content h3,
.naibabiji-b2b-seo-content h4 {
margin-top: 20px;
margin-bottom: 15px;
color: #222222;
}
.naibabiji-b2b-seo-content p {
margin-bottom: 15px;
}
.naibabiji-b2b-seo-content img {
max-width: 100%;
height: auto;
border-radius: 4px;
margin: 15px 0;
}
.naibabiji-b2b-seo-content ul,
.naibabiji-b2b-seo-content ol {
margin: 15px 0;
padding-left: 20px;
}
.naibabiji-b2b-seo-content a {
color: #0066cc;
text-decoration: none;
transition: color 0.3s ease;
}
.naibabiji-b2b-seo-content a:hover {
color: #0052a3;
text-decoration: underline;
} @media screen and (max-width: 768px) {
.naibabiji-b2b-seo-content {
margin: 20px 0;
padding: 15px;
}
.naibabiji-b2b-seo-content h2,
.naibabiji-b2b-seo-content h3,
.naibabiji-b2b-seo-content h4 {
font-size: 18px;
margin-top: 15px;
margin-bottom: 10px;
}
.naibabiji-b2b-seo-content p {
font-size: 14px;
margin-bottom: 10px;
}
.naibabiji-b2b-seo-content img {
margin: 10px 0;
}
.naibabiji-b2b-seo-content ul,
.naibabiji-b2b-seo-content ol {
margin: 10px 0;
padding-left: 15px;
}
}
@media screen and (max-width: 480px) {
.naibabiji-b2b-seo-content {
margin: 15px 0;
padding: 12px;
}
.naibabiji-b2b-seo-content h2,
.naibabiji-b2b-seo-content h3,
.naibabiji-b2b-seo-content h4 {
font-size: 16px;
}
.naibabiji-b2b-seo-content p {
font-size: 13px;
}
}
.naibabiji-b2b-taxonomy-meta {
color: #888888;
font-size: 14px;
} .naibabiji-b2b-breadcrumbs {
margin-bottom: 30px;
padding: 10px 0;
font-size: 14px;
color: #666666;
}
.naibabiji-b2b-breadcrumbs a {
color: #0066cc;
text-decoration: none;
}
.naibabiji-b2b-breadcrumbs a:hover {
text-decoration: underline;
}
.naibabiji-b2b-breadcrumbs .separator {
margin: 0 8px;
color: #999999;
} .naibabiji-b2b-product-filters {
padding: 20px 0;
} .naibabiji-b2b-products-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-bottom: 40px;
} .naibabiji-b2b-product-card {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
flex-direction: column;
height: 100%;
padding: 20px;
}
.naibabiji-b2b-product-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.naibabiji-b2b-product-thumbnail {
position: relative;
overflow: hidden;
}
.naibabiji-b2b-product-thumbnail img {
width: 100%;
height: auto;
display: block;
object-fit: contain;
}
.naibabiji-b2b-product-summary {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: flex-start;
}
.naibabiji-b2b-product-title {
font-size: 18px;
margin: 0 0 10px;
line-height: 1.4;
}
.naibabiji-b2b-product-title a {
color: #333333;
text-decoration: none;
}
.naibabiji-b2b-product-title a:hover {
color: #0066cc;
}
.naibabiji-b2b-product-excerpt {
color: #666666;
font-size: 14px;
line-height: 1.6;
margin-bottom: 15px;
}
.naibabiji-b2b-product-meta {
font-size: 13px;
color: #888888;
margin-bottom: 0;
margin-top: auto;
}
.naibabiji-b2b-product-category a {
color: #0066cc;
text-decoration: none;
transition: color 0.3s ease;
}
.naibabiji-b2b-product-category a:hover {
color: #0052a3;
text-decoration: underline;
}
.naibabiji-b2b-product-actions {
display: flex;
margin-top: auto;
}
.naibabiji-b2b-view-details-button {
display: inline-block;
padding: 8px 20px;
background-color: #0066cc;
color: #ffffff;
text-decoration: none;
border-radius: 4px;
font-size: 14px;
transition: background-color 0.3s ease;
}
.naibabiji-b2b-view-details-button:hover {
background-color: #0052a3;
color: #ffffff;
} .navigation.pagination {
margin-top: 40px;
text-align: center;
}
.nav-links {
display: inline-flex;
align-items: center;
gap: 5px;
}
.page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 35px;
height: 35px;
padding: 0 5px;
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 4px;
color: #333333;
text-decoration: none;
font-size: 14px;
transition: all 0.3s ease;
}
.page-numbers.current {
background: #0066cc;
border-color: #0066cc;
color: #ffffff;
}
.page-numbers:hover:not(.current) {
background: #f5f5f5;
border-color: #cccccc;
} .naibabiji-b2b-no-products {
text-align: center;
padding: 40px 20px;
background: #f9f9f9;
border-radius: 8px;
}
.naibabiji-b2b-no-products h2 {
color: #333333;
margin-bottom: 15px;
}
.naibabiji-b2b-no-products p {
color: #666666;
margin-bottom: 15px;
}
.naibabiji-b2b-no-products a {
color: #0066cc;
text-decoration: none;
}
.naibabiji-b2b-no-products a:hover {
text-decoration: underline;
} .naibabiji-b2b-product-single-container {
margin: 0 auto;
padding: 40px 0;
width: 100%;
max-width: 1200px;
} .naibabiji-b2b-product-content-wrapper {
margin-top: 60px;
}
.naibabiji-b2b-product-content {
margin: 0 auto;
}
.naibabiji-b2b-product-content-title {
font-size: 28px;
font-weight: 600;
color: #333;
margin-bottom: 30px;
}
.naibabiji-b2b-product-description {
color: #666;
font-size: 16px;
line-height: 1.8;
}
.naibabiji-b2b-product-inquiry {
margin-top: 10px;
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
}
.naibabiji-b2b-inquiry-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 12px 24px;
background: #007bff;
color: #fff;
border-radius: 4px;
font-size: 16px;
font-weight: 500;
text-decoration: none;
transition: all 0.2s ease;
}
.naibabiji-b2b-inquiry-button:hover {
background: #0056b3;
color: #fff;
text-decoration: none;
transform: translateY(-1px);
}
.naibabiji-b2b-button-icon {
margin-right: 8px;
font-size: 18px;
}
.naibabiji-b2b-product-main.woocommerce-style {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
margin-bottom: 60px;
} .naibabiji-b2b-product-images {
position: relative;
}
.naibabiji-b2b-product-featured-image {
margin-bottom: 20px;
border: 1px solid #e5e5e5;
border-radius: 4px;
overflow: hidden;
}
.naibabiji-b2b-featured-image-wrapper {
position: relative;
text-align: center;
}
.naibabiji-b2b-featured-image {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
} .naibabiji-b2b-gallery-thumbnails {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
position: relative;
} .naibabiji-b2b-gallery-slider {
position: relative;
overflow: hidden;
width: 100%;
} .naibabiji-b2b-gallery-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 30px;
height: 30px;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #ddd;
border-radius: 50%;
font-size: 0;
line-height: 0;
text-align: center;
cursor: pointer;
z-index: 10;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
display: flex;
align-items: center;
justify-content: center;
}
.naibabiji-b2b-gallery-nav::before {
content: '';
display: block;
width: 8px;
height: 8px;
border-style: solid;
border-width: 2px 2px 0 0;
border-color: #666;
position: absolute;
top: 50%;
left: 50%;
}
.naibabiji-b2b-gallery-nav.prev::before {
transform: translate(-25%, -50%) rotate(-135deg);
}
.naibabiji-b2b-gallery-nav.next::before {
transform: translate(-75%, -50%) rotate(45deg);
}
.naibabiji-b2b-gallery-nav.prev {
left: 5px;
}
.naibabiji-b2b-gallery-nav.next {
right: 5px;
}
.naibabiji-b2b-gallery-nav:hover {
background: rgba(255, 255, 255, 1);
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}
.naibabiji-b2b-gallery-nav:hover::before {
border-color: #333;
}
.naibabiji-b2b-gallery-nav:disabled {
opacity: 0.5;
cursor: not-allowed;
box-shadow: none;
}
.naibabiji-b2b-gallery-slider {
overflow: hidden;
}
.naibabiji-b2b-gallery-thumb {
position: relative;
border: 1px solid #e5e5e5;
border-radius: 4px;
cursor: pointer;
overflow: hidden;
text-align: center;
height: auto;
}
.naibabiji-b2b-gallery-thumb.active {
border-color: #007bff;
}
.naibabiji-b2b-thumb-image {
max-width: 100%;
max-height: 100%;
display: block;
margin: 0 auto;
object-fit: contain;
} .naibabiji-b2b-product-summary {
display: flex;
flex-direction: column;
gap: 20px;
}
.naibabiji-b2b-product-header {
margin-bottom: 20px;
}
.naibabiji-b2b-product-title {
font-size: 32px;
font-weight: 600;
color: #333;
margin: 0 0 20px;
line-height: 1.2;
}
.naibabiji-b2b-product-short-description {
color: #666;
font-size: 16px;
line-height: 1.6;
} .naibabiji-b2b-product-meta {
display: flex;
gap: 20px;
font-size: 14px;
color: #666;
margin-bottom: 20px;
}
.naibabiji-b2b-related-products {
margin-top: 60px;
background: #f8f9fa;
border-radius: 12px;
}
.naibabiji-b2b-related-products h2 {
font-size: 28px;
font-weight: 600;
color: #333;
margin-bottom: 30px;
text-align: center;
}
.naibabiji-b2b-products-grid.naibabiji-b2b-columns-4 {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}
.naibabiji-b2b-product-categories a,
.naibabiji-b2b-product-tags a {
color: #007bff;
text-decoration: none;
}
.naibabiji-b2b-product-categories a:hover,
.naibabiji-b2b-product-tags a:hover {
text-decoration: underline;
} @media (max-width: 1024px) {
.naibabiji-b2b-products-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.naibabiji-b2b-taxonomy-title {
font-size: 28px;
}
.naibabiji-b2b-products-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.naibabiji-b2b-product-info {
padding: 15px;
}
.naibabiji-b2b-product-content {
padding: 0 20px;
}
.naibabiji-b2b-product-content-title {
font-size: 24px;
margin-bottom: 20px;
}
.naibabiji-b2b-product-description {
font-size: 15px;
} .naibabiji-b2b-product-main.woocommerce-style {
grid-template-columns: 1fr;
gap: 30px;
}
.naibabiji-b2b-product-single-container {
padding: 20px 15px;
}
.naibabiji-b2b-product-title {
font-size: 24px;
margin-bottom: 15px;
} .naibabiji-b2b-gallery-thumbnails {
display: flex;
flex-wrap: nowrap;
gap: 10px;
justify-content: flex-start;
margin-top: 15px;
overflow-x: hidden;
position: relative !important;
padding: 0; margin-bottom: 0; }
.naibabiji-b2b-gallery-thumb {
width: calc(25% - 8px);
margin-bottom: 0; flex: 0 0 auto;
height: auto; position: relative;
}
.naibabiji-b2b-gallery-thumb img {
max-width: 100%;
max-height: 100%;
display: block;
margin: 0 auto;
object-fit: contain;
}
.naibabiji-b2b-gallery-nav {
width: 25px;
height: 25px;
font-size: 18px;
line-height: 22px;
}
.naibabiji-b2b-related-products {
padding: 20px 15px;
margin-top: 40px;
}
.naibabiji-b2b-products-grid.naibabiji-b2b-columns-4 {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.naibabiji-b2b-products-grid {
grid-template-columns: 1fr;
}
.naibabiji-b2b-taxonomy-title {
font-size: 24px;
}
.naibabiji-b2b-product-title {
font-size: 20px;
}
.naibabiji-b2b-product-meta {
flex-direction: column;
gap: 10px;
} .naibabiji-b2b-gallery-thumb {
width: calc(33.33% - 7px);
}
.naibabiji-b2b-gallery-nav {
width: 22px;
height: 22px;
font-size: 16px;
line-height: 20px;
}
.naibabiji-b2b-product-inquiry {
padding: 15px;
}
.naibabiji-b2b-inquiry-button {
width: 100%;
padding: 10px;
}
.naibabiji-b2b-products-grid.naibabiji-b2b-columns-4 {
grid-template-columns: 1fr;
gap: 15px;
}
.naibabiji-b2b-related-products {
padding: 15px 10px;
}
.naibabiji-b2b-related-products h2 {
font-size: 20px;
margin-bottom: 20px;
}
}