/* GoForward Parts - Additional styles & enhancements */

/* Screen reader text */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* Entry content typography */
.entry-content {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content h2 { margin-top: 2em; }
.entry-content h3 { margin-top: 1.6em; }

.entry-content ul,
.entry-content ol {
    list-style: revert;
    padding-left: 26px;
    margin-bottom: 1.4em;
}

.entry-content li {
    margin-bottom: 0.5em;
    color: var(--text-secondary);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 1.5em 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-green);
    background: var(--bg-light);
    padding: 20px 24px;
    margin: 1.6em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.entry-content th,
.entry-content td {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.entry-content th {
    background: var(--bg-light);
    font-weight: 600;
}

.entry-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Widget styles */
.widget {
    margin-bottom: 24px;
}

.widget-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.widget ul li {
    margin-bottom: 10px;
}

.widget ul li a {
    color: #94a3b8;
}

.widget ul li a:hover {
    color: var(--primary-green);
}

/* Read more link */
.read-more {
    color: var(--primary-green);
}

.read-more:hover {
    color: var(--primary-green-dark);
}

/* Back to top */
.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

.back-to-top:hover {
    background: var(--primary-green-dark) !important;
    transform: translateY(-4px);
}

/* Comments */
.comments-area {
    max-width: 860px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.comment-list {
    margin: 24px 0;
}

.comment-list li {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.comment-list .children {
    margin-left: 30px;
    margin-top: 16px;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary-green);
    color: #fff;
    padding: 12px 20px;
    z-index: 9999;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

/* Header scroll effect */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

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

/* Alignment classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1.5em auto; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100%; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* Brand logos strip */
.brands-strip {
    padding: 50px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.brand-item {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.7;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.brand-item:hover {
    opacity: 1;
    color: var(--primary-green);
}

/* Stats bar */
.stats-bar {
    background: var(--primary-green-darker);
    padding: 50px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-item .stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Steps / process */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step-item {
    position: relative;
    padding: 30px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -18px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.step-item h3 {
    margin-top: 12px;
    font-size: 1.15rem;
}

.step-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .brands-grid { gap: 28px; }
    .brand-item { font-size: 1rem; }
    .stat-item .stat-number { font-size: 2.2rem; }
    .entry-content { font-size: 1rem; }
}

/* ===== v1.1 additions: social, whatsapp, outline button ===== */
.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}
.btn-outline:hover {
    background: var(--primary-green);
    color: #fff;
}
.site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-wa { font-weight: 600; }
.top-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none;
}
.top-social:hover { background: rgba(255,255,255,0.32); }

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.footer-social .social-link {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.footer-social .social-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

.wa-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37,211,102,0.45);
    z-index: 999;
    transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08); }

@media (max-width: 782px) {
    .site-header .header-actions .btn-outline { display: none; }
    .wa-float { width: 50px; height: 50px; bottom: 20px; left: 20px; font-size: 1.35rem; }
    .top-bar-wa { display: none; }
}

/* ===== v1.2: real-catalog front page + single product page ===== */

/* Hero search hint */
.hero-search-hint {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.85;
}

/* Brand logo grid (13 real logos) */
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
}

.brand-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    min-height: 130px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.brand-logo-card img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}

.brand-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.brand-logo-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.brands-disclaimer,
.product-specs-note {
    margin-top: 26px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.product-specs-note { text-align: left; margin-top: 16px; }

/* Shipping proof gallery */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.proof-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-light);
}

.proof-item img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.proof-item:hover img { transform: scale(1.04); }

/* Alternating section backgrounds */
.brands-section { background: var(--bg-light); }
.how-it-works-section { background: var(--bg-light); }
.shipping-proof-section { background: var(--bg-white); }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    font-size: 0.85rem;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover { color: var(--primary-green); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-muted); opacity: 0.6; }
.breadcrumbs .current { color: var(--text-primary); font-weight: 600; }

/* ===== Single product page ===== */
.forklift-single-product { padding-bottom: 70px; }

.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 44px;
    padding: 44px 0 20px;
    align-items: start;
}

.product-gallery {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 14px);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.product-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.product-gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 300px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.product-gallery-placeholder span { font-size: 3.4rem; opacity: 0.55; }
.product-gallery-placeholder p { margin: 0; font-size: 0.9rem; }

.product-eyebrow {
    display: inline-block;
    padding: 5px 13px;
    margin-bottom: 14px;
    background: rgba(0, 154, 82, 0.1);
    color: var(--primary-green);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.product-title {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.22;
    margin: 0 0 20px;
}

.product-partno,
.product-brands {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.product-brands { border-bottom: 1px solid var(--border-color); }

.product-partno .label,
.product-brands .label {
    min-width: 118px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.product-partno strong {
    font-size: 1.12rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text-primary);
}

.product-quote-box {
    margin-top: 26px;
    padding: 26px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-green);
    border-radius: var(--radius-md);
}

.product-quote-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.product-quote-box p {
    margin: 0 0 18px;
    font-size: 0.94rem;
    color: var(--text-secondary);
}

.product-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-quote-trust {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.product-quote-trust li {
    position: relative;
    padding-left: 24px;
    font-size: 0.87rem;
    color: var(--text-secondary);
}

.product-quote-trust li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: 800;
}

.product-specs { margin-top: 56px; }
.product-specs h2,
.product-related h2 {
    font-size: 1.45rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-specs-table th,
.product-specs-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.94rem;
    vertical-align: top;
}

.product-specs-table tr:last-child th,
.product-specs-table tr:last-child td { border-bottom: 0; }

.product-specs-table th {
    width: 230px;
    background: var(--bg-light);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.product-specs-table td { color: var(--text-primary); word-break: break-word; }

.product-related { margin-top: 56px; }

@media (max-width: 900px) {
    .product-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
    .product-specs-table th { width: 150px; font-size: 0.74rem; }
}

/* Touch devices have no hover: show logos in full colour immediately */
@media (hover: none) {
    .brand-logo-card img {
        filter: none;
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .brand-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .brand-logo-card {
        min-height: 96px;
        padding: 12px 8px;
        gap: 8px;
    }
    .brand-logo-card img { max-height: 34px; }
    .brand-logo-text { font-size: 0.9rem; }
    .brand-logo-name {
        font-size: 0.7rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .brands-disclaimer { font-size: 0.72rem; margin-top: 20px; }
    .proof-item img { height: 190px; }
    .product-quote-actions .btn { width: 100%; text-align: center; }
    .product-specs-table th,
    .product-specs-table td { display: block; width: auto; }
    .product-specs-table th { border-bottom: 0; padding-bottom: 4px; }
}

/* Very narrow phones: 2 across so logos stay legible */
@media (max-width: 360px) {
    .brand-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-logo-card { min-height: 104px; }
    .brand-logo-card img { max-height: 38px; }
}
