
/* ========================================
   Header Height Overrides - Force 30px
   ======================================== */
.ht-header-top {
    height: 30px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 30px !important;
    background: #f5f5f5 !important;
}

.ht-header-top .ht-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    gap: 8px !important;
}

.ht-company-name, .ht-header-top .ht-contact-info {
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* ========================================
   Products Page Styles
   ======================================== */
.ht-page-header {
    position: relative;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-accent);
    color: var(--color-white);
    text-align: center;
}
.ht-page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent) 0%, #2d3748 100%);
    z-index: 0;
}
.ht-page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.ht-page-header-content {
    position: relative;
    z-index: 1;
}
.ht-page-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}
.ht-page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}
/* Global: Hide breadcrumb navigation across all pages */
.ht-breadcrumb,
.ht-product-breadcrumb,
.ht-bp-breadcrumb {
    display: none !important;
}

.ht-section {
    padding: var(--spacing-2xl) 0;
}
.ht-product-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}
.ht-filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.ht-filter-label {
    font-weight: 500;
    color: var(--color-gray-700);
}
.ht-filter-buttons {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}
.ht-filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    color: var(--color-gray-700);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.ht-filter-btn:hover, .ht-filter-btn.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.ht-filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    background: var(--color-white);
    min-width: 150px;
}

.ht-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}
.ht-product-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid var(--color-gray-100);
    display: flex;
    flex-direction: column;
}
.ht-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.ht-product-image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--color-gray-100);
}
.ht-product-image, .ht-product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ht-product-card:hover .ht-product-image {
    transform: scale(1.05);
}
.ht-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
}
.ht-product-tags {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 2;
}
.ht-product-tag {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}
.ht-product-actions {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-fast);
}
.ht-product-card:hover .ht-product-actions {
    opacity: 1;
    transform: translateY(0);
}
.ht-product-action-btn {
    width: 36px;
    height: 36px;
    background: var(--color-white);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}
.ht-product-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.ht-product-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.ht-product-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--color-gray-500);
}
.ht-product-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}
.ht-product-title a {
    color: var(--color-dark);
}
.ht-product-title a:hover {
    color: var(--color-primary);
}
.ht-product-subtitle {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-sm);
}
.ht-product-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}
.ht-product-footer {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: auto;
}
.ht-product-btn, .ht-product-inquiry-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 4px;
    text-align: center;
    flex: 1;
}
.ht-product-btn {
    background: var(--color-gray-100);
    color: var(--color-dark);
}
.ht-product-btn:hover {
    background: var(--color-gray-200);
}
.ht-product-inquiry-btn {
    background: var(--color-primary);
    color: var(--color-white);
}
.ht-product-inquiry-btn:hover {
    background: var(--color-primary-dark);
}

.ht-products-pagination {
    margin-top: var(--spacing-2xl);
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}
.ht-products-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    color: var(--color-gray-700);
    transition: var(--transition-fast);
}
.ht-products-pagination .page-numbers.current,
.ht-products-pagination .page-numbers:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ========================================
   Single Product Page Styles
   ======================================== */
.ht-product-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    background-color: var(--color-white);
}
.ht-product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}
@media (max-width: 992px) {
    .ht-product-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Homepage News & Contact Polish
   ======================================== */
.page-template-home .news {
    padding: 96px 0 110px;
}

.page-template-home .news-header {
    align-items: center;
    margin-bottom: 42px;
}

.page-template-home .news-header h2 {
    color: #163250;
    font-size: clamp(2rem, 3vw, 3rem);
}

.page-template-home .news-card {
    background: #ffffff;
    border: 1px solid #e8edf4;
    box-shadow: 0 18px 50px rgba(18, 39, 63, 0.08);
}

.page-template-home .news .reveal,
.page-template-home .news .reveal.active {
    opacity: 1 !important;
    transform: none !important;
}

.page-template-home .news-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 17, 27, 0.02) 0%, rgba(10, 17, 27, 0.14) 100%);
    pointer-events: none;
}

.page-template-home .news-card-content {
    padding: 24px 24px 28px;
}

.page-template-home .news-card-date {
    color: #8c99aa;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-template-home .news-card-title {
    min-height: 3.2em;
    color: #17304d;
    line-height: 1.4;
}

.page-template-home .news-card-title a {
    color: inherit;
}

.page-template-home .news-card-excerpt {
    color: #617187;
    line-height: 1.75;
}

.page-template-home .contact {
    min-height: 720px;
}

.page-template-home .contact-info {
    padding: 64px 72px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #2d3748 100%);
}

.page-template-home .contact-info h2 {
    color: #ffffff;
}

.page-template-home .contact-info p {
    color: rgba(255, 255, 255, 0.76);
}

.page-template-home .contact-details li {
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.8;
}

.page-template-home .contact-form-wrapper {
    padding: 64px 72px;
}

.page-template-home .contact-form-wrapper h3 {
    color: #17304d;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.page-template-home .ht-contact-form input,
.page-template-home .ht-contact-form textarea {
    border: 1px solid #dce4ee !important;
    border-radius: 12px !important;
    padding: 1rem 1.05rem !important;
    box-shadow: none !important;
}

.page-template-home .ht-contact-form input:focus,
.page-template-home .ht-contact-form textarea:focus {
    outline: none;
    border-color: #c41230 !important;
    box-shadow: 0 0 0 4px rgba(196, 18, 48, 0.08) !important;
}

.page-template-home .ht-contact-form button.btn-primary {
    background: #c41230 !important;
    border: 0 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    min-height: 54px;
    box-shadow: 0 14px 30px rgba(196, 18, 48, 0.22);
}

.page-template-home .ht-contact-form button.btn-primary:hover {
    background: #9a0e26 !important;
}

@media (max-width: 992px) {
    .page-template-home .contact-info,
    .page-template-home .contact-form-wrapper {
        padding: 40px 28px;
    }
}
.ht-product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.ht-product-main-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ht-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ht-product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}
.ht-product-thumbnail {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    aspect-ratio: 1/1;
}
.ht-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ht-product-thumbnail.active,
.ht-product-thumbnail:hover {
    border-color: var(--color-primary);
}
.ht-product-info {
    display: flex;
    flex-direction: column;
}
.ht-product-breadcrumb {
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-gray-500);
}
.ht-product-breadcrumb a {
    color: var(--color-gray-600);
}
.ht-product-breadcrumb a:hover {
    color: var(--color-primary);
}
.ht-product-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}
.ht-product-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
}
.ht-product-specs-quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-gray-100);
    border-radius: 8px;
}
.ht-spec-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.ht-spec-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.ht-spec-content {
    display: flex;
    flex-direction: column;
}
.ht-spec-label {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ht-spec-value {
    font-weight: 500;
    color: var(--color-dark);
}
.ht-product-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}
.ht-product-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-fast);
}
.ht-product-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-gray-200);
}
.ht-share-buttons {
    display: flex;
    gap: var(--spacing-sm);
}
.ht-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    transition: var(--transition-fast);
}
.ht-share-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Tabs */
.ht-product-tabs {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: visible;
}
.ht-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-white) !important; /* Fixed: forced white background to prevent overlapping issues */
    overflow-x: auto;
    position: sticky;
    top: 80px; /* Height of the main header */
    z-index: 999; /* Increased z-index to cover all content below */
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Added slight shadow to separate from scrolling content */
}
.admin-bar .ht-tabs-nav {
    top: 112px; /* 80px + 32px WP Admin Bar */
}
@media screen and (max-width: 782px) {
    .admin-bar .ht-tabs-nav {
        top: 126px; /* 80px + 46px Mobile WP Admin Bar */
    }
}
.ht-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 10px 0 10px 10px;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
    color: #516074;
    border: 1px solid #d5deea;
    border-bottom: 1px solid #d5deea;
    border-radius: 999px;
    background: #f8fbff;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ht-tab-link.active,
.ht-tab-link:hover {
    color: #fff;
    border-color: #2d579a;
    background: #2d579a;
    box-shadow: 0 10px 24px rgba(45, 87, 154, 0.18);
}
.ht-tabs-content {
    padding: 0 var(--spacing-md);
}

@media screen and (max-width: 768px) {
    .ht-tabs-content {
        padding: 0 var(--spacing-sm);
    }
}

/* ── FAQ Accordion Styles ── */

.ht-product-faq h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #1a365d;
    font-weight: 700;
}

.ht-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ht-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ht-faq-item:hover {
    border-color: #c7d7ed;
    box-shadow: 0 4px 16px rgba(45, 87, 154, 0.08);
}

.ht-faq-item.active {
    border-color: #2d579a;
    box-shadow: 0 8px 28px rgba(45, 87, 154, 0.14);
}

/* Question button — the clickable header */
.ht-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.ht-faq-question:hover {
    background: linear-gradient(180deg, #f8fbff 0%, #f0f6ff 100%);
}

.ht-faq-item.active .ht-faq-question {
    background: linear-gradient(135deg, #eff4fb 0%, #f5f8ff 100%);
}

/* Number badge */
.ht-faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2d579a, #3b6bb8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.ht-faq-item.active .ht-faq-number {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* Question title text */
.ht-faq-question h4 {
    margin: 0;
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.ht-faq-item.active .ht-faq-question h4 {
    color: #1a365d;
}

/* Toggle arrow icon */
.ht-faq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ht-faq-question:hover .ht-faq-toggle {
    background: #e2e8f0;
    color: #334155;
}

.ht-faq-item.active .ht-faq-toggle {
    transform: rotate(180deg);
    background: #2d579a;
    color: #fff;
}

/* Answer panel — hidden by default, slides down when active */
.ht-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px 0 56px; /* left padding aligns with question text after the number badge + gap */
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    border-top: 1px solid transparent;
}

.ht-faq-answer p {
    margin: 0;
    padding: 12px 0 16px;
}

.ht-faq-item.active .ht-faq-answer {
    max-height: 500px; /* enough room for long answers */
    opacity: 1;
    padding-top: 4px;
    border-top: 1px solid #eef3fa;
}
.ht-tab-content {
    display: block; /* Changed from none to display all content */
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
    scroll-margin-top: 180px;
}
.ht-tab-content:first-child {
    border-top: none;
    padding-top: 0;
}
.ht-tab-content:last-child {
    margin-bottom: 0;
}
.ht-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Contact Page Styles
   ======================================== */
.ht-contact-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
}
.ht-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}
@media (max-width: 992px) {
    .ht-contact-grid {
        grid-template-columns: 1fr;
    }
}
.ht-contact-info {
    background: var(--color-gray-100);
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.ht-contact-info-header {
    margin-bottom: var(--spacing-xl);
}
.ht-contact-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}
.ht-contact-description {
    color: var(--color-gray-600);
}
.ht-contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}
.ht-contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}
.ht-contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.ht-contact-content h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}
.ht-contact-content p, .ht-contact-content a {
    color: var(--color-gray-600);
    line-height: 1.6;
}
.ht-contact-content a:hover {
    color: var(--color-primary);
}
.ht-contact-social h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}
.ht-social-links {
    display: flex;
    gap: var(--spacing-sm);
}
.ht-social-link {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.ht-social-link svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
    display: block;
}
.ht-social-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}
.ht-contact-form-wrapper {
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}
.ht-contact-form-header {
    margin-bottom: var(--spacing-xl);
}
.ht-form-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}
.ht-form-description {
    color: var(--color-gray-600);
}
.ht-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}
@media (max-width: 768px) {
    .ht-form-row {
        grid-template-columns: 1fr;
    }
}
.ht-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}
.ht-form-label {
    font-weight: 500;
    color: var(--color-dark);
    font-size: 0.875rem;
}
.ht-form-input, .ht-form-select, .ht-form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 4px;
    background: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.ht-form-input:focus, .ht-form-select:focus, .ht-form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(196, 18, 48, 0.1);
}
.ht-form-textarea {
    resize: vertical;
    min-height: 120px;
}
.ht-form-submit {
    margin-top: var(--spacing-lg);
}
.ht-form-submit .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}
.ht-map-section {
    margin-top: var(--spacing-3xl);
    height: auto;
    min-height: 450px;
    background: var(--color-gray-200);
    border-radius: 8px;
    overflow: visible;
}

