/* TrustHeal Core Universal Styles */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --th-primary: #044b35;
    --th-primary-dark: #022a1e;
    --th-accent: #0f9d58;
    --th-red: #e53935;
    --th-red-dark: #c62828;
    --th-blue: #1e88e5;
    --th-green: #25d366;
    --th-light-bg: #f8faf9;
    --th-border: #e2e8f0;
    --th-text-dark: #1e293b;
    --th-text-muted: #64748b;
    --th-radius: 12px;
    --th-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --th-font: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.th-widget-root {
    font-family: var(--th-font);
    width: 100%;
    box-sizing: border-box;
}

/* 1. Header & Topbar */
.th-topbar {
    background: #02251a;
    color: #cbd5e1;
    font-size: 13px;
    padding: 7px 0;
}
.th-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.th-topbar-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.th-topbar-contact {
    display: flex;
    gap: 15px;
}
.th-topbar-contact a {
    color: #e2e8f0;
    text-decoration: none;
}
.th-main-header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.th-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.th-logo img {
    max-height: 48px;
    width: auto;
}
.th-nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.th-nav-menu a {
    text-decoration: none;
    color: var(--th-text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s;
}
.th-nav-menu a:hover, .th-nav-menu .th-active a {
    color: var(--th-primary);
}
.th-cart-trigger {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--th-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.th-cart-trigger:hover {
    background: var(--th-primary);
    color: #ffffff;
}

/* 2. Hero Banner */
.th-hero-section {
    background: linear-gradient(135deg, #012b1e 0%, #044b35 100%);
    color: #ffffff;
    padding: 60px 0;
    border-radius: var(--th-radius);
    overflow: hidden;
}
.th-hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}
.th-hero-content {
    flex: 1.2;
}
.th-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}
.th-hero-title {
    font-size: 38px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}
.th-hero-desc {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 24px;
    line-height: 1.6;
}
.th-hero-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.th-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
}
.th-hero-btn {
    display: inline-block;
    background: #ffffff;
    color: var(--th-primary);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.th-hero-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
.th-hero-image-wrap {
    flex: 0.9;
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.th-hero-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* 3. 4-Point Trust Grid */
.th-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}
.th-trust-item {
    background: #ffffff;
    border: 1px solid var(--th-border);
    padding: 20px;
    border-radius: var(--th-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--th-shadow);
}
.th-trust-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.th-trust-item h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    color: var(--th-text-dark);
}
.th-trust-item p {
    margin: 0;
    font-size: 13px;
    color: var(--th-text-muted);
}

/* 4. Category Cards */
.th-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
    width: 100%;
}
.th-cat-card {
    background: #ffffff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: var(--th-shadow);
    transition: 0.3s;
}
.th-cat-card:hover {
    transform: translateY(-4px);
    border-color: var(--th-primary);
}
.th-cat-card img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
}
.th-cat-info h3 {
    margin: 0 0 4px 0;
    font-size: 17px;
    color: var(--th-text-dark);
}
.th-cat-info p {
    margin: 0;
    font-size: 13px;
    color: var(--th-text-muted);
}

/* 5. Products Grid */
.th-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}
.th-section-header h2 {
    font-size: 26px;
    margin: 0 0 6px 0;
    color: var(--th-text-dark);
}
.th-section-header p {
    margin: 0;
    color: var(--th-text-muted);
    font-size: 14px;
}
.th-view-all-btn {
    background: var(--th-primary);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.th-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}
.th-product-card {
    background: #ffffff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--th-shadow);
    transition: 0.2s;
}
.th-product-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
}
.th-badge-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--th-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}
.th-prod-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}
.th-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.th-product-card:hover .th-prod-thumb img {
    transform: scale(1.04);
}
.th-prod-cat {
    font-size: 12px;
    color: var(--th-text-muted);
    margin-bottom: 4px;
}
.th-prod-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--th-text-dark);
    text-decoration: none;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.th-prod-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.th-current-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--th-text-dark);
}
.th-regular-price {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: line-through;
}
.th-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8px;
    margin-top: auto;
}
.th-btn-add-cart, .th-btn-order-now {
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    text-decoration: none;
}
.th-btn-add-cart {
    background: #f1f5f9;
    color: var(--th-text-dark);
    border: 1px solid #cbd5e1;
}
.th-btn-add-cart:hover {
    background: #e2e8f0;
}
.th-btn-order-now {
    background: var(--th-primary);
    color: #ffffff;
}
.th-btn-order-now:hover {
    background: var(--th-primary-dark);
}

