/**
 * Custom Elementor Widgets - Main Stylesheet
 * 
 * @package CustomElementorWidgets
 * @version 1.0.0
 */

/* ====================================
   HEADER WIDGET STYLES
   ==================================== */

.cew-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.cew-header.cew-sticky {
    position: sticky;
    top: 0;
}

.cew-header.cew-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cew-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 50px;
}

/* Logo Styles */
.cew-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cew-logo a:hover {
    opacity: 0.8;
}

.cew-logo-icon {
    width: 32px;
    height: 32px;
    background-color: #4169E1;
    border-radius: 6px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cew-logo a:hover .cew-logo-icon {
    transform: scale(1.05);
}

.cew-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 1;
}

.cew-logo-image img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* Navigation Styles */
.cew-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.cew-nav-wrapper {
    display: flex;
    align-items: center;
}

.cew-nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.cew-nav-menu li {
    margin: 0;
    position: relative;
}

.cew-nav-menu li a {
    color: #666666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

.cew-nav-menu li a:hover {
    color: #000000;
}

.cew-nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4169E1;
    transition: width 0.3s ease;
}

.cew-nav-menu li a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.cew-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 15px;
}

.cew-mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    display: block;
}

.cew-mobile-toggle:hover span {
    background-color: #4169E1;
}

.cew-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.cew-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.cew-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Actions */
.cew-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Styles */
.cew-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 250px;
}

.cew-search:focus-within {
    background-color: #ffffff;
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.cew-search-icon {
    display: flex;
    align-items: center;
    color: #999999;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.cew-search:focus-within .cew-search-icon {
    color: #4169E1;
}

.cew-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #666666;
    font-family: inherit;
}

.cew-search-input::placeholder {
    color: #999999;
    opacity: 1;
}

/* Cart Styles */
.cew-cart {
    position: relative;
}

.cew-cart a {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

.cew-cart a:hover {
    transform: scale(1.05);
}

.cew-cart-icon {
    display: flex;
    align-items: center;
    color: #000000;
    transition: color 0.3s ease;
}

.cew-cart a:hover .cew-cart-icon {
    color: #4169E1;
}

.cew-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    background-color: #4169E1;
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 6px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(65, 105, 225, 0.3);
    animation: cew-badge-pulse 2s infinite;
}