/* ========================================
   Language Switcher Adjustments
   ======================================== */

/* Hide TranslatePress floater */
.trp-ls-floater {
    display: none !important;
}

/* Reduce height of header top to 30px */
.ht-header-top {
    height: 30px;
    box-sizing: border-box;
    padding: 0;
    font-size: 0.75rem; /* 12px */
    line-height: 30px; /* match height */
}

/* Adjust container to match height */
.ht-header-top .ht-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Style for language switcher in header top */
.ht-lang-switcher-top {
    margin-left: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Ensure language switcher in header top is properly aligned and smaller */
.ht-lang-switcher-top .trp-ls-floater {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
    display: flex;
    align-items: center;
}

.ht-lang-switcher-top .trp-ls-floater .trp-floater-current-language {
    color: inherit !important;
    font-weight: normal !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
}

.ht-lang-switcher-top .trp-ls-floater .trp-floater-current-language img {
    width: 14px !important;
    height: 10px !important;
    margin-right: 4px !important;
}

/* Hide the dropdown arrow if any */
.ht-lang-switcher-top .trp-ls-floater .trp-floater-current-language .trp-floater-current-language-name::after {
    display: none !important;
}

/* Adjust dropdown menu size */
.ht-lang-switcher-top .trp-ls-popup {
    top: 100% !important;
    min-width: 120px !important;
}

.ht-lang-switcher-top .trp-ls-popup a {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
}

.ht-lang-switcher-top .trp-ls-popup a img {
    width: 14px !important;
    height: 10px !important;
    margin-right: 6px !important;
}

/* Layout adjustments for header top */
.ht-header-top .ht-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}

.ht-company-name, .ht-header-top .ht-contact-info {
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 1;
}

/* Adjust header top background if needed */
.ht-header-top {
    background: rgba(245, 245, 245, 0.95);
}

/* Fix container width */
.ht-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Reduce header height */
.ht-header-top {
    padding: 6px 0;
    font-size: 0.8rem;
}

/* Ensure header doesn't overflow */
.ht-header, .ht-header.ht-header-transparent {
    width: 100%;
    box-sizing: border-box;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 1000;
}

/* Make main content full width */
.site-main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Fix right side empty space */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: clip !important; /* Changed from hidden to clip to fix position: sticky */
    width: 100%;
}

/* Increase container width on product pages */
@media screen and (min-width: 1200px) {
    .ht-single-product .site-main > section > .container {
        max-width: 80% !important;
    }
}

/* Adjust hero section to full width */
.hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Ensure header background covers full width */
.ht-header {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Transparent header adjustments */
.ht-header.ht-header-transparent {
    background-color: transparent;
}

.ht-header.ht-header-transparent.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

/* Fix hero background to full width */
.hero-background {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Ensure images in hero cover full width */
.hero-background img {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* ========================================
   Product Features - Dynamic Repeater Styles
   ======================================== */

.ht-product-features {
    margin: 30px 0;
}

.ht-product-features > h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c5282;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.ht-features-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ht-feature-block {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease;
}

.ht-feature-block:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ht-feature-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ht-feature-subtitle::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #3182ce 0%, #63b3ed 100%);
    border-radius: 2px;
}

/* List Format with Diamond Icons */
.ht-feature-list-diamond {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ht-feature-list-diamond li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    background-color: #f7fafc;
    border-radius: 6px;
    transition: all 0.22s ease;
    border-left: 3px solid transparent;
}

.ht-feature-list-diamond li:hover {
    background-color: #edf2f7;
    transform: translateX(6px);
    border-left-color: rgba(49, 130, 206, 0.35);
}

.ht-diamond-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    transform: rotate(45deg);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.ht-list-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2d3748;
    font-weight: 400;
}

/* Text Area Format */
.ht-feature-textarea {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a5568;
    padding: 18px 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
}

.ht-feature-textarea p {
    margin-bottom: 12px;
}

.ht-feature-textarea p:last-child {
    margin-bottom: 0;
}

/* Table Format — Visual table with thead/tbody semantic structure */
.ht-table-wrapper {
    overflow-x: auto;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.ht-feature-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 100%;
}

.ht-feature-table thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

.ht-feature-table th,
.ht-feature-table td {
    padding: 13px 18px;
    text-align: left;
    border: 1px solid #e8ecf1;
    white-space: nowrap;
}

/* Header Row — Gradient background with white bold text */
.ht-feature-table .header-row th {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

/* Data Rows — Zebra striping */
.ht-feature-table .even-row td {
    background-color: #f8fafc;
    color: #334155;
}

.ht-feature-table .odd-row td {
    background-color: #ffffff;
    color: #334155;
}

/* Hover Effect on Data Rows */
.ht-feature-table tbody tr:hover td {
    background-color: #eff6ff;
    transition: background-color 0.2s ease;
}

/* First column (parameter name) styling */
.ht-feature-table tbody tr td:first-child {
    font-weight: 600;
    color: #1e293b;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .ht-product-features > h3 {
        font-size: 1.3rem;
    }

    .ht-feature-block {
        padding: 15px;
    }

    .ht-feature-subtitle {
        font-size: 1.1rem;
    }

    .ht-feature-list-diamond li {
        padding: 8px 12px;
        gap: 10px;
    }

    .ht-diamond-icon {
        width: 14px;
        height: 14px;
        min-width: 14px;
    }

    .ht-feature-table th,
    .ht-feature-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Adjust header top container for better alignment */
.ht-header-top {
    background: rgba(245, 245, 245, 0.95);
}

/* Ensure logo and navigation stay within container */
.ht-header-main .ht-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Language switcher alignment */
.ht-lang-switcher-top {
    margin-left: auto;
}

/* Remove any max-width from parent containers */
.page-template-home .site-main {
    max-width: none;
    width: 100%;
}

/* Override media query for header top height */
@media (min-width: 1200px) {
    .ht-header-top {
        padding: 0 !important;
        height: 30px !important;
    }
    .ht-header-top .ht-container {
        gap: 8px !important;
    }
    .ht-company-name, .ht-contact-info {
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }
}

/* Ensure hero section extends full width */
.hero {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}
.hero-background {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}
.hero-background img {
    width: 100% !important;
    margin-left: 0 !important;
}

/* ========================================
   Product Page Refresh 2026-03
   ======================================== */
.ht-products-archive .ht-page-header-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.ht-products-archive .ht-breadcrumb,
.page-template-page-about-us .ht-breadcrumb,
.post-type-archive-news .ht-breadcrumb,
.page-template-page-templates-contact .ht-breadcrumb {
    justify-content: center;
    width: 100%;
}

.ht-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dce7f3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ht-products-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.ht-products-overview-item {
    min-width: 128px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(8, 18, 31, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.ht-products-overview-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.35rem;
    color: #fff;
}

.ht-products-overview-item span {
    color: #c5d4e3;
    font-size: 0.88rem;
}

.ht-products-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 0 0 28px;
    padding: 16px 20px;
    border: 1px solid #e4eaf2;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.ht-products-toolbar-copy {
    margin: 0;
    color: #53657c;
}

.ht-products-toolbar-link {
    color: var(--color-primary);
    font-weight: 700;
}

.ht-products-archive .ht-product-grid--archive {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ht-products-archive .ht-product-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e3ebf5;
    box-shadow: 0 22px 55px rgba(20, 39, 63, 0.08);
}

.ht-products-archive .ht-product-image-wrapper {
    padding-top: 68%;
    background:
        radial-gradient(circle at top right, rgba(255, 116, 48, 0.32), transparent 34%),
        linear-gradient(160deg, #eaf1f8 0%, #d6e2ee 100%);
}

.ht-products-archive .ht-product-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
    padding: 24px;
}

.ht-products-archive .ht-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ht-products-archive .ht-product-category,
.ht-products-archive .ht-product-brand {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: #eef4fb;
    color: #43536a;
    font-size: 0.82rem;
    font-weight: 700;
}

.ht-products-archive .ht-product-subtitle {
    margin: 0;
    color: #17304d;
    font-size: 0.96rem;
    font-weight: 600;
}

.ht-products-archive .ht-product-excerpt {
    margin: 0;
    min-height: 4.8em;
    color: #607289;
}

.ht-products-archive .ht-product-footer {
    margin-top: auto;
    display: flex;
    gap: 12px;
}

.ht-products-archive .ht-product-footer a {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
}

.ht-product-image-placeholder--archive,
.ht-product-image-placeholder--hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 28px;
    background:
        radial-gradient(circle at top, rgba(255, 120, 51, 0.3), transparent 28%),
        linear-gradient(160deg, #17304d 0%, #0a1522 100%);
    color: #fff;
}

.ht-product-placeholder-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.ht-product-placeholder-copy {
    max-width: 220px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.5;
}

.ht-product-hero {
    background:
        radial-gradient(circle at top left, rgba(255, 128, 42, 0.12), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.ht-product-hero-grid {
    gap: 40px;
}

.ht-product-gallery-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 18px;
    align-items: stretch;
}

.ht-product-main-image {
    min-height: 420px;
    border-radius: 22px;
    border: 1px solid #dce6f1;
    box-shadow: 0 25px 60px rgba(19, 38, 61, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 243, 249, 0.98) 100%);
}

.ht-product-main-image img {
    object-fit: contain;
    padding: 28px;
}

.ht-product-thumbnails {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 12px;
}

.ht-product-thumbnail {
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(17, 30, 47, 0.06);
}

.ht-product-thumbnail img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ht-product-meta--chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ht-product-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #f5f7fa;
    color: #44546a;
    font-size: 0.9rem;
}

.ht-product-specs-quick {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ht-spec-item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid #e3ebf5;
    background: #fff;
    box-shadow: 0 12px 28px rgba(18, 39, 63, 0.05);
}

.ht-related-products .ht-product-grid,
#related .ht-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .ht-product-gallery-stage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .ht-product-specs-quick {
        grid-template-columns: 1fr;
    }

    .ht-product-main-image,
    .ht-product-image-placeholder--hero {
        min-height: 320px;
    }
}

@media (max-width: 640px) {
    .ht-products-archive .ht-product-footer {
        flex-direction: column;
    }

    .ht-product-main-image img {
        padding: 18px;
    }
}

/* ========================================
   Product Archive Refinements
   ======================================== */
.ht-products-archive .ht-filter-buttons {
    gap: 10px;
}

.ht-products-archive .ht-product-filters {
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 22px 24px;
    margin-bottom: 30px;
    border: 1px solid #e6edf5;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 39, 63, 0.06);
}

.ht-products-archive .ht-filter-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 160px;
    gap: 12px !important;
}

.ht-products-archive .ht-filter-group--category {
    flex: 1 1 100%;
    flex-wrap: wrap;
}

.ht-products-archive .ht-filter-group--category .ht-filter-buttons {
    justify-content: center;
}

.ht-products-archive .ht-filter-group--actions {
    min-width: 0;
}

.ht-products-archive .ht-filter-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-bottom: 0;
    text-align: center;
    white-space: nowrap;
    flex: 0 0 auto;
}

.ht-products-archive .ht-filter-group--brand,
.ht-products-archive .ht-filter-group--search,
.ht-products-archive .ht-filter-group--actions {
    flex: 0 0 auto;
}

.ht-products-archive .ht-filter-btn,
.ht-products-archive .ht-filter-select,
.ht-filter-search,
.ht-filter-reset {
    border-radius: 999px;
}

