/*
Theme Name: Naanly 3D Official
Theme URI: https://naanly.com
Author: Naanly Team
Author URI: https://naanly.com
Description: Ultra-lightweight, high-contrast 3D Black & White WordPress theme engineered for Naanly Chrome Extensions, SaaS tools, and Digital Services.
Version: 1.5.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: naanly-3d
*/

:root {
    --bg-deep: #06070a;
    --bg-surface: #0f1219;
    --card-grad: linear-gradient(145deg, #151923 0%, #0b0d13 100%);
    --white-3d: linear-gradient(180deg, #ffffff 0%, #e5e7eb 100%);
    --white-shadow: #9ca3af;
    --cyan: #00d2ff;
    --cyan-dark: #0077b6;
    --cyan-glow: 0 10px 30px rgba(0, 210, 255, 0.35);
    --gold: #ffd700;
    --gold-dark: #b45309;
    --green-wa: #25d366;
    --green-dark: #15803d;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border-top: rgba(255, 255, 255, 0.22);
    --border-side: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 45%);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Promo Top Bar — Fixed exact height so sticky header never shifts on mobile */
.promo-banner {
    background: linear-gradient(90deg, #ffffff 0%, #00d2ff 50%, #ffffff 100%);
    color: #050608;
    overflow: hidden;
    white-space: nowrap;
    height: 34px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1100;
    font-weight: 900;
    font-size: 11.5px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.promo-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
}

.promo-banner:hover .promo-text {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* 3D Glassmorphic Header */
.site-header {
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 11, 16, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 34px;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: 0.8px;
    color: #ffffff;
    flex-shrink: 0;
}

.brand-badge-3d {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffff, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 #64748b, 0 8px 20px rgba(0, 210, 255, 0.35);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.brand-logo:hover .brand-badge-3d {
    transform: translateY(-2px);
}

.brand-text span {
    color: var(--cyan);
}

/* Navigation */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.menu-icon span {
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 4px;
    transition: 0.3s;
    display: block;
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Keep WordPress menu semantics while matching the built-in navigation layout. */
.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.main-nav a.nav-cta-3d {
    background: var(--white-3d);
    color: #050608;
    font-weight: 900;
    box-shadow: 0 4px 0 var(--white-shadow), 0 8px 18px rgba(255, 255, 255, 0.15);
}

.main-nav a.nav-cta-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 var(--white-shadow), 0 12px 24px rgba(0, 210, 255, 0.3);
}

/* 3D Tactile Buttons System — Perfectly Symmetric & Equal Height */
.btn-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 14px;
    font-weight: 900;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.2s ease;
    user-select: none;
    vertical-align: middle;
}

.btn-3d svg {
    flex-shrink: 0;
}

.btn-3d-primary {
    background: linear-gradient(180deg, #38bdf8 0%, #00b4d8 100%);
    color: #050608;
    box-shadow: 0 5px 0 var(--cyan-dark), 0 12px 24px rgba(0, 210, 255, 0.32);
}

.btn-3d-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 7px 0 var(--cyan-dark), 0 16px 30px rgba(0, 210, 255, 0.45);
}

.btn-3d-primary:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 var(--cyan-dark);
}

.btn-3d-white {
    background: var(--white-3d);
    color: #050608;
    box-shadow: 0 5px 0 var(--white-shadow), 0 12px 24px rgba(255, 255, 255, 0.14);
}

.btn-3d-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 var(--white-shadow), 0 16px 28px rgba(255, 255, 255, 0.24);
}

.btn-3d-white:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 var(--white-shadow);
}

.btn-3d-gold {
    background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
    color: #050608;
    box-shadow: 0 5px 0 var(--gold-dark), 0 12px 24px rgba(255, 215, 0, 0.3);
}

.btn-3d-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 var(--gold-dark), 0 16px 30px rgba(255, 215, 0, 0.45);
}

.btn-3d-gold:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 var(--gold-dark);
}

.btn-3d-dark {
    background: linear-gradient(180deg, #1f2430 0%, #11141c 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 5px 0 #050608, 0 10px 20px rgba(0, 0, 0, 0.6);
}

.btn-3d-dark:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
}

.btn-3d-dark:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #050608;
}

