/* ==========================================================================
   Geo & AEO Ultra-Minimal Modern Design (Senior UI/UX Monochrome Edition)
   - Guaranteed 25px rounded corners
   - 100% Theme Font Inherited (font-family: inherit !important)
   - Sleek Black & White palette
   - Resilient inline SVG rendering (anti-collapse, immune to theme resets)
   - Toggle icon ONLY in header
   ========================================================================== */

.geoaeo-container-isolated {
    display: block !important;
    margin: 32px 0 38px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
    direction: rtl !important;
    text-align: right !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.geoaeo-container-isolated *,
.geoaeo-container-isolated *::before,
.geoaeo-container-isolated *::after {
    box-sizing: border-box !important;
    font-family: inherit !important;
}

/* Base Card Container */
.geoaeo-box {
    background: #ffffff !important;
    border: 1.5px solid #e4e4e7 !important;
    border-radius: 25px !important; /* Exactly 25px rounded corners */
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04), 0 2px 6px -1px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
    position: relative !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.geoaeo-box:hover {
    border-color: #18181b !important;
    box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.07) !important;
}

/* Header */
.geoaeo-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px 16px 24px !important;
    border-bottom: 1px solid #f4f4f5 !important;
    background: #fafafa !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: background-color 0.2s ease !important;
}

.geoaeo-header:hover {
    background: #f4f4f5 !important;
}

.geoaeo-header-main {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.geoaeo-header-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: #18181b !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    transition: transform 0.25s ease !important;
}

.geoaeo-box:hover .geoaeo-header-icon {
    transform: scale(1.05) !important;
}

.geoaeo-header-titles {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.geoaeo-badge {
    align-self: flex-start !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #18181b !important;
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    padding: 2px 10px !important;
    border-radius: 50px !important;
}

.geoaeo-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #09090b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Resilient Icon Button in Header (Chevron Action) - ZERO reliance on button tags */
.geoaeo-icon-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e4e4e7 !important;
    color: #18181b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: all 0.25s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.geoaeo-header:hover .geoaeo-icon-toggle {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
    transform: scale(1.06) !important;
}

/* Bulletproof SVG Rendering & Rotation */
.geoaeo-container-isolated svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.geoaeo-container-isolated .geoaeo-icon-toggle svg,
.geoaeo-container-isolated svg.geoaeo-chevron {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.5px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
}

.geoaeo-container-isolated .geoaeo-icon-toggle svg * {
    stroke: currentColor !important;
    stroke-width: 2.5px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.geoaeo-container-isolated .geoaeo-icon-toggle svg polyline,
.geoaeo-container-isolated .geoaeo-icon-toggle svg line,
.geoaeo-container-isolated .geoaeo-icon-toggle svg path {
    fill: none !important;
}

/* Chevron Rotation when open */
.geoaeo-box[data-collapsed="false"] .geoaeo-chevron {
    transform: rotate(180deg) !important;
}

/* Plus/Minus rotation when open */
.geoaeo-box[data-collapsed="false"] .icon-plus {
    transform: rotate(45deg) !important;
}

/* Content Area */
.geoaeo-content-wrapper {
    position: relative !important;
    padding: 20px 26px 20px 26px !important;
    background: #ffffff !important;
}

.geoaeo-summary {
    cursor: pointer !important;
}

.geoaeo-box[data-collapsed="true"] .geoaeo-summary {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

.geoaeo-box[data-collapsed="false"] .geoaeo-summary {
    display: block !important;
    overflow: visible !important;
}

.geoaeo-direct-answer {
    font-size: 14.5px !important;
    line-height: 1.85 !important;
    font-weight: 500 !important;
    color: #27272a !important;
    margin: 0 !important;
}

.geoaeo-expanded-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease !important;
    margin-top: 18px !important;
}

/* Gradient Fade Overlay when collapsed */
.geoaeo-box[data-collapsed="true"] .geoaeo-fade-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 48px !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 85%, #ffffff 100%) !important;
    cursor: pointer !important;
    border-bottom-left-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}

.geoaeo-box[data-collapsed="false"] .geoaeo-expanded-content {
    display: block !important;
    opacity: 1 !important;
}

.geoaeo-box[data-collapsed="false"] .geoaeo-fade-overlay {
    display: none !important;
}

/* Facts Box */
.geoaeo-facts {
    margin-top: 22px !important;
    padding: 16px 20px !important;
    background: #fafafa !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 18px !important;
}

.geoaeo-facts-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #09090b !important;
    margin-bottom: 8px !important;
}

.geoaeo-fact-icon {
    color: #18181b !important;
    flex-shrink: 0 !important;
}

.geoaeo-facts-list {
    margin: 0 !important;
    padding-right: 22px !important;
    font-size: 13.5px !important;
    color: #52525b !important;
    line-height: 1.8 !important;
}

.geoaeo-facts-list li {
    margin-bottom: 6px !important;
}

.geoaeo-facts-list li:last-child {
    margin-bottom: 0 !important;
}

/* FAQs */
.geoaeo-faqs {
    margin-top: 18px !important;
}

.geoaeo-faq-item {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    margin-bottom: 10px !important;
    transition: border-color 0.2s ease !important;
}

.geoaeo-faq-item:hover {
    border-color: #18181b !important;
}

.geoaeo-faq-q {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #09090b !important;
    margin-bottom: 6px !important;
    line-height: 1.5 !important;
}

.geoaeo-faq-a {
    font-size: 13px !important;
    color: #52525b !important;
    line-height: 1.65 !important;
}

/* Product Card - Ultra Minimalist Monochrome */
.geo-aeo-product-card {
    margin-top: 22px !important;
    padding: 20px 22px !important;
    background: #fafafa !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 20px !important;
}

.geo-aeo-product-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #18181b !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 11px !important;
    border-radius: 50px !important;
    margin-bottom: 14px !important;
}

.geoaeo-prod-icon {
    color: #ffffff !important;
}

.geo-aeo-product-body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

.geo-aeo-product-main {
    flex-grow: 1 !important;
}

.geo-aeo-product-title {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #09090b !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.4 !important;
}

.geo-aeo-product-reason {
    font-size: 12.5px !important;
    color: #52525b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.geo-aeo-product-thumb {
    width: 72px !important;
    height: 72px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #18181b !important;
    flex-shrink: 0 !important;
    display: block !important;
    border: 1px solid #e4e4e7 !important;
}

.geo-aeo-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.geo-aeo-product-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e4e4e7 !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.geo-aeo-product-price {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #09090b !important;
}

.geo-aeo-product-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #09090b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.geo-aeo-product-btn:hover {
    background: #27272a !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 640px) {
    .geoaeo-box {
        border-radius: 20px !important;
    }
    .geoaeo-header {
        padding: 16px 18px 12px 18px !important;
    }
    .geoaeo-content-wrapper {
        padding: 14px 18px 14px 18px !important;
    }
    .geo-aeo-product-body {
        flex-direction: column-reverse !important;
        align-items: flex-start !important;
    }
    .geo-aeo-product-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
    }
    .geo-aeo-product-btn {
        justify-content: center !important;
    }
}