.ht-filter-search,
.ht-products-archive .ht-filter-select {
    min-width: 220px;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #d6dee9;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ht-filter-search:focus,
.ht-products-archive .ht-filter-select:focus {
    outline: none;
    border-color: #c41230;
    box-shadow: 0 0 0 4px rgba(196, 18, 48, 0.08);
}

.ht-filter-reset {
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 1px solid #d6dee9;
    background: #fff;
    color: #17304d;
    font-weight: 600;
    cursor: pointer;
}

.ht-filter-reset:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.ht-product-card.is-hidden {
    display: none !important;
}

.ht-products-archive .ht-product-card {
    border: 1px solid #e8edf4;
    box-shadow: 0 18px 50px rgba(18, 39, 63, 0.08);
}

.ht-products-archive .ht-product-content {
    padding: 22px;
}

.ht-products-archive .ht-product-title {
    font-size: 1.1rem;
    line-height: 1.35;
}

.ht-products-archive .ht-product-excerpt {
    min-height: 4.2em;
}

/* ========================================
   Single Product Enhancements
   ======================================== */
.ht-product-main-image {
    cursor: zoom-in;
    display: block;
}

.ht-product-main-image img {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.ht-product-main-image.is-zooming img {
    transform: scale(1.9);
}

.ht-product-image-placeholder--hero {
    width: 100%;
    min-height: 420px;
}

.ht-product-thumbnails button.ht-product-thumbnail {
    appearance: none;
    background: transparent;
    padding: 0;
    border: 2px solid transparent;
}

.ht-product-thumbnails button.ht-product-thumbnail.active,
.ht-product-thumbnails button.ht-product-thumbnail:hover {
    border-color: var(--color-primary);
}

.ht-product-meta--chips {
    flex-wrap: wrap;
}

.ht-product-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: #f5f7fa;
    color: #44546a;
    font-size: 0.9rem;
}

.ht-product-video-card {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 39, 63, 0.06);
}

.ht-products-pagination ul {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ht-products-pagination li {
    margin: 0;
}

.ht-products-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d6dee9;
    background: #fff;
    color: #17304d;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(18, 39, 63, 0.06);
}

.ht-pagination-icon {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: 700;
}

.ht-products-pagination ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ht-products-pagination .prev .page-numbers,
.ht-products-pagination .next .page-numbers {
    width: 48px;
    min-width: 48px;
    padding: 0;
}

.ht-products-pagination .page-numbers.current,
.ht-products-pagination .page-numbers:hover {
    background: #c41230;
    border-color: #c41230;
    color: #fff;
}

.ht-related-products {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.ht-section-header--related {
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

.ht-related-products .ht-section-title {
    font-size: clamp(1.9rem, 2.4vw, 2.5rem);
}

.ht-related-products .ht-section-subtitle {
    max-width: 720px;
    color: #607289;
}

.ht-related-products .ht-product-card,
#related .ht-product-card {
    border-radius: 22px;
    border: 1px solid #e6edf5;
    box-shadow: 0 20px 46px rgba(18, 39, 63, 0.07);
}

.ht-related-products .ht-product-image-wrapper,
#related .ht-product-image-wrapper {
    padding-top: 68%;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

.ht-related-products .ht-product-content,
#related .ht-product-content {
    padding: 24px;
}

.ht-related-products .ht-product-category,
#related .ht-product-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(23, 48, 77, 0.08);
    color: #17304d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ht-related-products .ht-product-title,
#related .ht-product-title {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.ht-related-products .ht-product-excerpt,
#related .ht-product-excerpt {
    font-size: 0.92rem;
    color: #607289;
    line-height: 1.7;
    min-height: 4.8em;
}

.post-type-archive-news .ht-product-grid {
    gap: 24px;
}

.post-type-archive-news .ht-product-card {
    border-radius: 24px;
    border: 1px solid #e6edf5;
    box-shadow: 0 20px 46px rgba(18, 39, 63, 0.07);
}

.post-type-archive-news .ht-product-content {
    padding: 24px;
}

.post-type-archive-news .ht-product-meta {
    gap: 8px;
    margin-bottom: 12px;
}

.post-type-archive-news .ht-product-meta span {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
}

.post-type-archive-news .ht-product-title {
    font-size: 1.18rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.post-type-archive-news .ht-product-excerpt {
    font-size: 0.96rem;
    line-height: 1.8;
    color: #607289;
    min-height: 5.2em;
}

.post-type-archive-solutions .ht-product-grid {
    gap: 24px;
}

.post-type-archive-solutions .ht-product-card {
    border-radius: 24px;
    border: 1px solid #e6edf5;
    box-shadow: 0 20px 46px rgba(18, 39, 63, 0.07);
}

.post-type-archive-solutions .ht-product-content {
    padding: 24px;
}

.post-type-archive-solutions .ht-product-meta {
    gap: 8px;
    margin-bottom: 12px;
}

.post-type-archive-solutions .ht-product-meta span {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
}

.post-type-archive-solutions .ht-product-title {
    font-size: 1.18rem;
    line-height: 1.45;
    margin-bottom: 10px;
}

.post-type-archive-solutions .ht-product-excerpt {
    font-size: 0.96rem;
    line-height: 1.8;
    color: #607289;
    min-height: 5.2em;
}

.post-type-archive-solutions .ht-product-subtitle {
    font-size: 0.9rem;
    color: #17304d;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ========================================
   Resource Single Pages
   ======================================== */
.ht-resource-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.ht-resource-article {
    padding: 32px;
    border-radius: 24px;
}

.ht-resource-meta-row {
    margin-bottom: 18px;
}

.ht-resource-featured-media {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #e3ebf5;
    box-shadow: 0 18px 46px rgba(18, 39, 63, 0.08);
}

.ht-resource-featured-media img {
    display: block;
    width: 100%;
    height: auto;
}

.ht-resource-highlight {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(196, 18, 48, 0.08), rgba(23, 48, 77, 0.08));
    color: #17304d;
    border: 1px solid rgba(196, 18, 48, 0.12);
}

.ht-resource-summary {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f7f9fc;
    border: 1px solid #e7eef6;
    color: #4d6077;
    line-height: 1.8;
}

.ht-resource-summary p:last-child,
.ht-resource-body > *:last-child {
    margin-bottom: 0;
}

.ht-resource-body {
    color: #415065;
    line-height: 1.85;
}

.ht-resource-sidebar {
    position: sticky;
    top: 120px;
}

.ht-resource-panel {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e3ebf5;
    box-shadow: 0 20px 46px rgba(18, 39, 63, 0.08);
}

.ht-resource-panel h3 {
    margin-bottom: 18px;
    color: #17304d;
    font-size: 1.3rem;
}

.ht-resource-facts {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ht-resource-facts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
}

.ht-resource-facts strong {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8b97a7;
}

.ht-resource-facts span {
    color: #17304d;
    line-height: 1.55;
}

.ht-resource-panel-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ht-resource-panel-actions a {
    width: 100%;
    justify-content: center;
}

@media (max-width: 992px) {
    .ht-resource-single-grid {
        grid-template-columns: 1fr;
    }

    .ht-resource-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .ht-resource-article,
    .ht-resource-panel {
        padding: 20px;
        border-radius: 18px;
    }
}

/* ========================================
   About & Contact Delivery Polish
   ======================================== */
.ht-section-header--center {
    align-items: center;
    text-align: center;
}

.ht-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 30px;
    align-items: start;
}

.ht-about-article {
    padding: 30px;
    border-radius: 24px;
}

.ht-about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ht-about-media-card {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #e3ebf5;
    background: #fff;
    box-shadow: 0 20px 46px rgba(18, 39, 63, 0.08);
}

.ht-about-media-card img {
    display: block;
    width: 100%;
    height: auto;
}

.ht-about-stats {
    display: grid;
    gap: 14px;
}

.ht-about-stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 14px 32px rgba(18, 39, 63, 0.06);
}

.ht-about-stat-card strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8b97a7;
}

.ht-about-stat-card span {
    color: #17304d;
    line-height: 1.6;
    font-weight: 600;
}