/* Hero Section */
.hero-section {
    padding: 56px 5% 40px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.hero-section h1 {
    font-size: clamp(1.9rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.8);
}

.hero-section h1 span {
    background: linear-gradient(90deg, #ffffff 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto 28px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.hero-actions .btn-3d {
    min-width: 215px;
}

/* Section Headers */
.section-wrap {
    padding: 40px 5%;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.01em;
}

.section-head h2 span {
    color: var(--cyan);
}

.section-head p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-top: 6px;
}

/* 3D Elevated Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.card-3d {
    background: var(--card-grad);
    border-radius: 24px;
    padding: 28px 20px;
    border-top: 1px solid var(--border-top);
    border-left: 1px solid var(--border-side);
    border-right: 1px solid var(--border-side);
    border-bottom: 4px solid #020305;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    height: 100%;
}

.card-3d:hover {
    transform: translateY(-7px);
    border-top-color: var(--cyan);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.2);
}

.card-3d.card-vip {
    border-top: 2px solid var(--gold);
    background: linear-gradient(145deg, #1b1914 0%, #0b0d13 100%);
}

.card-3d.card-vip:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85), 0 0 28px rgba(255, 215, 0, 0.25);
}

.vip-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #fde047, #eab308);
    color: #050608;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 0 var(--gold-dark);
    white-space: nowrap;
}

.icon-box-3d {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #d1d5db 100%);
    color: #050608;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 0 #6b7280, 0 14px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.card-3d:hover .icon-box-3d {
    transform: translateY(-4px) scale(1.04);
}

.icon-box-3d.icon-cyan {
    background: linear-gradient(145deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 6px 0 #0369a1, 0 14px 24px rgba(0, 210, 255, 0.28);
}

.icon-box-3d.icon-gold {
    background: linear-gradient(145deg, #fde047 0%, #ca8a04 100%);
    color: #050608;
    box-shadow: 0 6px 0 #854d0e, 0 14px 24px rgba(255, 215, 0, 0.28);
}

.card-3d h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-3d p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 16px;
    display: block;
}

.card-vip .card-price {
    color: var(--gold);
}

.card-3d > .btn-3d {
    width: 100%;
    margin-top: auto;
}

.ext-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.ext-actions .btn-3d {
    width: 100%;
    min-width: 0;
    padding: 11px 10px;
    font-size: 11px;
}

/* Reviews Carousel */
.reviews-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.slider-btn-3d {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white-3d);
    color: #050608;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 var(--white-shadow), 0 10px 20px rgba(0, 0, 0, 0.6);
    z-index: 10;
    transition: 0.2s;
}

.slider-btn-3d:hover {
    background: var(--cyan);
    box-shadow: 0 4px 0 var(--cyan-dark), 0 10px 22px rgba(0, 210, 255, 0.4);
}

#prevBtn { left: 0; }
#nextBtn { right: 0; }

.reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 18px;
    scroll-behavior: smooth;
    padding: 16px 6px;
    width: 100%;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card-3d {
    background: var(--card-grad);
    border-top: 1px solid var(--border-top);
    border-bottom: 4px solid #020305;
    padding: 20px;
    border-radius: 22px;
    min-width: 300px;
    max-width: 300px;
    text-align: left;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    scroll-snap-align: center;
    flex-shrink: 0;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s ease;
}

.review-card-3d:hover {
    transform: translateY(-5px);
    border-top-color: var(--cyan);
}

.rev-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    background: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.rev-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stars-row {
    display: flex;
    gap: 3px;
    color: var(--gold);
    margin-bottom: 8px;
}

.rev-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Support Box */
.support-box-3d {
    background: var(--card-grad);
    border-top: 1px solid var(--border-top);
    border-bottom: 5px solid #020305;
    border-radius: 28px;
    padding: 40px 22px;
    text-align: center;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7);
}

.support-links-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.support-links-row .btn-3d {
    min-width: 220px;
}

/* Single Page / Post Container */
.page-shell {
    max-width: 960px;
    margin: 36px auto 60px;
    padding: 32px 5%;
    background: var(--card-grad);
    border-top: 1px solid var(--border-top);
    border-bottom: 5px solid #020305;
    border-radius: 26px;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.7);
}

.page-shell h1 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
}