/* 6. Single Product Template Widget */
.th-single-product-container {
    display: flex;
    gap: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: var(--th-radius);
    border: 1px solid var(--th-border);
    box-shadow: var(--th-shadow);
    width: 100%;
}
.th-single-gallery {
    flex: 1;
    position: relative;
}
.th-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.th-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.th-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
}
.th-gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}
.th-gallery-thumbs img.active {
    border-color: var(--th-primary);
}
.th-single-details {
    flex: 1.2;
}
.th-single-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--th-text-dark);
    margin: 0 0 15px 0;
    line-height: 1.3;
}
.th-single-price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.th-single-current-price {
    font-size: 32px;
    font-weight: 800;
    color: #e53935;
}
.th-single-old-price {
    font-size: 18px;
    color: #94a3b8;
    text-decoration: line-through;
}
.th-single-save-badge {
    border: 1px dashed var(--th-red);
    color: var(--th-red);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}
.th-single-actions-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}
.th-qty-stepper {
    display: flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}
.th-qty-stepper button {
    background: #f8fafc;
    border: none;
    padding: 10px 16px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 700;
}
.th-qty-stepper input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    font-weight: 700;
}
.th-single-order-btn {
    flex: 1;
    background: var(--th-red);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
}
.th-single-order-btn:hover {
    background: var(--th-red-dark);
}
.th-single-category {
    font-size: 15px;
    margin-bottom: 25px;
    color: var(--th-text-dark);
}
.th-single-category a {
    color: var(--th-primary);
    font-weight: 600;
    text-decoration: none;
}
.th-contact-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.th-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.2s;
}
.th-contact-btn-call {
    background: #3b82f6;
}
.th-contact-btn-whatsapp {
    background: #10b981;
}
.th-contact-btn-message {
    background: #0284c7;
}

/* 7. Slide-Over Cart Drawer Styles */
.th-cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.th-cart-drawer-overlay.active {
    display: block;
    opacity: 1;
}
.th-cart-drawer-container {
    position: absolute;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--th-font);
}
.th-cart-drawer-overlay.active .th-cart-drawer-container {
    right: 0;
}
.th-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--th-border);
    background: #f8fafc;
}
.th-cart-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--th-text-dark);
}
.th-cart-close {
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #64748b;
}
.th-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.th-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--th-border);
}
.th-cart-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
}
.th-cart-item-info {
    flex: 1;
}
.th-cart-item-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--th-text-dark);
}
.th-cart-item-price {
    font-size: 13px;
    color: #e53935;
    font-weight: 700;
}
.th-cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.th-cart-qty-ctrl button {
    background: #e2e8f0;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}
.th-fast-checkout-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: var(--th-radius);
}
.th-fast-checkout-box h4 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--th-text-dark);
}
.th-form-group {
    margin-bottom: 12px;
}
.th-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--th-text-dark);
}
.th-form-group input, .th-form-group select, .th-form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    box-sizing: border-box;
    font-family: inherit;
}
.th-checkout-totals {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 14px 0;
}
.th-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--th-text-muted);
}
.th-grand-total {
    border-top: 1px solid #e2e8f0;
    padding-top: 6px;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--th-primary);
}
.th-submit-order-btn {
    width: 100%;
    background: var(--th-primary);
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.th-submit-order-btn:hover {
    background: var(--th-primary-dark);
}

/* 8. 4-Step Process Section */
.th-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 30px 0;
}
.th-step-card {
    background: #ffffff;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--th-shadow);
}
.th-step-num {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--th-accent);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}
.th-step-card h3 {
    font-size: 16px;
    margin: 0 0 6px 0;
    color: var(--th-text-dark);
}
.th-step-card p {
    font-size: 13px;
    color: var(--th-text-muted);
    margin: 0;
}

/* 9. FAQ Accordion */
.th-faq-wrap {
    width: 100%;
    margin: 30px 0;
}
.th-faq-item {
    background: #ffffff;
    border: 1px solid var(--th-border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.th-faq-q {
    padding: 15px 18px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fbfcfc;
}
.th-faq-a {
    padding: 15px 18px;
    border-top: 1px solid var(--th-border);
    font-size: 14px;
    color: var(--th-text-muted);
    line-height: 1.6;
    display: none;
}
.th-faq-item.active .th-faq-a {
    display: block;
}

/* 10. Luxury Footer */
.th-footer-wrap {
    background: #012218;
    color: #e2e8f0;
    padding: 50px 0 25px 0;
    width: 100%;
}
.th-footer-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.th-foot-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.th-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 30px;
    margin-bottom: 40px;
}
.th-footer-col h4 {
    color: #ffffff;
    font-size: 17px;
    margin: 0 0 16px 0;
}
.th-footer-col p {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
}
.th-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.th-footer-col li {
    margin-bottom: 8px;
}
.th-footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}
.th-footer-col a:hover {
    color: #ffffff;
}
.th-footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 13px;
    color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .th-single-product-container {
        flex-direction: column;
    }
    .th-hero-grid {
        flex-direction: column;
    }
    .th-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .th-footer-grid {
        grid-template-columns: 1fr;
    }
    .th-topbar-inner {
        flex-direction: column;
        gap: 6px;
    }
    .th-card-actions {
        grid-template-columns: 1fr;
    }
}