@keyframes cew-badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.cew-cart-badge.cew-pulse-once {
    animation: cew-badge-pulse 0.6s ease 1;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1024px) {
    .cew-header-container {
        padding: 15px 30px;
    }

    .cew-nav-menu {
        gap: 20px;
    }

    .cew-search {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .cew-header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .cew-mobile-toggle {
        display: flex;
    }

    .cew-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .cew-nav-wrapper {
        display: none;
        width: 100%;
        background-color: #f9f9f9;
        border-radius: 8px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .cew-nav-wrapper.active {
        display: block;
        animation: cew-slideDown 0.3s ease;
    }

    @keyframes cew-slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cew-nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .cew-nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .cew-nav-menu li:last-child {
        border-bottom: none;
    }

    .cew-nav-menu li a {
        display: block;
        padding: 12px 10px;
    }

    .cew-nav-menu li a::after {
        display: none;
    }

    .cew-search {
        min-width: auto;
        flex: 1;
        max-width: 200px;
    }

    .cew-search-input {
        font-size: 13px;
    }

    .cew-actions {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .cew-header-container {
        padding: 12px 15px;
    }

    .cew-logo-text {
        font-size: 18px;
    }

    .cew-logo-icon {
        width: 28px;
        height: 28px;
    }

    .cew-search {
        padding: 8px 12px;
        max-width: 150px;
    }

    .cew-search-icon svg {
        width: 16px;
        height: 16px;
    }

    .cew-cart-icon svg {
        width: 22px;
        height: 22px;
    }

    .cew-actions {
        gap: 10px;
    }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */

.cew-fadeIn {
    animation: cew-fadeIn 0.5s ease;
}

@keyframes cew-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cew-hidden {
    display: none !important;
}

/* ====================================
   HERO SECTION WIDGET STYLES
   ==================================== */

.cew-hero {
    width: 100%;
    background-color: #F8F9FA;
    padding: 100px 20px;
}

.cew-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Heading Styles */
.cew-hero-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.cew-hero-heading-line1,
.cew-hero-heading-line2 {
    display: block;
}

.cew-hero-heading-line1 {
    color: #000000;
}

.cew-hero-heading-line2 {
    color: #6C757D;
}

/* Description Styles */
.cew-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #6C757D;
    margin-bottom: 30px;
}

.cew-hero-description p {
    margin: 0 0 5px 0;
}

.cew-hero-description p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.cew-hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cew-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cew-hero-btn-primary {
    color: #FFFFFF;
    background-color: #2563EB;
    border: none;
}

.cew-hero-btn-primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cew-hero-btn-secondary {
    color: #374151;
    background-color: #FFFFFF;
    border: 1px solid #D1D5DB;
}

.cew-hero-btn-secondary:hover {
    color: #111827;
    background-color: #F9FAFB;
    border-color: #9CA3AF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Features */
.cew-hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cew-hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6C757D;
}

.cew-hero-feature-icon {
    display: flex;
    align-items: center;
    color: #10B981;
}

/* Responsive */
@media (max-width: 768px) {
    .cew-hero {
        padding: 60px 20px;
    }

    .cew-hero-heading {
        font-size: 36px;
    }

    .cew-hero-description {
        font-size: 16px;
    }

    .cew-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cew-hero-btn {
        width: 100%;
        justify-content: center;
    }

    .cew-hero-features {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cew-hero {
        padding: 40px 15px;
    }

    .cew-hero-heading {
        font-size: 28px;
    }

    .cew-hero-description {
        font-size: 14px;
    }

    .cew-hero-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ====================================
   CATEGORIES GRID WIDGET STYLES
   ==================================== */

.cew-categories-section {
    width: 100%;
    padding: 60px 20px;
}

.cew-categories-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cew-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Category Card */
.cew-category-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cew-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #D1D5DB;
}

/* Icon */
.cew-category-icon {
    width: 56px;
    height: 56px;
    background-color: #EFF6FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #2563EB;
    font-size: 24px;
    transition: all 0.3s ease;
}

.cew-category-card:hover .cew-category-icon {
    transform: scale(1.05);
    background-color: #DBEAFE;
}

.cew-category-icon i {
    font-size: 24px;
}

.cew-category-icon svg {
    width: 24px;
    height: 24px;
}

/* Title */
.cew-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Description */
.cew-category-description {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .cew-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .cew-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cew-categories-section {
        padding: 40px 20px;
    }

    .cew-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cew-category-card {
        padding: 25px 20px;
    }

    .cew-category-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .cew-category-icon i,
    .cew-category-icon svg {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .cew-category-title {
        font-size: 15px;
    }

    .cew-category-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cew-categories-grid {
        grid-template-columns: 1fr;
    }

    .cew-categories-section {
        padding: 30px 15px;
    }
}

/* ====================================
   PRINT STYLES
   ==================================== */

@media print {
    .cew-header {
        box-shadow: none;
        position: static;
    }

    .cew-search,
    .cew-cart,
    .cew-mobile-toggle {
        display: none !important;
    }
}







/* ================================================
   FEATURED PRODUCTS WIDGET STYLES
   Professional styling with interactive effects
   ================================================ */

/* Main Wrapper */
.cew-featured-products-wrapper {
    margin: 60px 0;
    padding: 0 20px;
}

/* ================================================
   HEADER SECTION
   ================================================ */
.cew-featured-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.cew-featured-products-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.cew-view-all-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 20px;
}

.cew-view-all-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.cew-view-all-link:hover {
    color: #0052a3;
}

.cew-view-all-link:hover::after {
    transform: translateX(5px);
}

/* ================================================
   PRODUCTS GRID
   ================================================ */
.cew-products-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cew-products-grid.cew-columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cew-products-grid.cew-columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cew-products-grid.cew-columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ================================================
   PRODUCT CARD
   ================================================ */
.cew-product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cew-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.cew-product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ================================================
   PRODUCT IMAGE SECTION
   ================================================ */
.cew-product-image-wrapper {
    position: relative;
    background: #f8f9fa;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    transition: background-color 0.3s ease;
}

.cew-product-card:hover .cew-product-image-wrapper {
    background: #f0f2f5;
}

.cew-product-image {
    width: 100%;
    max-width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cew-product-card:hover .cew-product-image {
    transform: scale(1.05);
}

.cew-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Badge */
.cew-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #0066ff;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
    z-index: 2;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 102, 255, 0.5);
    }
}

/* ================================================
   PRODUCT INFO SECTION
   ================================================ */
.cew-product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.cew-product-category {
    color: #666666;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cew-product-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.cew-product-card:hover .cew-product-name {
    color: #0066cc;
}

.cew-product-description {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 auto 0;
}

/* ================================================
   PRODUCT FOOTER (PRICE & RATING)
   ================================================ */
.cew-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.cew-product-price {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.cew-product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fffbf0;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cew-product-card:hover .cew-product-rating {
    background: #fff5d6;
    transform: scale(1.05);
}

.cew-rating-star {
    color: #ffa500;
    font-size: 16px;
    line-height: 1;
}

.cew-rating-value {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .cew-products-grid.cew-columns-4,
    .cew-products-grid.cew-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cew-featured-products-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cew-featured-products-wrapper {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .cew-featured-products-header {
        margin-bottom: 30px;
    }
    
    .cew-featured-products-title {
        font-size: 24px;
    }
    
    .cew-products-grid {
        gap: 20px;
    }
    
    .cew-products-grid.cew-columns-2,
    .cew-products-grid.cew-columns-3,
    .cew-products-grid.cew-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .cew-product-image-wrapper {
        min-height: 240px;
        padding: 30px 15px;
    }
    
    .cew-product-image {
        max-width: 200px;
        height: 200px;
    }
    
    .cew-product-info {
        padding: 20px;
    }
    
    .cew-product-name {
        font-size: 18px;
    }
    
    .cew-product-price {
        font-size: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cew-featured-products-title {
        font-size: 20px;
    }
    
    .cew-view-all-link {
        font-size: 14px;
    }
    
    .cew-product-image-wrapper {
        min-height: 200px;
        padding: 20px 15px;
    }
    
    .cew-product-image {
        max-width: 160px;
        height: 160px;
    }
}

/* ================================================
   LOADING ANIMATION (Optional Enhancement)
   ================================================ */
.cew-product-card {
    animation: fadeInUp 0.6s ease backwards;
}

.cew-product-card:nth-child(1) { animation-delay: 0.1s; }
.cew-product-card:nth-child(2) { animation-delay: 0.2s; }
.cew-product-card:nth-child(3) { animation-delay: 0.3s; }
.cew-product-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   DARK MODE SUPPORT (Optional)
   ================================================ */
@media (prefers-color-scheme: dark) {
    .cew-product-card {
        background: #1e1e1e;
        border-color: #333333;
    }
    
    .cew-product-card:hover {
        border-color: #444444;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }
    
    .cew-product-image-wrapper {
        background: #2a2a2a;
    }
    
    .cew-product-card:hover .cew-product-image-wrapper {
        background: #333333;
    }
    
    .cew-featured-products-title,
    .cew-product-name,
    .cew-product-price,
    .cew-rating-value {
        color: #ffffff;
    }
    
    .cew-product-category,
    .cew-product-description {
        color: #b0b0b0;
    }
    
    .cew-product-footer {
        border-top-color: #333333;
    }
    
    .cew-product-rating {
        background: #2a2a2a;
    }
    
    .cew-product-card:hover .cew-product-rating {
        background: #333333;
    }
}

/* ================================================
   ACCESSIBILITY IMPROVEMENTS
   ================================================ */
.cew-product-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.cew-view-all-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .cew-product-card,
    .cew-product-image,
    .cew-product-name,
    .cew-product-rating,
    .cew-view-all-link,
    .cew-view-all-link::after {
        transition: none;
        animation: none;
    }
    
    .cew-product-card:hover {
        transform: none;
    }
    
    .cew-product-card:hover .cew-product-image {
        transform: none;
    }
}


/* ================================================
   FEATURES WIDGET STYLES
   Icon boxes and numbered process steps
   ================================================ */

/* Main Wrapper */
.cew-features-wrapper {
    margin: 80px 0;
    padding: 0 20px;
}

/* ================================================
   SECTION HEADER
   ================================================ */
.cew-features-header {
    text-align: center;
    margin-bottom: 60px;
}

.cew-features-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.cew-features-subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   FEATURES GRID
   ================================================ */
.cew-features-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cew-features-grid.cew-columns-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.cew-features-grid.cew-columns-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cew-features-grid.cew-columns-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ================================================
   FEATURE BOX
   ================================================ */
.cew-feature-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cew-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cew-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.cew-feature-box:hover::before {
    transform: scaleX(1);
}

.cew-feature-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ================================================
   ICON STYLE (Icon Boxes Layout)
   ================================================ */
.cew-layout-icons .cew-feature-icon {
    width: 64px;
    height: 64px;
    background: #f0f5ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #0066ff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.cew-feature-box:hover .cew-feature-icon {
    background: #0066ff;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.cew-feature-icon img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.cew-feature-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* ================================================
   NUMBERED STYLE (Process Steps Layout)
   ================================================ */
.cew-layout-numbered .cew-feature-box {
    padding-top: 80px;
}

.cew-feature-number {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border: 2px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
}

.cew-feature-box:hover .cew-feature-number {
    border-color: #0066ff;
    color: #0066ff;
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
}

/* Connecting line between numbered steps */
.cew-layout-numbered .cew-features-grid {
    position: relative;
}

.cew-layout-numbered .cew-feature-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #e5e5e5 0%, transparent 100%);
    display: none; /* Show only on larger screens */
}

/* ================================================
   CONTENT
   ================================================ */
.cew-feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cew-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.cew-feature-box:hover .cew-feature-title {
    color: #0066ff;
}

.cew-feature-description {
    font-size: 14px;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Desktop - Show connecting lines for numbered layout */
@media (min-width: 1025px) {
    .cew-layout-numbered .cew-features-grid.cew-columns-3,
    .cew-layout-numbered .cew-features-grid.cew-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cew-layout-numbered .cew-feature-box:not(:last-child):not(:nth-child(3n))::after {
        display: block;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .cew-features-wrapper {
        margin: 60px 0;
    }
    
    .cew-features-header {
        margin-bottom: 40px;
    }
    
    .cew-features-title {
        font-size: 32px;
    }
    
    .cew-features-grid.cew-columns-4,
    .cew-features-grid.cew-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cew-features-grid.cew-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cew-features-wrapper {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .cew-features-header {
        margin-bottom: 30px;
    }
    
    .cew-features-title {
        font-size: 28px;
    }
    
    .cew-features-subtitle {
        font-size: 16px;
    }
    
    .cew-features-grid {
        gap: 20px;
    }
    
    .cew-features-grid.cew-columns-2,
    .cew-features-grid.cew-columns-3,
    .cew-features-grid.cew-columns-4 {
        grid-template-columns: 1fr;
    }
    
    .cew-feature-box {
        padding: 30px 24px;
    }
    
    .cew-layout-numbered .cew-feature-box {
        padding-top: 70px;
    }
    
    .cew-feature-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 24px;
    }
    
    .cew-layout-icons .cew-feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cew-features-title {
        font-size: 24px;
    }
    
    .cew-features-subtitle {
        font-size: 14px;
    }
    
    .cew-feature-box {
        padding: 24px 20px;
    }
    
    .cew-feature-title {
        font-size: 16px;
    }
    
    .cew-feature-description {
        font-size: 13px;
    }
}

/* ================================================
   ANIMATIONS
   ================================================ */

/* Fade in animation */
.cew-feature-box {
    animation: fadeInUp 0.6s ease backwards;
}

.cew-feature-box:nth-child(1) { animation-delay: 0.1s; }
.cew-feature-box:nth-child(2) { animation-delay: 0.2s; }
.cew-feature-box:nth-child(3) { animation-delay: 0.3s; }
.cew-feature-box:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   ALTERNATIVE LAYOUTS
   ================================================ */

/* Left-aligned content */
.cew-feature-content[style*="text-align: left"] {
    align-items: flex-start;
}

.cew-feature-content[style*="text-align: left"] ~ .cew-feature-box {
    align-items: flex-start;
}

/* Right-aligned content */
.cew-feature-content[style*="text-align: right"] {
    align-items: flex-end;
}

.cew-feature-content[style*="text-align: right"] ~ .cew-feature-box {
    align-items: flex-end;
}

/* ================================================
   DARK MODE SUPPORT
   ================================================ */
@media (prefers-color-scheme: dark) {
    .cew-feature-box {
        background: #1e1e1e;
        border-color: #333333;
    }
    
    .cew-feature-box:hover {
        border-color: #444444;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }
    
    .cew-features-title,
    .cew-feature-title {
        color: #ffffff;
    }
    
    .cew-features-subtitle,
    .cew-feature-description {
        color: #b0b0b0;
    }
    
    .cew-layout-icons .cew-feature-icon {
        background: #2a2a2a;
    }
    
    .cew-feature-number {
        background: #1e1e1e;
        border-color: #333333;
        color: #ffffff;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */
.cew-feature-link:focus {
    outline: 2px solid #0066ff;
    outline-offset: 4px;
    border-radius: 12px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .cew-feature-box,
    .cew-feature-icon,
    .cew-feature-number,
    .cew-feature-title,
    .cew-feature-box::before {
        transition: none;
        animation: none;
    }
    
    .cew-feature-box:hover {
        transform: none;
    }
    
    .cew-feature-box:hover .cew-feature-icon,
    .cew-feature-box:hover .cew-feature-number {
        transform: none;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */
@media print {
    .cew-feature-box {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}



/* ================================================
   CTA SECTION WIDGET STYLES
   ================================================ */

.cew-cta-section {
    background: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.cew-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Headline */
.cew-cta-headline {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Description */
.cew-cta-description {
    font-size: 18px;
    color: #666666;
    margin: 0 0 32px 0;
    line-height: 1.6;
}

/* Button */
.cew-cta-button-wrapper {
    margin-bottom: 24px;
}

.cew-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0066ff;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
}

.cew-cta-button:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.cew-button-icon {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

.cew-button-icon svg {
    width: 18px;
    height: 18px;
}

/* Trust Badges */
.cew-cta-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.cew-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 14px;
}

.cew-badge-icon {
    display: inline-flex;
    align-items: center;
    color: #666666;
    font-size: 16px;
}

.cew-badge-icon svg {
    width: 16px;
    height: 16px;
}

/* ================================================
   FOOTER WIDGET STYLES
   ================================================ */

.cew-footer {
    background: #f8f9fa;
}

/* Footer Columns */
.cew-footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 60px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cew-footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Column Titles */
.cew-footer-column-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-transform: none;
}

/* About Text */
.cew-footer-about {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Links List */
.cew-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cew-footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.cew-footer-link:hover {
    color: #0066ff;
}

/* Newsletter Form */
.cew-newsletter-form {
    width: 100%;
}

.cew-newsletter-wrapper {
    display: flex;
    gap: 8px;
    width: 100%;
}

.cew-newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.cew-newsletter-input:focus {
    outline: none;
    border-color: #0066ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.cew-newsletter-button {
    padding: 12px 24px;
    background: #0066ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cew-newsletter-button:hover {
    background: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

/* Copyright Bar */
.cew-footer-copyright {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 24px 20px;
    text-align: center;
}

.cew-footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: #999999;
}

/* ================================================
   RESPONSIVE DESIGN - CTA SECTION
   ================================================ */

@media (max-width: 768px) {
    .cew-cta-section {
        padding: 60px 20px;
    }
    
    .cew-cta-headline {
        font-size: 32px;
    }
    
    .cew-cta-description {
        font-size: 16px;
    }
    
    .cew-cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .cew-cta-badges {
        gap: 16px;
    }
    
    .cew-trust-badge {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cew-cta-section {
        padding: 40px 15px;
    }
    
    .cew-cta-headline {
        font-size: 28px;
    }
    
    .cew-cta-description {
        font-size: 15px;
    }
    
    .cew-cta-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* ================================================
   RESPONSIVE DESIGN - FOOTER
   ================================================ */

@media (max-width: 1024px) {
    .cew-footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .cew-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px 30px;
    }
    
    .cew-footer-column {
        gap: 16px;
    }
    
    .cew-newsletter-wrapper {
        flex-direction: column;
    }
    
    .cew-newsletter-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cew-footer-columns {
        padding: 30px 15px 20px;
    }
    
    .cew-footer-copyright {
        padding: 20px 15px;
    }
}

/* ================================================
   DARK MODE SUPPORT
   ================================================ */

@media (prefers-color-scheme: dark) {
    .cew-cta-section {
        background: #1e1e1e;
    }
    
    .cew-cta-headline {
        color: #ffffff;
    }
    
    .cew-cta-description,
    .cew-trust-badge,
    .cew-badge-icon {
        color: #b0b0b0;
    }
    
    .cew-footer {
        background: #1a1a1a;
    }
    
    .cew-footer-column-title {
        color: #ffffff;
    }
    
    .cew-footer-about,
    .cew-footer-link {
        color: #b0b0b0;
    }
    
    .cew-footer-link:hover {
        color: #0066ff;
    }
    
    .cew-newsletter-input {
        background: #2a2a2a;
        border-color: #3a3a3a;
        color: #ffffff;
    }
    
    .cew-footer-copyright {
        background: #1e1e1e;
        border-top-color: #2a2a2a;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */

.cew-cta-button:focus,
.cew-footer-link:focus,
.cew-newsletter-input:focus,
.cew-newsletter-button:focus {
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .cew-cta-button,
    .cew-footer-link,
    .cew-newsletter-button,
    .cew-newsletter-input {
        transition: none;
    }
    
    .cew-cta-button:hover {
        transform: none;
    }
    
    .cew-newsletter-button:hover {
        transform: none;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .cew-cta-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .cew-cta-button,
    .cew-newsletter-form {
        display: none;
    }
    
    .cew-footer {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cew-cta-section {
    animation: fadeInUp 0.6s ease;
}

/* ================================================
   SPECIAL STATES
   ================================================ */

/* Button Loading State */
.cew-cta-button.loading,
.cew-newsletter-button.loading {
    opacity: 0.6;
    pointer-events: none;
}

.cew-cta-button.loading::after,
.cew-newsletter-button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Success State */
.cew-newsletter-form.success .cew-newsletter-wrapper {
    border: 2px solid #10b981;
    border-radius: 6px;
    padding: 2px;
}

/* Form Error State */
.cew-newsletter-form.error .cew-newsletter-wrapper {
    border: 2px solid #ef4444;
    border-radius: 6px;
    padding: 2px;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.cew-cta-section.compact {
    padding: 40px 20px;
}

.cew-cta-section.expanded {
    padding: 120px 20px;
}

.cew-footer.minimal {
    background: transparent;
}

.cew-footer.dark {
    background: #1a1a1a;
}

.cew-footer.dark .cew-footer-column-title,
.cew-footer.dark .cew-footer-about,
.cew-footer.dark .cew-footer-link {
    color: #b0b0b0;
}

.cew-footer.dark .cew-footer-column-title {
    color: #ffffff;
}





.elementor-widget-cew_footer .cew-footer-columns {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}