.page-shell h2, .page-shell h3 {
    color: var(--cyan);
    margin: 22px 0 10px;
}

.page-shell p, .page-shell li {
    color: #d1d5db;
    margin-bottom: 14px;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 5% 28px;
    text-align: center;
    background: #040507;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    color: #6b7280;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Floating 3D WhatsApp Button */
.wa-float-3d {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
    color: #050608;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    box-shadow: 0 5px 0 var(--green-dark), 0 14px 28px rgba(34, 197, 94, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wa-float-3d:hover {
    transform: translateY(-3px);
}

.wa-float-3d:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--green-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-icon { display: flex; }
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(9, 11, 16, 0.98);
        flex-direction: column;
        gap: 10px;
        padding: 18px 5%;
        border-bottom: 2px solid var(--cyan);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    }
    .main-nav > ul {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .main-nav > ul > li { width: 100%; }
    .main-nav a {
        width: 100%;
        min-height: 44px;
        text-align: center;
    }
    #menu-toggle:checked ~ .main-nav { display: flex; }
    .grid-4, .grid-3 { grid-template-columns: 1fr; }
    .hero-section { padding: 42px 5% 32px; }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn-3d,
    .support-links-row .btn-3d {
        width: 100%;
        max-width: 340px;
    }
    .support-links-row {
        flex-direction: column;
        align-items: center;
    }
    .review-card-3d { min-width: 260px; max-width: 260px; }
}

@media (max-width: 380px) {
    .ext-actions {
        grid-template-columns: 1fr;
    }
}


/* Custom Brand Logo inside 3D Badge */
.brand-badge-3d {
    overflow: hidden;
    padding: 0;
}

.brand-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.naanly-blue-tick {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Footer 3D Social Media & Verified Contact Pills */
.footer-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.social-pill-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #1b202c 0%, #0e1118 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 3px solid #020305;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-pill-3d:hover {
    transform: translateY(-2px);
    border-top-color: var(--cyan);
}

.social-pill-wa:hover {
    border-top-color: #25d366;
}

.footer-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    font-size: 12.5px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.footer-contact-chip:hover {
    border-color: var(--cyan);
    color: #ffffff;
}

.wa-float-tick {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
    .footer-social-row {
        flex-direction: column;
    }
    .social-pill-3d {
        width: 100%;
        max-width: 280px;
    }
}


/* v1.5.2: shared payment / voucher wrapper styles for plugin content rendered by theme templates. */
.naanly-site-checkout{width:calc(100% - 28px);max-width:980px;margin:28px auto;padding:clamp(16px,3vw,28px);border:1px solid var(--border-side);border-radius:18px;background:var(--bg-surface);color:var(--text-main);box-shadow:0 14px 36px rgba(0,0,0,.24)}
.naanly-site-checkout iframe,.naanly-site-checkout-frame{display:block;width:100%;min-height:540px;border:1px solid var(--border-side);border-radius:12px;background:#fff}
.naanly-site-voucher{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.naanly-site-voucher input{flex:1 1 220px;min-width:0;padding:12px 14px;border:1px solid var(--border-side);border-radius:10px;background:var(--bg-deep);color:var(--text-main)}
@media(max-width:600px){.naanly-site-checkout{width:calc(100% - 20px);margin:16px auto;padding:14px}.naanly-site-checkout iframe,.naanly-site-checkout-frame{min-height:500px;height:72vh}.naanly-site-voucher{align-items:stretch;flex-direction:column}}


/* v1.5.5: extension image-logo presentation only. No global button/icon injection. */
/* Homepage extension cards: display the uploaded extension logo without cropping. */
#extensions-sec .naanly-ext-grid .naanly-ext-card .naanly-ext-icon-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#extensions-sec .naanly-ext-grid .naanly-ext-card .naanly-ext-icon-3d > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Extension-specific logos only (when plugin pages use the theme stylesheet). */
.n3d-standalone-body .n3d-ext-brand-badge > img,
.n3d-standalone-body .n3d-hero .naanly-ext-icon-3d > img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.n3d-standalone-body .n3d-app-downloads > img {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
    padding: 2px;
}
.n3d-standalone-body .n3d-method-box img {
    display: block;
    width: auto;
    max-width: 86px;
    height: 28px;
    object-fit: contain;
}
