/* Frontend Styles - Exact Match Design with Proper Shadows */
.stove-protection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.stove-protection__header {
    text-align: center;
    margin-bottom: 50px;
}

.stove-protection__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.stove-protection__subtitle {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 30px;
    font-weight: 400;
}

.stove-protection__divider {
    height: 3px;
    background: linear-gradient(90deg, #ffb800 0%, rgba(255, 184, 0, 0) 100%);
    margin: 0 auto;
    border-radius: 2px;
    width: 100%;
    max-width: 500px;
}

.stove-protection__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    margin: 0 auto;
}

.stove-protection-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
   box-shadow: 0 10px 20px rgba(255, 184, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #ffd700;
}

.stove-protection-card:hover {
    transform: translateY(-5px);
       box-shadow: 0 20px 30px rgba(255, 184, 0, 0.1);
}

/* First card - Image left, Content right */
.stove-protection-card:nth-child(1) .stove-protection-card__image-container {
    order: 1;
}

.stove-protection-card:nth-child(1) .stove-protection-card__content {
    order: 2;
}

/* Second card - Content left, Image right */
.stove-protection-card:nth-child(2) .stove-protection-card__content {
    order: 1;
}

.stove-protection-card:nth-child(2) .stove-protection-card__image-container {
    order: 2;
}

.stove-protection-card__image-container {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stove-protection-card__image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.stove-protection-card__image img {
    width: 100%;
    object-fit: cover;
}

.stove-protection-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
}

.placeholder-icon {
    font-size: 4rem;
    color: #bdc3c7;
}

.stove-protection-card__content {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
}

.stove-protection-card__badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stove-protection-card__header {
    margin-bottom: 25px;
    width: 100%;
}

.stove-protection-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.stove-protection-card__subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 0;
}

.stove-protection-card__features {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    width: 100%;
}

.stove-protection-card__feature {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #34495e;
    line-height: 1.5;
    text-align: left;
}

.stove-protection-card__feature-icon {
    background: #27ae60;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 6px rgba(39, 174, 96, 0.3);
}

.stove-protection-card__feature-text {
    flex: 1;
    font-weight: 500;
}

.stove-protection-card__button {
    width: 100%;
    padding: 16px 24px;
    background: #FFD700;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stove-protection-card__button:hover {
    background: #ffe44d;
    color: #2c3e50;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Editor Preview Styles */
.stove-protection-preview {
    max-width: 1000px;
    margin: 20px auto;
    padding: 40px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.stove-protection-preview__header {
    text-align: center;
    margin-bottom: 40px;
}

.stove-protection-preview__title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.stove-protection-preview__subtitle {
    font-size: 1rem;
    color: #7ba7c7;
    margin-bottom: 0;
}

.stove-protection-preview__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stove-protection-preview .stove-protection-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stove-protection-preview .stove-protection-card.selected {
    border-color: #f1c40f;
    box-shadow: 0 6px 25px rgba(241, 196, 15, 0.3);
    transform: translateY(-2px);
}

.stove-protection-preview .stove-protection-card:hover {
    border-color: #f1c40f;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stove-protection-preview .stove-protection-card__image-container {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stove-protection-preview .stove-protection-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.stove-protection-preview .stove-protection-card__badge {
    margin-bottom: 10px;
    font-size: 0.7rem;
    padding: 4px 8px;
}

.stove-protection-preview .stove-protection-card__title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.stove-protection-preview .stove-protection-card__subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.stove-protection-preview .stove-protection-card__features {
    margin-bottom: 20px;
    width: 100%;
}

.stove-protection-preview .stove-protection-card__feature {
    margin-bottom: 8px;
    font-size: 0.8rem;
    justify-content: flex-start;
    text-align: left;
}

.stove-protection-preview .stove-protection-card__feature-icon {
    width: 16px;
    height: 16px;
    font-size: 10px;
    margin-right: 10px;
}

.stove-protection-preview .stove-protection-card__button {
    padding: 12px 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.edit-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #34495e;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(52, 73, 94, 0.4);
}

.stove-protection-preview .stove-protection-card:hover .edit-indicator {
    opacity: 1;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .stove-protection-card,
    .stove-protection-preview .stove-protection-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .stove-protection-card__image-container,
    .stove-protection-preview .stove-protection-card__image-container {
        order: 1 !important;
        min-height: 250px;
    }
    
    .stove-protection-card__content,
    .stove-protection-preview .stove-protection-card__content {
        order: 2 !important;
        text-align: center;
        align-items: center;
    }
    
    .stove-protection-card__features,
    .stove-protection-preview .stove-protection-card__features {
        text-align: left;
    }
    
    .stove-protection__title {
        font-size: 2.2rem;
        margin-bottom: 0px;
    }
    .stove-protection__subtitle{
        margin-bottom: 10px;
    }
    .stove-protection__header{
        margin-bottom: 20px;
    }
    
    .stove-protection__grid {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .stove-protection {
        padding: 40px 15px;
    }
    
    .stove-protection__title {
        font-size: 2rem;
    }
    
    .stove-protection__subtitle {
        font-size: 1rem;
    }
    
    .stove-protection-card__content {
        padding: 30px 25px;
    }
    
    .stove-protection-card__title {
        font-size: 1.5rem;
    }
    
    .stove-protection-card__image-container {
        min-height: 200px;
    }
    
    .stove-protection__grid {
        gap: 25px;
    }
}

@media screen and (max-width: 480px) {
   .wp-block-my-theme-stoveshield-protection-sol .stove-protection {
        padding: 30px 20px;
    }
      .wp-block-my-theme-stoveshield-protection-sol .stove-protection .stove-protection-card__content {
        padding: 30px 25px !important;
    }
    .stove-protection__title {
        font-size: 1.8rem;
    }
    
    .stove-protection-card__content {
        padding: 25px 10px 0px 10px;
    }
    .stove-protection__header {
        margin-bottom: 20px;
    }
    .stove-protection__divider {
        width:70%;
    }
    .stove-protection__subtitle {
        margin-bottom: 16px;
    }
    .stove-protection-card__feature {
        font-size: 0.9rem;
    }
    
    .stove-protection-card__button {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .stove-protection__grid {
        gap: 20px;
    }
}