/* --- Premium Product Page Styles --- */

/* Hero Gallery */
.gallery-main {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
}

.gallery-main img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--grokhet-green, #1B4D3E);
}

/* Quick Snapshot Cards */
.snapshot-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.snapshot-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(131, 205, 32, 0.3);
}

.snapshot-card i {
    font-size: 24px;
    color: var(--rr-theme-primary, #83CD20);
    margin-bottom: 10px;
    display: block;
}

.snapshot-card h6 {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.snapshot-card p {
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
}

/* Callout Box */
.simple-callout {
    background: rgba(131, 205, 32, 0.1);
    border-left: 4px solid var(--rr-theme-primary);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    display: inline-flex;
    align-items: flex-start;
}

.simple-callout i {
    color: var(--grokhet-green, #1B4D3E);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.simple-callout p {
    color: #333;
    font-weight: 500;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* Benefit Grid Cards */
.benefit-grid-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    height: 100%;
    transition: 0.3s;
}

.benefit-grid-card:hover {
    border-color: var(--rr-theme-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefit-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(131, 205, 32, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--grokhet-green);
    margin-bottom: 15px;
}

/* Process Flow Step */
.flow-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.flow-step::after {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -15px;
    top: 30px;
    font-size: 24px;
    color: #ccc;
    z-index: 0;
}

@media (max-width: 991px) {
    .flow-step::after {
        display: none;
    }
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid var(--rr-theme-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--grokhet-green);
    margin: 0 auto 15px;
}

/* Action Forms */
.action-form {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--rr-theme-primary);
}

.quick-btn {
    background: #f4f7f6;
    border: 1px solid #eaeaea;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
    margin-right: 10px;
}

.quick-btn:hover,
.quick-btn.active {
    background: var(--rr-theme-primary);
    color: #034833;
    border-color: var(--rr-theme-primary);
}

/* Specs Table */
.spec-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.spec-table th {
    background: #f4f7f6;
    font-weight: 700;
    color: #333;
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    width: 30%;
}

.spec-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eaeaea;
    color: #555;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}

/* Sticky Mobile CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eaeaea;
}

.mobile-sticky-cta .btn {
    flex: 1;
    padding: 12px 5px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media (max-width: 991px) {

    .mobile-sticky-cta {
        display: flex;
    }

    .desktop-floating-cta {
        display: none;
    }
}

.desktop-floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.desktop-floating-cta a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
}

.desktop-floating-cta a:hover {
    transform: translateY(-5px);
    color: #fff;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}


/* --- Homepage specific styles --- */

/* Hero Banner */
.home-hero {
    background: url('../imgs/banner-2/banner-bg.jpg') center/cover no-repeat;
    padding: 120px 0 100px;
    position: relative;
    z-index: 1;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

@media (max-width: 991px) {
    .home-hero {
        padding: 100px 0 60px;
    }

    .home-hero::before {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* Category Cards */
.cat-card {
    display: block;
    text-align: center;
    background: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    height: 100%;
    text-decoration: none !important;
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: var(--rr-theme-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.cat-icon {
    width: 70px;
    height: 70px;
    background: rgba(131, 205, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    transition: 0.3s;
}

.cat-card:hover .cat-icon {
    background: var(--rr-theme-primary);
    color: #fff;
}

.cat-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    transition: 0.3s;
}

.cat-card:hover h4 {
    color: var(--grokhet-green);
}

.cat-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

/* Product Grid Cards */
.feat-prod-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feat-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--rr-theme-primary);
}

.feat-img-box {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f9f9f9;
}

.feat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.feat-prod-card:hover .feat-img-box img {
    transform: scale(1.05);
}

.feat-cat {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--grokhet-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feat-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feat-content h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.feat-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feat-actions {
    display: flex;
    gap: 10px;
}

/* Solution Cards (Why Grokhet) */
.sol-card {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    transition: 0.3s;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}

.sol-card:hover {
    background: rgba(131, 205, 32, 0.03);
    border-color: rgba(131, 205, 32, 0.3);
}

.sol-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--rr-theme-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #034833;
}

.sol-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.sol-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}