
.wc-product-embed {
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    width: 100%;
}

.wc-product-embed-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.wc-product-embed-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.wc-product-embed-image {
    flex-shrink: 0;
}

.wc-product-embed-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.wc-product-embed-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.wc-product-embed-info {
    flex: 1;
    min-width: 0;
}

.wc-product-embed-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}

.wc-product-embed-price {
    font-size: 1rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 0.5rem;
}

.wc-product-embed-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.wc-product-embed-action {
    flex-shrink: 0;
}

.wc-product-embed-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.wc-product-embed-button:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.wc-product-embed-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.wc-product-embed-icon {
    transition: transform 0.2s ease;
}

.wc-product-embed-button:hover .wc-product-embed-icon {
    transform: translateX(2px);
}

/* Responsive design */
@media (max-width: 640px) {
    .wc-product-embed-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .wc-product-embed-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .wc-product-embed-image img {
        width: 100px;
        height: 100px;
    }
    
    .wc-product-embed-info {
        text-align: center;
    }
}

/* Dark mode support 
@media (prefers-color-scheme: dark) {
    .wc-product-embed-card {
        background: #1e293b;
        border-color: #334155;
    }
    
    .wc-product-embed-title {
        color: #f8fafc;
    }
    
    .wc-product-embed-description {
        color: #94a3b8;
    }
}
*/
.wc-product-embed {
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    width: 100%;
}

.wc-product-embed-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.wc-product-embed-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.wc-product-embed-image {
    flex-shrink: 0;
}

.wc-product-embed-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.wc-product-embed-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.wc-product-embed-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.wc-product-embed-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    text-align: left;
}

.wc-product-embed-price {
    font-size: 1rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 0.5rem;
    text-align: left;
}

.wc-product-embed-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.wc-product-embed-action {
    flex-shrink: 0;
}

.wc-product-embed-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #3b82f6;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.wc-product-embed-button:hover {
    background: #2563eb;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.wc-product-embed-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.wc-product-embed-icon {
    transition: transform 0.2s ease;
}

.wc-product-embed-button:hover .wc-product-embed-icon {
    transform: translateX(2px);
}

/* ----------------- Responsive Breakpoints ----------------- */

/* Large screens (1024px – 1279px) */
@media (max-width: 1279px) {
    .wc-product-embed-card {
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .wc-product-embed-title {
        font-size: 1rem;
    }

    .wc-product-embed-price {
        font-size: 0.95rem;
    }

    .wc-product-embed-description {
        font-size: 0.85rem;
    }
}

/* Medium screens (768px – 1023px, e.g. tablets) */
@media (max-width: 1023px) {
    .wc-product-embed-card {
        flex-direction: row;
        align-items: flex-start;
    }

    .wc-product-embed-image img {
        width: 80px;
        height: 80px;
    }

    .wc-product-embed-info {
        text-align: left;
    }
}

/* Small tablets & large phones (640px – 767px) */
@media (max-width: 767px) {
    .wc-product-embed-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1rem;
    }

    .wc-product-embed-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .wc-product-embed-image img {
        width: 100px;
        height: 100px;
    }

    .wc-product-embed-title,
    .wc-product-embed-price,
    .wc-product-embed-description {
        text-align: left;
    }
}

/* Phones (<640px) */
@media (max-width: 639px) {
    .wc-product-embed-card {
        flex-direction: column;
        text-align: left;
        padding: 0.75rem;
    }

    .wc-product-embed-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .wc-product-embed-image img {
        width: 100px;
        height: 100px;
    }

    .wc-product-embed-button {
        width: 100%;
        justify-content: center;
    }
}