.ht-about-pillars {
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.ht-about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ht-about-pillar-card {
    padding: 28px 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 18px 40px rgba(18, 39, 63, 0.06);
}

.ht-about-pillar-card h3 {
    margin-bottom: 12px;
    color: #17304d;
    font-size: 1.18rem;
}

.ht-about-pillar-card p {
    margin: 0;
    color: #607289;
    line-height: 1.8;
}

.ht-contact-section .ht-contact-info,
.ht-contact-section .ht-contact-form-wrapper {
    border-radius: 24px;
    border: 1px solid #e6edf5;
}

.ht-contact-section .ht-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.ht-contact-section .ht-contact-info {
    background: linear-gradient(160deg, #17304d 0%, #0f1f33 100%);
    font-size: 1rem !important;
    line-height: 1.7 !important;
    white-space: normal !important;
}

.ht-contact-section .ht-contact-info h2,
.ht-contact-section .ht-contact-info h4,
.ht-contact-section .ht-contact-social h4 {
    color: #fff;
}

.ht-contact-section .ht-contact-description,
.ht-contact-section .ht-contact-content p,
.ht-contact-section .ht-contact-content a {
    color: rgba(255, 255, 255, 0.82);
}

.ht-contact-section .ht-contact-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ht-contact-section .ht-contact-item:last-child {
    border-bottom: 0;
}

.ht-contact-section .ht-contact-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.ht-contact-section .ht-contact-form-wrapper {
    box-shadow: 0 24px 60px rgba(18, 39, 63, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    width: 100%;
}

.ht-contact-section .ht-form-title {
    color: #17304d;
    font-size: 2rem;
    line-height: 1.25;
}

.ht-contact-section .ht-form-description {
    color: #607289;
    font-size: 0.98rem;
    line-height: 1.75;
}

.ht-contact-section .ht-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.ht-contact-section .ht-form-row {
    margin-bottom: 0;
    gap: 18px;
}

.ht-contact-section .ht-form-group {
    gap: 8px;
}

.ht-contact-section .ht-contact-title,
.ht-contact-section .ht-contact-description,
.ht-contact-section .ht-contact-content,
.ht-contact-section .ht-contact-social,
.ht-contact-section .ht-contact-item,
.ht-contact-section .ht-form-group,
.ht-contact-section .ht-form-label {
    white-space: normal !important;
}

.ht-contact-section .ht-contact-content h4 {
    font-size: 1.06rem;
    line-height: 1.35;
}

.ht-contact-section .ht-contact-content p,
.ht-contact-section .ht-contact-content a,
.ht-contact-section .ht-contact-description {
    font-size: 0.95rem;
}

.ht-contact-section .ht-form-input,
.ht-contact-section .ht-form-select,
.ht-contact-section .ht-form-textarea,
.ht-contact-section .ht-captcha-input {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid #d8e1ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.ht-contact-section .ht-form-textarea {
    min-height: 180px;
    resize: vertical;
}

.ht-contact-section .ht-form-input:focus,
.ht-contact-section .ht-form-select:focus,
.ht-contact-section .ht-form-textarea:focus,
.ht-contact-section .ht-captcha-input:focus {
    outline: none;
    border-color: #c41230;
    box-shadow: 0 0 0 4px rgba(196, 18, 48, 0.08);
}

.ht-contact-section .ht-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ht-contact-section .ht-form-checkbox input {
    margin-top: 3px;
}

.ht-contact-section .ht-captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ht-contact-section .ht-captcha-question {
    font-weight: 700;
    color: #17304d;
}

.ht-contact-section .ht-captcha-input {
    max-width: 180px;
}

.ht-contact-section .ht-submit-btn {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
}

.ht-contact-section .ht-contact-form-header {
    margin-bottom: 24px;
}

.ht-contact-section .ht-form-title {
    margin-bottom: 10px;
}

.ht-contact-section .ht-form-description {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #5b6472;
}

.ht-map-container,
.ht-google-map,
.ht-google-map iframe {
    width: 100%;
    border-radius: 24px;
    overflow: visible;
}

.ht-map-section {
    background: var(--color-gray-100);
}

.ht-quick-contact {
    background: linear-gradient(135deg, #111827 0%, #17304d 100%);
}

.ht-quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ht-quick-contact-card {
    padding: 28px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    backdrop-filter: blur(10px);
}

.ht-quick-contact-card h3 {
    margin: 14px 0 8px;
    color: #fff;
}

.ht-quick-contact-card p {
    color: rgba(255, 255, 255, 0.78);
    min-height: 2.8em;
}

.ht-quick-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.ht-cta-buttons .btn-primary,
.ht-cta-buttons .btn-secondary,
.ht-product-footer .btn-primary,
.ht-product-footer .btn-secondary,
.ht-product-content > .btn-primary,
.ht-product-content > .btn-secondary,
.ht-resource-panel-actions .btn-primary,
.ht-resource-panel-actions .btn-secondary,
.ht-quick-contact-card .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 32px rgba(18, 39, 63, 0.12);
}

.ht-cta-buttons .btn-primary,
.ht-product-footer .btn-primary,
.ht-product-content > .btn-primary,
.ht-resource-panel-actions .btn-primary,
.ht-quick-contact-card .btn-primary {
    background: linear-gradient(135deg, #d11a39 0%, #a60d26 100%);
    color: #fff;
    border: 0;
}

.ht-cta-buttons .btn-secondary,
.ht-product-footer .btn-secondary,
.ht-product-content > .btn-secondary,
.ht-resource-panel-actions .btn-secondary {
    background: #fff;
    color: #17304d;
    border: 1px solid #d6dee9;
}

.ht-cta-buttons .btn-primary:hover,
.ht-product-footer .btn-primary:hover,
.ht-product-content > .btn-primary:hover,
.ht-resource-panel-actions .btn-primary:hover,
.ht-quick-contact-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(166, 13, 38, 0.22);
}

.ht-cta-buttons .btn-secondary:hover,
.ht-product-footer .btn-secondary:hover,
.ht-product-content > .btn-secondary:hover,
.ht-resource-panel-actions .btn-secondary:hover {
    border-color: #c41230;
    color: #c41230;
}


.ht-cta-buttons {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ht-cta-buttons .btn-primary,
.ht-cta-buttons .btn-secondary,
.ht-product-footer .btn-primary,
.ht-product-footer .btn-secondary,
.ht-resource-panel-actions .btn-primary,
.ht-resource-panel-actions .btn-secondary,
.ht-quick-contact-card .btn-primary,
.post-type-archive-news .ht-product-btn {
    min-width: 168px;
}

.post-type-archive-news .ht-product-title {
    font-size: 1.18rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.post-type-archive-news .ht-product-excerpt {
    font-size: 0.96rem;
    line-height: 1.75;
    min-height: 84px;
    color: #5b6472;
}

.post-type-archive-downloads .ht-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.post-type-archive-downloads .ht-product-filters {
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    padding: 0;
    margin-bottom: 28px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.post-type-archive-downloads .ht-filter-group {
    min-width: 0;
}

.post-type-archive-downloads .ht-product-card {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e5edf6;
    box-shadow: 0 18px 46px rgba(18, 39, 63, 0.08);
}

.post-type-archive-downloads .ht-product-image-wrapper {
    padding-top: 62%;
    background: linear-gradient(160deg, #edf3f8 0%, #d8e4ef 100%);
}

.post-type-archive-downloads .ht-product-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
}

.post-type-archive-downloads .ht-product-title {
    font-size: 1.28rem;
    line-height: 1.4;
    margin-bottom: 2px;
}

.post-type-archive-downloads .ht-product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-type-archive-downloads .ht-product-excerpt {
    color: #5b6472;
    font-size: 0.96rem;
    line-height: 1.72;
    min-height: 52px;
}

.post-type-archive-downloads .ht-product-footer {
    margin-top: auto;
}

.post-type-archive-downloads .ht-product-footer .btn-primary,
.post-type-archive-downloads .ht-product-footer .btn-secondary {
    min-width: 148px;
}

@media (max-width: 992px) {
    .ht-about-grid,
    .ht-about-pillar-grid,
    .ht-quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .ht-contact-section .ht-contact-grid {
        grid-template-columns: 1fr;
    }

    .post-type-archive-downloads .ht-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ht-products-archive .ht-product-filters {
        align-items: stretch;
    }

    .ht-products-archive .ht-filter-group {
        width: 100%;
        flex-direction: column;
    }

    .ht-filter-search,
    .ht-products-archive .ht-filter-select {
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .post-type-archive-downloads .ht-product-grid {
        grid-template-columns: 1fr;
    }
}

.ht-product-video-head .ht-section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b97a7;
    margin-bottom: 4px;
}

.ht-product-video-head h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #17304d;
}

.ht-product-video-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}

.ht-product-video-frame video,
.ht-product-video-frame iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.ht-product-excerpt--summary {
    margin-top: 6px;
}

.ht-product-lightbox[hidden] {
    display: none;
}

.ht-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
}

.ht-product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.ht-product-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1100px);
    margin: 4vh auto 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.ht-product-lightbox-dialog img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 82vh;
    object-fit: contain;
    background: #0f172a;
}

.ht-product-lightbox-caption {
    padding: 14px 18px 18px;
    color: #415065;
    font-size: 0.95rem;
}

.ht-product-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 24px;
    line-height: 40px;
    cursor: pointer;
}

body.ht-lightbox-open {
    overflow: hidden;
}

@media (max-width: 992px) {
    .ht-product-lightbox-dialog {
        width: 94vw;
        margin-top: 8vh;
    }
}

/* ========================================
   Homepage Hero Refresh
   ======================================== */
.page-template-home .hero {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1624 0%, #10253f 45%, #0a0f18 100%);
}

.page-template-home .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 10, 18, 0.76) 0%, rgba(4, 10, 18, 0.5) 48%, rgba(4, 10, 18, 0.72) 100%);
}

.page-template-home .hero-content-split {
    position: relative;
    z-index: 3;
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 32px;
    align-items: center;
    text-align: left;
    color: #fff;
}

.page-template-home .hero-content .hero-title,
.page-template-home .hero .hero-title {
    color: #ffffff !important;
    text-shadow: none !important;
    animation: none !important;
}

.page-template-home .hero-copy {
    max-width: 720px;
}

.page-template-home .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-template-home .hero-title {
    max-width: 16ch;
    margin: 0 0 20px;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.page-template-home .hero-subtitle {
    max-width: 62ch;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.02rem, 1.55vw, 1.18rem);
}

.page-template-home .hero-cta {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.page-template-home .hero-support-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-template-home .hero-support-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    backdrop-filter: blur(10px);
}

.page-template-home .hero-panel {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.page-template-home .hero-panel-top {
    margin-bottom: 18px;
}

.page-template-home .hero-panel-label {
    display: inline-flex;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-template-home .hero-panel h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}

.page-template-home .hero-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.page-template-home .hero-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.page-template-home .hero-panel-item {
    padding: 16px;
    border-radius: 20px;
    background: rgba(7, 12, 20, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-template-home .hero-panel-item strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    font-size: 1rem;
}

.page-template-home .hero-panel-item span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
}

.page-template-home .scroll-indicator {
    display: none;
}

@media (max-width: 1024px) {
    .page-template-home .hero {
        min-height: auto;
        padding: 120px 0 72px;
    }

    .page-template-home .hero-content-split {
        grid-template-columns: 1fr;
        width: min(100%, calc(100% - 32px));
    }

    .page-template-home .hero-title {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .page-template-home .hero-content-split {
        width: min(100%, calc(100% - 24px));
        gap: 18px;
    }

    .page-template-home .hero-panel {
        padding: 20px;
        border-radius: 22px;
    }

    .page-template-home .hero-panel-grid {
        grid-template-columns: 1fr;
    }

    .page-template-home .hero-cta,
    .page-template-home .hero-support-list {
        width: 100%;
    }

    .page-template-home .hero-cta .btn,
    .page-template-home .hero-support-pill {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Homepage Mid-section Polish
   ======================================== */
.page-template-home .stats {
    padding: 72px 0;
}

.page-template-home .stat-item {
    padding: 20px 12px;
}

.page-template-home .about {
    min-height: 640px;
}

.page-template-home .about-image {
    background: linear-gradient(135deg, #243f67 0%, #2f4b77 100%);
}

.page-template-home .about-image > div,
.page-template-home .about-image img {
    width: 100%;
    height: 100%;
}

.page-template-home .about-content {
    padding: 64px 72px;
}

.page-template-home .about-content h2 {
    margin-bottom: 22px;
}

.page-template-home .about-content p {
    font-size: 1rem;
    line-height: 1.9;
    color: #5e6c80;
}

.page-template-home .features {
    padding: 110px 0;
    background: linear-gradient(180deg, #171717 0%, #1f1f1f 100%);
}

.page-template-home .features-header h2,
.page-template-home .technology-content h2 {
    color: #ffffff;
}

.page-template-home .features-header p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.02rem;
}

.page-template-home .feature-card {
    min-height: 320px;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.06);
}

.page-template-home .feature-card p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.8;
}

.page-template-home .technology {
    padding: 96px 0 110px;
    background: linear-gradient(135deg, #203654 0%, #182636 50%, #151515 100%);
}

.page-template-home .technology-content {
    max-width: 1120px;
}

.page-template-home .technology-content > p {
    max-width: 780px;
    margin: 0 auto 42px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.12rem;
}

.page-template-home .technology-features {
    align-items: stretch;
}

.page-template-home .tech-feature {
    min-height: 280px;
    padding: 34px 28px;
    background: rgba(255, 255, 255, 0.1);
}

.page-template-home .tech-feature p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .page-template-home .about-content {
        padding: 40px 28px;
    }

    .page-template-home .about {
        min-height: auto;
    }

    .page-template-home .feature-card,
    .page-template-home .tech-feature {
        min-height: auto;
    }
}

/* ========================================
   Content System Polishing
   ======================================== */
.ht-section-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ht-section-header .ht-section-title {
    margin: 0;
    color: var(--color-dark);
}

.ht-section-header .ht-section-subtitle {
    margin: 0;
    max-width: 44rem;
    color: var(--color-gray-600);
    font-size: 1rem;
}

.ht-page-header-content .ht-breadcrumb {
    margin-top: 1rem;
}

.ht-product-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    background: rgba(26, 54, 93, 0.08);
    color: var(--color-accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.entry-content.ht-product-content {
    background: var(--color-white);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
}

.entry-content.ht-product-content p {
    color: var(--color-gray-700);
}

.entry-content.ht-product-content .ht-product-actions {
    flex-wrap: wrap;
}

.ht-no-products {
    grid-column: 1 / -1;
}

.ht-no-products-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: 18px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
}

.ht-no-products-content .dashicons {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .ht-product-filters {
        align-items: flex-start;
    }

    .ht-filter-group {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-content.ht-product-content {
        padding: 1.25rem;
    }

    .ht-product-meta {
        flex-wrap: wrap;
    }

    .ht-product-footer,
    .ht-product-actions {
        flex-direction: column;
    }
}

/* Adjust hero background position to cover full width */
.hero-background {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

/* Ensure header top height is respected */
.ht-header-top {
    height: 30px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
}

/* ========================================
   Hero Title Glow Effect
   ======================================== */
.hero-content .hero-title,
.hero .hero-title {
    color: #00aaff !important;
    text-shadow: 
        0 0 10px rgba(0, 170, 255, 0.9),
        0 0 20px rgba(0, 170, 255, 0.8),
        0 0 30px rgba(0, 170, 255, 0.7),
        0 0 40px rgba(0, 100, 255, 0.5),
        0 0 70px rgba(0, 100, 255, 0.3),
        0 4px 30px rgba(0, 0, 0, 0.3);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 
            0 0 10px rgba(0, 170, 255, 0.9),
            0 0 20px rgba(0, 170, 255, 0.8),
            0 0 30px rgba(0, 170, 255, 0.7),
            0 0 40px rgba(0, 100, 255, 0.5),
            0 0 70px rgba(0, 100, 255, 0.3),
            0 4px 30px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 
            0 0 10px rgba(0, 170, 255, 1),
            0 0 20px rgba(0, 170, 255, 0.9),
            0 0 30px rgba(0, 170, 255, 0.8),
            0 0 50px rgba(0, 100, 255, 0.7),
            0 0 80px rgba(0, 100, 255, 0.5),
            0 4px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Further reduce language switcher size */
.ht-lang-switcher-top .trp-ls-floater {
    padding: 0 4px !important;
}

.ht-lang-switcher-top .trp-ls-floater .trp-floater-current-language img {
    width: 12px !important;
    height: 9px !important;
}

.ht-lang-switcher-top .trp-ls-floater .trp-floater-current-language {
    font-size: 0.7rem !important;
}

/* Make dropdown menu more compact */
.ht-lang-switcher-top .trp-ls-popup {
    min-width: 100px !important;
    padding: 4px 0 !important;
}

.ht-lang-switcher-top .trp-ls-popup a {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
}

.ht-lang-switcher-top .trp-ls-popup a img {
    width: 12px !important;
    height: 9px !important;
    margin-right: 4px !important;
}

/* ========================================
   Hero Full Width Fix
   ======================================== */
.hero {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
}
.hero-background {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.hero-background img {
    width: 100% !important;
    margin-left: 0 !important;
}

.ht-google-map {
    height: 450px;
}

.ht-map-container {
    height: 100%;
}

.ht-google-map iframe {
    height: 100%;
}

/* Ensure pagination is horizontal */
.ht-products-pagination {
    flex-direction: row !important;
}

/* Responsive product grid */
@media (max-width: 1199px) {
    .ht-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .ht-products-archive .ht-product-grid--archive,
    .ht-related-products .ht-product-grid,
    #related .ht-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ht-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ht-products-archive .ht-product-grid--archive,
    .ht-related-products .ht-product-grid,
    #related .ht-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ht-product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .ht-products-archive .ht-product-grid--archive,
    .ht-related-products .ht-product-grid,
    #related .ht-product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Active menu item — 补充下划线，修复 Products/Solutions/News 无下划线的问题 */
.ht-nav-list li.active > a,
.ht-mobile-nav li.active > a {
    color: #2d579a !important;
    font-weight: 700;
    border-bottom-color: #2d579a;
}

/* Active menu item when header is scrolled */
.ht-header.scrolled .ht-nav-list li.active > a,
.ht-header.scrolled .ht-mobile-nav li.active > a {
    color: #2d579a !important;
    font-weight: 700;
    border-bottom-color: #2d579a;
}

.ht-no-content {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.ht-no-content p {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    margin-bottom: var(--spacing-md);
}

.ht-no-content .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 18, 48, 0.3);
}

.ht-no-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.4);
    color: var(--color-white);
}

.ht-no-content .btn-primary::before {
    content: '+';
    font-size: 1.2rem;
    font-weight: 700;
}

#downloads .ht-no-content .btn-primary::before {
    content: '↓';
    font-size: 1rem;
}

/* Technical Modal Styles */
.ht-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.ht-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.ht-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.ht-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    z-index: 1;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    padding: 40px;
}

.ht-modal.is-open .ht-modal-content {
    transform: translateY(0);
}

.ht-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.ht-modal-close:hover {
    color: var(--color-primary);
}

.ht-technical-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ht-technical-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.ht-technical-image {
    flex: 0 0 300px;
    max-width: 100%;
}

.ht-technical-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.ht-technical-intro {
    flex: 1;
    min-width: 250px;
}

.ht-technical-title {
    font-size: 2.2rem;
    color: #1f86c7; /* Match image color */
    margin: 0 0 10px 0;
    font-weight: 700;
}

.ht-technical-subtitle {
    font-size: 1.5rem;
    color: #1f86c7; /* Match image color */
    margin: 0 0 20px 0;
    font-weight: 600;
}

.ht-technical-features {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.ht-technical-items {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.ht-technical-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ht-technical-item:last-child {
    border-bottom: none;
}

.ht-tech-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: #e8eaeb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.ht-tech-icon img {
    max-width: 30px;
    max-height: 30px;
}

.ht-tech-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #666;
}

.ht-tech-info {
    flex: 1;
}

.ht-tech-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    padding: 5px 10px;
    background: #d8e2a3; /* Matches the highlight in image */
}

.ht-tech-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .ht-technical-top {
        flex-direction: column;
    }
    .ht-technical-image {
        flex: 1 1 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .ht-modal-content {
        padding: 25px 20px;
    }
}

/* Fix product actions visibility on single product page */
.ht-product-info .ht-product-actions {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex !important;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    pointer-events: auto;
}

.ht-product-info .ht-product-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Downloads Section Styles */
.ht-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ht-download-card {
    display: flex;
    align-items: center;
    background: var(--color-white, #fff);
    border: 1px solid var(--color-gray-200, #eee);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ht-download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    border-color: var(--color-primary, #c41230);
}

.ht-download-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: rgba(196, 18, 48, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--color-primary, #c41230);
}

.ht-download-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.ht-download-info {
    flex: 1;
    min-width: 0;
}

.ht-download-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--color-dark, #333);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ht-download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--color-gray-500, #666);
}

.ht-download-type, .ht-download-language {
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.ht-download-action {
    margin-left: 15px;
}

.ht-download-btn.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    background: transparent !important;
    color: var(--color-primary, #c41230) !important;
    border: 1px solid var(--color-primary, #c41230) !important;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.ht-download-btn.btn-primary:hover {
    background: var(--color-primary, #c41230) !important;
    color: #fff !important;
    transform: none !important;
}

.ht-download-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ════════════════════════════════════════════════════════════════
   Mobile Responsive — Single Product Page (Comprehensive)
   ════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {

    /* ── Container Width Fix — make content full-bleed on mobile ──
         The theme's .container has max-width:1400px + padding:0 2rem which
         wastes too much horizontal space on small screens.              ── */
    .ht-single-product .site-main > section > .container,
    .ht-single-product .ht-product-details-section > .container,
    .ht-single-product .ht-product-hero > .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: calc( var(--spacing-sm, 1rem) - 4px ) !important;  /* ~12px */
        padding-right: calc( var(--spacing-sm, 1rem) - 4px ) !important;
    }

    /* Also force full-width for any ct-container / data-wrapper that Blocksy injects */
    .ht-single-product [data-column="content-wrapper"],
    .ht-single-product .ct-container,
    .ht-single-product .ct-layout > div {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Tab content should breathe */
    .ht-single-product .ht-product-tabs {
        width: 100%;
        max-width: 100%;
    }

    /* ── Hero Section ── */
    .ht-product-hero {
        padding: var(--spacing-lg) 0 var(--spacing-xl);
    }

    .ht-product-hero-grid {
        gap: 24px;
    }

    .ht-product-gallery-stage {
        grid-template-columns: 1fr !important; /* Force single column */
    }

    .ht-product-thumbnails {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
    }

    .ht-product-main-image,
    .ht-product-image-placeholder--hero {
        min-height: 260px !important;
        border-radius: 16px;
    }

    .ht-product-main-image img {
        padding: 16px !important;
    }

    /* ── Product Info Area ── */
    .ht-product-breadcrumb {
        font-size: 0.78rem;
        margin-bottom: var(--spacing-sm);
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .ht-product-title {
        font-size: 1.6rem !important;
        line-height: 1.25;
    }

    .ht-product-subtitle {
        font-size: 1rem !important;
    }

    /* Meta chips wrap on small screens */
    .ht-product-meta--chips {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ht-product-meta-chip {
        font-size: 0.78rem;
        padding: 0.35rem 0.6rem;
    }

    /* Quick specs grid → single column */
    .ht-product-specs-quick {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .ht-spec-item {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    .ht-spec-icon {
        width: 34px !important;
        height: 34px !important;
    }

    /* Action buttons stack vertically, full width */
    .ht-product-info .ht-product-actions {
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }

    .ht-product-info .ht-product-actions a {
        width: 100%;
        justify-content: center;
        padding: 14px 20px !important;
        border-radius: 999px !important;
        font-size: 0.95rem !important;
    }

    /* Share section compact */
    .ht-product-share {
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 16px;
        font-size: 0.82rem;
    }

    .ht-share-btn {
        width: 34px;
        height: 34px;
    }

    /* Excerpt text sizing */
    .ht-product-excerpt--summary {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    /* ── Tabs Navigation ── */
    .ht-tabs-nav {
        position: sticky;
        top: 60px; /* Smaller header on mobile */
        z-index: 998;
        border-radius: 8px 8px 0 0;
        -webkit-overflow-scrolling: touch;

        /* Hide scrollbar but keep scrollable */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .ht-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .admin-bar .ht-tabs-nav {
        top: 96px;
    }

    .ht-tab-link {
        min-height: 40px;
        margin: 8px 4px 8px 8px;
        padding: 0.55rem 1rem;
        font-size: 0.82rem;
        border-radius: 999px;
        flex-shrink: 0;
    }

    /* ── Tab Content General ── */
    .ht-tab-content {
        padding: var(--spacing-md) !important;
        scroll-margin-top: 140px;
        margin-bottom: 2rem;
    }

    /* ── Description Blocks ── */
    .ht-product-features > h3 {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .ht-features-container {
        gap: 16px;
    }

    .ht-feature-block {
        padding: 16px;
        border-radius: 10px;
    }

    .ht-feature-subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    /* List items with diamond icons */
    .ht-feature-list-diamond {
        gap: 8px;
    }

    .ht-feature-list-diamond li {
        padding: 9px 12px;
        gap: 10px;
        border-radius: 6px;
    }

    .ht-diamond-icon {
        width: 13px;
        height: 13px;
        min-width: 13px;
    }

    .ht-list-text {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* Textarea / Rich Text block */
    .ht-feature-textarea {
        font-size: 0.88rem;
        padding: 14px 16px;
        border-radius: 8px;
        line-height: 1.7;
    }

    /* Table wrapper — horizontal scroll on mobile */
    .ht-table-wrapper {
        border-radius: 10px;
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        border-left: none;
        border-right: none;
        border-radius: 0;
    }

    .ht-feature-table th,
    .ht-feature-table td {
        padding: 9px 12px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .ht-feature-table .header-row th {
        font-size: 0.72rem;
        letter-spacing: 0.3px;
        padding: 10px 12px;
    }

    /* First column can wrap for readability */
    .ht-feature-table tbody tr td:first-child {
        white-space: normal;
        word-break: break-word;
    }

    /* ── FAQ Accordion Mobile ── */
    .ht-faq-question {
        padding: 14px 16px;
        gap: 11px;
    }

    .ht-faq-number {
        min-width: 26px;
        height: 26px;
        font-size: 11.5px;
        border-radius: 6px;
        padding: 0 7px;
    }

    .ht-faq-question h4 {
        font-size: 13.5px;
        line-height: 1.45;
    }

    .ht-faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 16px;
    }

    .ht-faq-answer {
        font-size: 13.2px;
        line-height: 1.7;
        padding: 0 16px 0 50px; /* Tighter left padding on mobile */
    }

    .ht-faq-answer p {
        padding: 10px 0 14px;
    }

    .ht-faq-item.active .ht-faq-answer {
        max-height: 400px; /* Slightly less on mobile screens */
    }

    .ht-faq-list {
        gap: 8px;
    }

    /* ── Specifications Tab ── */
    .ht-specs-list {
        display: block;
    }

    .ht-specs-list tbody tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 0;
        gap: 4px;
    }

    .ht-specs-list th,
    .ht-specs-list td {
        padding: 6px 10px;
        border: none;
        background: transparent !important;
        white-space: normal;
    }

    .ht-specs-list th {
        font-size: 0.78rem;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .ht-specs-list td {
        font-size: 0.92rem;
        color: #1e293b;
        font-weight: 500;
    }

    /* Packaging info grid */
    .ht-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Safety info */
    .ht-safety-precautions {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    /* ── Application Info ── */
    .ht-application-info .ht-info-item h4 {
        font-size: 0.95rem;
    }

    .ht-application-info .ht-info-content {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    /* ── Downloads Grid ── */
    .ht-downloads-grid {
        grid-template-columns: 1fr !important; /* Single column cards */
        gap: 14px !important;
        margin-top: 16px !important;
    }

    .ht-download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        border-radius: 12px;
    }

    .ht-download-icon {
        margin-right: 0;
        width: 44px;
        height: 44px;
    }

    .ht-download-icon .dashicons {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .ht-download-title {
        font-size: 1rem;
        white-space: normal;
        overflow: visible;
    }

    .ht-download-action {
        margin-left: 0;
        width: 100%;
    }

    .ht-download-btn.btn-primary {
        width: 100% !important;
        justify-content: center;
        padding: 10px 20px !important;
    }

    /* ── Related Products ── */
    .ht-related-products .ht-product-grid,
    #related .ht-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }

    .ht-related-products .ht-product-image-wrapper,
    #related .ht-product-image-wrapper {
        padding-top: 70% !important;
    }

    .ht-related-products .ht-product-content,
    #related .ht-product-content {
        padding: 16px !important;
        gap: 8px !important;
    }

    .ht-related-products .ht-product-title,
    #related .ht-product-title {
        font-size: 0.95rem !important;
        line-height: 1.35 !important;
        margin-bottom: 6px !important;
    }

    .ht-related-products .ht-product-excerpt,
    #related .ht-product-excerpt {
        font-size: 0.84rem !important;
        min-height: 3.5em !important;
    }

    .ht-related-products .ht-product-btn,
    #related .ht-product-btn {
        min-width: unset !important;
        width: 100%;
        font-size: 0.85rem !important;
        padding: 10px 16px !important;
    }

    /* ── Inquiry CTA ── */
    .ht-cta-content h2 {
        font-size: 1.5rem !important;
    }

    .ht-cta-content p {
        font-size: 0.92rem;
    }

    .ht-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px !important;
    }

    .ht-cta-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ── Video Card ── */
    .ht-product-video-card {
        padding: 14px;
        border-radius: 12px;
    }

    .ht-product-video-head h3 {
        font-size: 1rem;
    }

    /* ── No content state ── */
    .ht-no-content {
        padding: 2rem var(--spacing-sm);
    }

    .ht-no-content p {
        font-size: 0.95rem;
    }
}

/* ── Extra small devices (<480px) ── */
@media screen and (max-width: 480px) {

    /* Even tighter padding on tiny screens */
    .ht-single-product .site-main > section > .container,
    .ht-single-product .ht-product-details-section > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .ht-product-hero-grid {
        gap: 18px;
    }

    .ht-product-thumbnails {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px;
    }

    .ht-product-thumbnail {
        border-radius: 10px;
    }

    .ht-product-title {
        font-size: 1.35rem !important;
    }

    .ht-product-subtitle {
        font-size: 0.92rem !important;
    }

    .ht-tab-link {
        min-height: 36px;
        margin: 6px 3px 6px 6px;
        padding: 0.45rem 0.85rem;
        font-size: 0.76rem;
    }

    .ht-tab-content {
        padding: var(--spacing-sm) !important;
        scroll-margin-top: 130px;
    }

    /* FAQ even more compact */
    .ht-faq-question {
        padding: 12px 14px;
        gap: 9px;
        border-radius: 10px;
    }

    .ht-faq-number {
        min-width: 24px;
        height: 24px;
        font-size: 10.5px;
        border-radius: 5px;
        padding: 0 6px;
    }

    .ht-faq-question h4 {
        font-size: 12.8px;
    }

    .ht-faq-toggle {
        width: 24px;
        height: 24px;
        font-size: 15px;
    }

    .ht-faq-answer {
        font-size: 12.6px;
        padding: 0 14px 0 46px;
        line-height: 1.65;
    }

    .ht-faq-answer p {
        padding: 8px 0 12px;
    }

    /* Related products single column on very small screens */
    .ht-related-products .ht-product-grid,
    #related .ht-product-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Download card full width */
    .ht-download-card {
        padding: 14px;
    }

    /* Feature blocks tighter */
    .ht-feature-block {
        padding: 14px;
        border-radius: 8px;
    }

    .ht-feature-subtitle {
        font-size: 0.95rem;
    }

    .ht-feature-list-diamond li {
        padding: 8px 10px;
        gap: 8px;
    }

    .ht-diamond-icon {
        width: 12px;
        height: 12px;
        min-width: 12px;
    }

    .ht-list-text {
        font-size: 0.84rem;
    }

    /* Table horizontal scroll container flush to edge */
    .ht-table-wrapper {
        margin-left: calc(-1 * var(--spacing-sm));
        margin-right: calc(-1 * var(--spacing-sm));
        border-radius: 0;
    }

    .ht-feature-table {
        font-size: 0.76rem;
    }

    .ht-feature-table th,
    .ht-feature-table td {
        padding: 8px 10px;
    }

    /* Specs list */
    .ht-specs-list th,
    .ht-specs-list td {
        padding: 5px 8px;
    }
}

/* ── Landscape mobile orientation fixes ── */
@media screen and (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .ht-product-hero {
        padding: var(--spacing-md) 0;
    }

    .ht-product-gallery-stage {
        grid-template-columns: 1.2fr 200px !important;
    }

    .ht-product-main-image {
        min-height: 240px !important;
    }

    .ht-tabs-nav {
        top: 50px;
        position: sticky;
    }

    .ht-tab-content {
        scroll-margin-top: 90px;
    }
}

/* ========================================
   Color System 页面 — 隐藏 ht-color-intro 区域
   ======================================== */

.ht-color-intro {
    display: none !important;
}

/* ========================================
   About Us Page Styles — 缺失组件样式补全
   ======================================== */

/* 页面顶部 eyebrow 徽章 */
.ht-page-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: var(--spacing-md);
}

/* ====== Section Header 通用区域标题 ====== */
.ht-section-header {
    margin-bottom: var(--spacing-xl);
}

.ht-section-header--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ht-section-eyebrow {
    display: inline-block;
    font-size: 1rem;              /* was 0.75rem — 放大眉标文字 */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(196, 18, 48, 0.08);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.ht-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

.ht-section-subtitle {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

/* ====== About Overview 两栏布局 ====== */
.ht-about-overview {
    padding: var(--spacing-3xl) 0;
    background: #fafbfc;
}

.ht-about-grid {
    display: grid !important; /* 确保覆盖可能的冲突 */
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-xl) !important;
    align-items: stretch;
}

/* 左侧内容列 */
.ht-about-copy {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* 文章内容盒子 */
.ht-about-article {
    background: #fff;
    border-radius: 16px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    color: var(--color-gray-700);
    font-size: 0.95rem;
}

.ht-about-article p {
    margin-bottom: var(--spacing-md);
}

.ht-about-article p:last-child {
    margin-bottom: 0;
}

/* 右侧边栏 */
.ht-about-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* 媒体图片卡片 */
.ht-about-media-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ht-about-media-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

/* 统计卡片容器 — padding-top 补偿左侧标题区高度，使统计卡与文章盒子对齐 */
.ht-about-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 56px;
}

/* 统计卡片 */
.ht-about-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ht-about-stat-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.ht-about-stat-card strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 4px;
}

.ht-about-stat-card span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.5;
}

/* ====== Core Strengths 三栏卡片 ====== */
.ht-about-pillars {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.ht-about-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.ht-about-pillar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ht-about-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.ht-about-pillar-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.ht-about-pillar-card p {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ====== CTA 行动号召区 ====== */
.ht-cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #1a2332 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ht-cta-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.ht-cta-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.35;
}

.ht-cta-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.ht-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ====== About Us 响应式适配 ====== */
@media (max-width: 1024px) {
    .ht-about-grid {
        grid-template-columns: 1fr 320px !important;
        gap: var(--spacing-lg) !important;
    }
}

@media (max-width: 768px) {
    .ht-about-grid {
        grid-template-columns: 1fr !important;
    }

    .ht-about-sidebar {
        order: -1; /* 移动端图片和统计卡在上方 */
    }

    .ht-about-pillar-grid {
        grid-template-columns: 1fr;
    }

    .ht-section-title {
        font-size: 1.45rem;
    }

    .ht-cta-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Our Brands Section - Homepage Banner Cards
   ======================================== */
.ht-brands-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f0f4f8 100%);
}

.ht-brands-section .container {
    max-width: 1600px;
}

.ht-brands-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.ht-brands-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.ht-brands-subtitle {
    font-size: 1rem;
    color: var(--color-gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Brand Cards Grid - 3 columns */
.ht-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .ht-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .ht-brands-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Individual Brand Card - Banner Style */
.ht-brand-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ht-brand-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Card Background Image */
.ht-brand-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ht-brand-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.7s ease;
}

.ht-brand-card:hover .ht-brand-card__bg img {
    transform: scale(1.08);
    filter: brightness(0.85);
}

/* Placeholder for cards without image */
.ht-brand-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #1a202c 100%);
}

.ht-brand-card__letter {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -0.05em;
}

/* Card Overlay - Gradient for text readability */
.ht-brand-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.55) 80%,
        rgba(0, 0, 0, 0.78) 100%
    );
    transition: background 0.4s ease;
}

.ht-brand-card:hover .ht-brand-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 35%,
        rgba(0, 0, 0, 0.42) 70%,
        rgba(0, 0, 0, 0.68) 100%
    );
}

/* Card Content */
.ht-brand-card__content {
    position: relative;
    z-index: 2;
    padding: 20px 20px 18px;
    width: 100%;
    transform: translateY(6px);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ht-brand-card:hover .ht-brand-card__content {
    transform: translateY(0);
}

.ht-brand-card__title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ht-brand-card__desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease 0.08s, max-height 0.4s ease;
}

.ht-brand-card:hover .ht-brand-card__desc {
    opacity: 1;
    max-height: 72px;
}

/* CTA Button inside card */
.ht-brand-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ht-brand-card:hover .ht-brand-card__btn {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.4);
    transform: translateX(4px);
}

/* Shine effect on hover */
.ht-brand-card__shine {
    position: absolute;
    top: -50%;
    left: -60%;
    z-index: 3;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.12) 45%,
        rgba(255, 255, 255, 0) 52%
    );
    pointer-events: none;
    transform: translateX(-120%);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.ht-brand-card:hover .ht-brand-card__shine {
    transform: translateX(280%);
}

/* Color Variants for brand cards */
.ht-brand-card--accent .ht-brand-card__placeholder {
    background: linear-gradient(135deg, #1a365d 0%, #2563eb 50%, #1e40af 100%);
}
.ht-brand-card--primary .ht-brand-card__placeholder {
    background: linear-gradient(135deg, #450a0a 0%, #b91c1c 50%, #7f1d1d 100%);
}
.ht-brand-card--dark .ht-brand-card__placeholder {
    background: linear-gradient(135deg, #0f172a 0%, #334155 50%, #1e293b 100%);
}

/* ========================================
   Our Brands - Image Tab Style (NEW)
   ======================================== */

/* Tabs Container */
.ht-brands-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Brand Image Tabs - Horizontal Layout */
.ht-brands-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    padding: 0 10px;
}

/* Individual Brand Tab */
.ht-brand-tab {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border: 3px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ht-brand-tab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Active/Selected State */
.ht-brand-tab.active {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--color-primary, #c41230);
    box-shadow: 0 10px 28px rgba(196, 18, 48, 0.25),
                0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tab Image */
.ht-brand-tab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.ht-brand-tab:hover img,
.ht-brand-tab.active img {
    transform: scale(1.08);
}

/* Placeholder for tabs without image */
.ht-brand-tab__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d579a 50%, #1e40af 100%);
}

.ht-brand-tab__placeholder span {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
}

/* Detail Card */
.ht-brands-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ht-brands-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary, #c41230), #ff6b6b, var(--color-primary));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.ht-brands-detail-content {
    position: relative;
    z-index: 1;
}

/* Detail Title */
.ht-brands-detail-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-dark, #1a202c);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Detail Description */
.ht-brands-detail-desc {
    font-size: 1.05rem;
    color: var(--color-gray-600, #4a5568);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 28px;
    min-height: 60px;
}

/* Detail Button */
.ht-brands-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--color-primary, #c41230);
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.3);
    border: none;
    cursor: pointer;
}

.ht-brands-detail-btn:hover {
    background: #a00f28;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 18, 48, 0.4);
}

/* Responsive Design for Brand Tabs */
@media (max-width: 992px) {
    .ht-brands-tabs {
        gap: 12px;
        margin-bottom: 28px;
    }

    .ht-brand-tab {
        width: 95px;
        height: 95px;
    }

    .ht-brands-detail-card {
        padding: 36px 28px;
    }
}

@media (max-width: 768px) {
    .ht-brands-tabs {
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 15px;
        margin: 0 -15px 24px;
    }

    .ht-brands-tabs::-webkit-scrollbar {
        display: none;
    }

    .ht-brand-tab {
        width: 85px;
        height: 85px;
        border-radius: 12px;
    }

    .ht-brand-tab.active {
        transform: scale(1.06);
    }

    .ht-brands-detail-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .ht-brands-detail-title {
        font-size: 1.5rem;
    }

    .ht-brands-detail-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .ht-brands-detail-btn {
        font-size: 0.92rem;
        padding: 12px 26px;
    }
}

@media (max-width: 480px) {
    .ht-brand-tab {
        width: 75px;
        height: 75px;
    }

    .ht-brand-tab__placeholder span {
        font-size: 2rem;
    }
}

/* ========================================
   Product Categories Section - Infinite Carousel
   ======================================== */
.ht-categories-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f0f4f8 100%);
}

.ht-categories-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.ht-categories-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.02em;
}

.ht-categories-subtitle {
    font-size: 1rem;
    color: var(--color-gray-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Carousel Wrapper */
.ht-categories-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navigation Arrows */
.ht-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    color: var(--color-dark);
}

.ht-carousel-arrow:hover {
    background: var(--color-primary, #c41230);
    border-color: var(--color-primary, #c41230);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(196, 18, 48, 0.25);
}

.ht-carousel-arrow--prev {
    left: -24px;
}

.ht-carousel-arrow--next {
    right: -24px;
}

/* Carousel Viewport (overflow hidden) */
.ht-categories-carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

/* Track Container */
.ht-categories-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* Individual Category Item */
.ht-category-item {
    flex: 0 0 calc(25% - 15px); /* Default: 4 items per view */
    min-width: 250px;
}

/* Category Card */
.ht-category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ht-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

/* Card Image */
.ht-category-card__image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ht-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.ht-category-card:hover .ht-category-card__image img {
    transform: scale(1.08);
}

/* Image Placeholder */
.ht-category-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d579a 50%, #2563eb 100%);
}

.ht-category-card__placeholder span {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
}

/* Card Content */
.ht-category-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ht-category-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ht-category-card__desc {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Button */
.ht-category-card__btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Carousel Indicators */
.ht-carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.ht-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.ht-carousel-indicator:hover {
    background: #94a3b8;
    transform: scale(1.15);
}

.ht-carousel-indicator.active {
    background: var(--color-primary, #c41230);
    transform: scale(1.25);
    box-shadow: 0 2px 8px rgba(196, 18, 48, 0.3);
}

/* Responsive Design for Categories Carousel */
@media (max-width: 1199px) {
    .ht-category-item {
        flex: 0 0 calc(33.333% - 14px); /* 3 items */
    }
    
    .ht-carousel-arrow--prev { left: -18px; }
    .ht-carousel-arrow--next { right: -18px; }
}

@media (max-width: 991px) {
    .ht-category-item {
        flex: 0 0 calc(50% - 10px); /* 2 items */
        min-width: 220px;
    }

    .ht-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .ht-carousel-arrow--prev { left: -12px; }
    .ht-carousel-arrow--next { right: -12px; }

    .ht-category-card__image {
        height: 160px;
    }

    .ht-category-card__placeholder span {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .ht-categories-carousel-wrapper {
        gap: 10px;
        margin: 0 -15px;
        padding: 0 45px; /* Space for arrows */
    }

    .ht-category-item {
        flex: 0 0 calc(100% - 0px); /* 1 item on mobile */
        min-width: unset;
    }

    .ht-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
    }

    .ht-carousel-arrow--prev { left: 5px; }
    .ht-carousel-arrow--next { right: 5px; }

    .ht-categories-track {
        gap: 16px;
    }

    .ht-category-card__image {
        height: 200px;
    }

    .ht-category-card__content {
        padding: 16px;
    }

    .ht-category-card__title {
        font-size: 1.1rem;
    }

    .ht-category-card__desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .ht-carousel-indicators {
        margin-top: 20px;
        gap: 8px;
    }
}


/* ========================================
   Brand Product Archive Page (taxonomy-product-brand.php)
   Compact Grid Card Layout
   ======================================== */

/* --- Page Header: compact, no huge hero image --- */
.ht-bp-header {
    background: linear-gradient(135deg, var(--color-accent) 0%, #0f2744 100%);
    padding: var(--spacing-lg) 0;
    padding-top: calc(var(--spacing-lg) + 80px);
    border-bottom: 3px solid var(--color-primary);
}

.ht-bp-header__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.ht-bp-header__text {
    flex: 1;
}

.ht-bp-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.ht-bp-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ht-bp-desc {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    max-width: 540px;
    line-height: 1.5;
}

.ht-bp-breadcrumb {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    padding-bottom: 4px;
}

.ht-bp-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.ht-bp-breadcrumb a:hover { color: #fff; }
.ht-bp-breadcrumb span { color: rgba(255,255,255,0.45); }

@media (max-width: 768px) {
    .ht-bp-header__inner { flex-direction: column; align-items: flex-start; }
    .ht-bp-header { padding: var(--spacing-md) 0; }
}

/* --- Products Section --- */
.ht-bp-products {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
}

/* Grid: 4 columns → responsive */
.ht-bp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1200px) { .ht-bp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .ht-bp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px)  { .ht-bp-grid { grid-template-columns: 1fr; } }

/* --- Product Card --- */
.ht-bp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 10px rgba(18,39,63,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ht-bp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(18,39,63,0.1);
    border-color: transparent;
}

/* Card Image — compact aspect ratio */
.ht-bp-card__img-wrap {
    position: relative;
    padding-top: 62%; /* compact */
    background:
        radial-gradient(circle at top right, rgba(196,18,48,0.05), transparent 50%),
        linear-gradient(160deg, #f8fbff 0%, #edf3fa 100%);
    overflow: hidden;
}

.ht-bp-card__img-wrap a {
    position: absolute;
    inset: 0;
    display: block;
}

.ht-bp-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.4s ease;
}

.ht-bp-card:hover .ht-bp-card__img {
    transform: scale(1.04);
}

.ht-bp-card__img-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(255,116,49,0.15), transparent 35%),
        linear-gradient(160deg, #17304d 0%, #0c1929 100%);
}

.ht-bp-card__img-placeholder span {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(255,255,255,0.18);
}

/* Tags overlay on image */
.ht-bp-card__tags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.ht-bp-tag {
    background: var(--color-primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

/* Hover action icons */
.ht-bp-card__actions {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}

.ht-bp-card:hover .ht-bp-card__actions {
    opacity: 1;
    transform: translateY(0);
}

.ht-bp-action {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}
.ht-bp-action:hover { background: var(--color-primary); }

/* --- Card Body / Content --- */
.ht-bp-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.ht-bp-cat {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: #43536a;
    font-size: 0.72rem;
    font-weight: 700;
}

.ht-bp-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ht-bp-card__name a {
    color: #17304d;
    text-decoration: none;
    transition: color 0.2s;
}
.ht-bp-card__name a:hover { color: var(--color-primary); }

.ht-bp-card__sub {
    font-size: 0.8rem;
    color: #607289;
    margin: 0;
    font-weight: 500;
    line-height: 1.35;
}

.ht-bp-card__excerpt {
    font-size: 0.78rem;
    color: #617187;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.34em;
}

/* Footer buttons */
.ht-bp-card__footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f3f8;
}

.ht-bp-btn {
    flex: 1;
    text-align: center;
    padding: 7px 0;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.ht-bp-btn--outline {
    background: #f4f6f9;
    color: #334155;
}
.ht-bp-btn--outline:hover { background: #e2e8f0; }

.ht-bp-btn--primary {
    background: var(--color-primary);
    color: #fff;
}
.ht-bp-btn--primary:hover { background: var(--color-primary-dark); }

/* --- Pagination --- */
.ht-bp-pagination {
    margin-top: var(--spacing-2xl);
    display: flex;
    justify-content: center;
    gap: 6px;
}

.ht-bp-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #43536a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}
.ht-bp-pagination .page-numbers.current,
.ht-bp-pagination .page-numbers:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* --- Empty State --- */
.ht-bp-empty {
    text-align: center;
    padding: 60px 20px;
}

.ht-bp-empty__inner { max-width: 400px; margin: 0 auto; }

.ht-bp-empty-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}
.ht-bp-empty h3 { color: var(--color-dark); margin-bottom: 8px; }
.ht-bp-empty p { color: var(--color-gray-500); margin-bottom: var(--spacing-lg); font-size: 0.92rem; }

/* --- CTA Section --- */
.ht-bp-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.ht-bp-cta__inner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0 0 8px;
}

.ht-bp-cta__inner p {
    color: var(--color-gray-500);
    margin: 0 0 var(--spacing-md);
    font-size: 0.95rem;
}

.ht-bp-cta__btns {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ========================================
   Product Category Topic Page Styles
   ======================================== */

/* Hero Section */
.ht-category-hero {
    position: relative;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.ht-category-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.ht-category-hero__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ht-category-hero__image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ht-category-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-category-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-primary, #c41230);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.ht-category-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--color-dark, #1a202c);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.ht-category-description {
    font-size: 1.1rem;
    color: var(--color-gray-600, #4a5568);
    line-height: 1.75;
    max-width: 650px;
    margin-bottom: 32px;
}

/* Category Features */
.ht-category-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.ht-category-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.ht-category-feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-primary, #c41230);
}

.ht-feature-icon {
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary, #c41230), #ff6b6b);
    color: #fff;
    border-radius: 12px;
    flex-shrink: 0;
}

.ht-feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark, #1a202c);
    margin: 0 0 6px;
}

.ht-feature-content p {
    font-size: 0.88rem;
    color: var(--color-gray-500, #64748b);
    margin: 0;
    line-height: 1.55;
}

/* Sub-Categories Tabs */
.ht-subcategories-tabs {
    background: #fff;
    border-bottom: 2px solid #e8ecf1;
    position: sticky;
    top: 60px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ht-subcats-tabs-wrapper {
    display: flex;
    gap: 8px;
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ht-subcat-tab {
    padding: 10px 24px;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-gray-600, #4a5568);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ht-subcat-tab:hover {
    border-color: var(--color-primary, #c41230);
    color: var(--color-primary, #c41230);
    background: rgba(196, 18, 48, 0.04);
}

.ht-subcat-tab.active {
    background: var(--color-primary, #c41230);
    border-color: var(--color-primary, #c41230);
    color: #fff;
}

.ht-subcat-count {
    font-size: 0.78rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Products Section */
.ht-category-products {
    padding: 60px 0 80px;
}

.ht-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f3f8;
}

.ht-section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark, #1a202c);
    margin: 0;
}

.ht-product-count {
    font-size: 0.92rem;
    color: var(--color-gray-500, #64748b);
    margin: 0;
}

/* Products Grid */
.ht-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1200px) { .ht-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .ht-products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px) { .ht-products-grid { grid-template-columns: 1fr; } }

/* Product Card */
.ht-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(18, 39, 63, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.ht-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(18, 39, 63, 0.12);
    border-color: transparent;
}

.ht-product-card__img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f8fafc;
}

.ht-product-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ht-product-card:hover .ht-product-card__img-wrap img {
    transform: scale(1.06);
}

.ht-product-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    font-size: 2.5rem;
    font-weight: 900;
    color: #64748b;
}

.ht-product-brand-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary, #c41230);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.ht-product-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ht-product-subtitle {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 999px;
}

.ht-product-card__title {
    font-size: 1.05rem;
    font-weight: 750;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ht-product-card__title a {
    color: var(--color-dark, #1a202c);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ht-product-card__title a:hover {
    color: var(--color-primary, #c41230);
}

.ht-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-primary, #c41230);
    text-decoration: none;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f3f8;
    transition: all 0.25s ease;
}

.ht-product-card__link:hover {
    gap: 10px;
    color: #b91c1c;
}

/* Pagination */
.ht-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.ht-pagination a,
.ht-pagination span {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ht-pagination a {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: var(--color-gray-600, #4a5568);
}

.ht-pagination a:hover {
    border-color: var(--color-primary, #c41230);
    color: var(--color-primary, #c41230);
    background: rgba(196, 18, 48, 0.04);
}

.ht-pagination__info {
    color: var(--color-gray-500, #64748b);
    font-size: 0.88rem;
}

/* Empty State */
.ht-no-products {
    text-align: center;
    padding: 80px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.ht-no-products p {
    font-size: 1.1rem;
    color: var(--color-gray-500, #64748b);
    margin: 0 0 24px;
}

.ht-no-products .ht-btn-primary {
    display: inline-flex;
    padding: 14px 32px;
    background: var(--color-primary, #c41230);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.3);
}

.ht-no-products .ht-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 18, 48, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ht-category-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .ht-category-hero__image {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .ht-category-description {
        margin-left: auto;
        margin-right: auto;
    }

    .ht-category-features {
        grid-template-columns: 1fr;
    }

    .ht-section-header {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .ht-category-hero {
        padding: 48px 0 36px;
    }

    .ht-category-title {
        font-size: 1.75rem;
    }

    .ht-category-products {
        padding: 40px 0 60px;
    }

    .ht-subcategories-tabs {
        top: 50px;
    }
}

/* ========================================
   Menu Fix - Hide WordPress Native Submenu
   Keep only Mega Menu for Products
   ======================================== */

/* Hide WordPress native sub-menu for Products menu item */
.menu-item-has-children > .sub-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Show sub-menu only on hover for non-mega-menu items */
.menu-item-has-children:not(.ht-mega-menu):not([data-mega="product"]):hover > .sub-menu,
.menu-item-has-children:not(.ht-mega-menu):not([data-mega="product"]):focus-within > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
}

/* Ensure Mega Menu container is properly positioned */
.ht-mega-menu__container {
    z-index: 10000 !important;
}

/* Fix menu item positioning context */
.menu-item.ht-mega-menu,
.menu-item[data-mega="product"] {
    position: relative !important;
}

/* Mobile menu: show all submenus normally */
@media (max-width: 992px) {
    .mobile-menu .menu-item-has-children > .sub-menu,
    .off-canvas .menu-item-has-children > .sub-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: static !important;
        left: auto !important;
    }
}

/* ========================================
   Showcase Pages - Dynamic Grid Columns
   ======================================== */

/* Desktop columns */
.ht-cols-desktop-2 .ht-brands-grid,
.ht-cols-desktop-2 .ht-categories-grid { grid-template-columns: repeat(2, 1fr); }
.ht-cols-desktop-3 .ht-brands-grid,
.ht-cols-desktop-3 .ht-categories-grid { grid-template-columns: repeat(3, 1fr); }
.ht-cols-desktop-4 .ht-brands-grid,
.ht-cols-desktop-4 .ht-categories-grid { grid-template-columns: repeat(4, 1fr); }
.ht-cols-desktop-5 .ht-brands-grid,
.ht-cols-desktop-5 .ht-categories-grid { grid-template-columns: repeat(5, 1fr); }
.ht-cols-desktop-6 .ht-brands-grid,
.ht-cols-desktop-6 .ht-categories-grid { grid-template-columns: repeat(6, 1fr); }

/* Tablet columns */
@media (max-width: 992px) {
    .ht-cols-tablet-2 .ht-brands-grid,
    .ht-cols-tablet-2 .ht-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .ht-cols-tablet-3 .ht-brands-grid,
    .ht-cols-tablet-3 .ht-categories-grid { grid-template-columns: repeat(3, 1fr); }

    /* Default tablet fallback */
    .ht-brands-grid:not(.ht-cols-tablet-2):not(.ht-cols-tablet-3),
    .ht-categories-grid:not(.ht-cols-tablet-2):not(.ht-cols-tablet-3) {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile columns */
@media (max-width: 640px) {
    .ht-cols-mobile-1 .ht-brands-grid,
    .ht-cols-mobile-1 .ht-categories-grid { grid-template-columns: 1fr; }
    .ht-cols-mobile-2 .ht-brands-grid,
    .ht-cols-mobile-2 .ht-categories-grid { grid-template-columns: repeat(2, 1fr); }

    /* Default mobile fallback */
    .ht-brands-grid:not(.ht-cols-mobile-2),
    .ht-categories-grid:not(.ht-cols-mobile-2) {
        grid-template-columns: 1fr;
    }
}

/* Card style variations */
.ht-card-style-standard .ht-brand-card,
.ht-card-style-standard .ht-category-card {
    min-height: 240px;
}

.ht-card-style-compact .ht-brand-card,
.ht-card-style-compact .ht-category-card {
    min-height: 180px;
}

.ht-card-style-minimal .ht-brand-card,
.ht-card-style-minimal .ht-category-card {
    min-height: 140px;
    border-radius: 8px;
}

/* Hero background image support */
.ht-brands-hero[style*="background-image"],
.ht-categories-hero[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

/* Showcase page spacing fixes */
.ht-brands-showcase .ht-brands-grid-section,
.ht-categories-showcase .ht-categories-grid-section {
    padding: 60px 0 80px;
}

.ht-brands-showcase .ht-section-header,
.ht-categories-showcase .ht-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.ht-brands-showcase .ht-section-header p,
.ht-categories-showcase .ht-section-header p {
    color: var(--color-gray-500, #64748b);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 8px auto 0;
}

/* ========================================
   Showcase Page - Hero Section Fixes
   ======================================== */

/* Brands Hero */
.ht-brands-hero {
    padding: 60px 0 50px !important;
    position: relative;
    overflow: hidden;
}

.ht-brands-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ht-brands-hero .ht-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.7);
    background: rgba(196, 18, 48, 0.9);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.ht-brands-hero .ht-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.ht-brands-hero .ht-hero-intro {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* Categories Hero */
.ht-categories-hero {
    padding: 60px 0 50px !important;
    position: relative;
    overflow: hidden;
}

.ht-categories-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ht-categories-hero .ht-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary, #c41230);
    background: rgba(196, 18, 48, 0.08);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.ht-categories-hero .ht-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: var(--color-dark, #1a202c);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.ht-categories-hero .ht-hero-intro {
    font-size: 1.05rem;
    color: var(--color-gray-600, #4a5568);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

/* ========================================
   Our Brands - Infinite Carousel (NEW)
   Reusing carousel structure from categories
   ======================================== */

/* Brands Carousel Wrapper */
.ht-brands-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Brands Carousel Viewport */
.ht-brands-carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
}

/* Brands Track */
.ht-brands-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* Individual Brand Item */
.ht-brand-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
}

/* Brand Card */
.ht-brand-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ht-brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

/* Brand Card Image */
.ht-brand-card__image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ht-brand-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.ht-brand-card:hover .ht-brand-card__image img {
    transform: scale(1.08);
}

/* Brand Image Placeholder */
.ht-brand-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d579a 50%, #2563eb 100%);
}

.ht-brand-card__placeholder span {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
}

/* Brand Card Content */
.ht-brand-card__content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ht-brand-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ht-brand-card__desc {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Brand Card Button */
.ht-brand-card__btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive Design for Brands Carousel */
@media (max-width: 1199px) {
    .ht-brand-item {
        flex: 0 0 calc(33.333% - 14px);
    }

    .ht-brands-carousel-wrapper .ht-carousel-arrow--prev { left: -18px; }
    .ht-brands-carousel-wrapper .ht-carousel-arrow--next { right: -18px; }
}

@media (max-width: 991px) {
    .ht-brand-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 220px;
    }

    .ht-brands-carousel-wrapper .ht-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .ht-brands-carousel-wrapper .ht-carousel-arrow--prev { left: -12px; }
    .ht-brands-carousel-wrapper .ht-carousel-arrow--next { right: -12px; }

    .ht-brand-card__image {
        height: 160px;
    }

    .ht-brand-card__placeholder span {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .ht-brands-carousel-wrapper {
        gap: 10px;
        margin: 0 -15px;
        padding: 0 45px;
    }

    .ht-brand-item {
        flex: 0 0 calc(100% - 0px);
        min-width: unset;
    }

    .ht-brands-carousel-wrapper .ht-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 38px;
        height: 38px;
    }

    .ht-brands-carousel-wrapper .ht-carousel-arrow--prev { left: 5px; }
    .ht-brands-carousel-wrapper .ht-carousel-arrow--next { right: 5px; }

    .ht-brands-track {
        gap: 16px;
    }

    .ht-brand-card__image {
        height: 200px;
    }

    .ht-brand-card__content {
        padding: 16px;
    }

    .ht-brand-card__title {
        font-size: 1.1rem;
    }

    .ht-brand-card__desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
}

/* ========================================
   Product Categories - Tab Style (NEW)
   Reusing tab structure from brands
   ======================================== */

/* Categories Tabs Container */
.ht-categories-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

/* Category Tabs - Horizontal Layout */
.ht-categories-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    padding: 0 10px;
}

/* Individual Category Tab */
.ht-category-tab {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    border: 3px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ht-category-tab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Active/Selected State */
.ht-category-tab.active {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--color-primary, #c41230);
    box-shadow: 0 10px 28px rgba(196, 18, 48, 0.25),
                0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tab Image */
.ht-category-tab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.ht-category-tab:hover img,
.ht-category-tab.active img {
    transform: scale(1.08);
}

/* Placeholder for tabs without image */
.ht-category-tab__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d579a 50%, #1e40af 100%);
}

.ht-category-tab__placeholder span {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
}

/* Detail Card */
.ht-categories-detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ht-categories-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary, #c41230), #ff6b6b, var(--color-primary));
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
}

.ht-categories-detail-content {
    position: relative;
    z-index: 1;
}

/* Detail Title */
.ht-categories-detail-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-dark, #1a202c);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Detail Description */
.ht-categories-detail-desc {
    font-size: 1.05rem;
    color: var(--color-gray-600, #4a5568);
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 28px;
    min-height: 60px;
}

/* Detail Button */
.ht-categories-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--color-primary, #c41230);
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 16px rgba(196, 18, 48, 0.3);
    border: none;
    cursor: pointer;
}

.ht-categories-detail-btn:hover {
    background: #a00f28;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 18, 48, 0.4);
}

/* Responsive Design for Category Tabs */
@media (max-width: 992px) {
    .ht-categories-tabs {
        gap: 12px;
        margin-bottom: 28px;
    }

    .ht-category-tab {
        width: 95px;
        height: 95px;
    }

    .ht-categories-detail-card {
        padding: 36px 28px;
    }
}

@media (max-width: 768px) {
    .ht-categories-tabs {
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 15px;
        margin: 0 -15px 24px;
    }

    .ht-categories-tabs::-webkit-scrollbar {
        display: none;
    }

    .ht-category-tab {
        width: 85px;
        height: 85px;
        border-radius: 12px;
    }

    .ht-category-tab.active {
        transform: scale(1.06);
    }

    .ht-categories-detail-card {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .ht-categories-detail-title {
        font-size: 1.5rem;
    }

    .ht-categories-detail-desc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .ht-categories-detail-btn {
        font-size: 0.92rem;
        padding: 12px 26px;
    }
}

@media (max-width: 480px) {
    .ht-category-tab {
        width: 75px;
        height: 75px;
    }

    .ht-category-tab__placeholder span {
        font-size: 2rem;
    }
}

